OasisMobile.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. body {
  2. background-color: #121212;
  3. color: #FFD700;
  4. }
  5. header, footer {
  6. background-color: #1F1F1F;
  7. }
  8. .sidebar-left, .sidebar-right {
  9. background-color: #1A1A1A;
  10. border: 1px solid #333;
  11. }
  12. .main-column {
  13. background-color: #1C1C1C;
  14. }
  15. button, input[type="submit"], input[type="button"] {
  16. background-color: #444;
  17. color: #FFD700;
  18. border: 1px solid #444;
  19. }
  20. button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  21. background-color: #333;
  22. border-color: #666;
  23. }
  24. input, textarea, select {
  25. background-color: #333;
  26. color: #FFD700;
  27. border: 1px solid #555;
  28. }
  29. a {
  30. color: #FFD700;
  31. }
  32. a:hover {
  33. color: #FFDD44;
  34. }
  35. table {
  36. background-color: #222;
  37. color: #FFD700;
  38. }
  39. table th {
  40. background-color: #333;
  41. }
  42. table tr:nth-child(even) {
  43. background-color: #2A2A2A;
  44. }
  45. nav ul li a:hover {
  46. color: #FFDD44;
  47. text-decoration: underline;
  48. }
  49. .profile {
  50. background-color: #222;
  51. padding: 15px;
  52. border-radius: 8px;
  53. }
  54. .profile .name {
  55. color: #FFD700;
  56. }
  57. .avatar {
  58. border: 3px solid #FFD700;
  59. }
  60. article, section {
  61. background-color: #1C1C1C;
  62. color: #FFD700;
  63. }
  64. .article img {
  65. border: 3px solid #FFD700;
  66. }
  67. .post-preview img {
  68. border: 3px solid #FFD700;
  69. }
  70. .post-preview .image-container {
  71. max-width: 100%;
  72. overflow: hidden;
  73. display: block;
  74. margin: 0 auto;
  75. }
  76. div {
  77. background-color: #1A1A1A;
  78. border: 1px solid #333;
  79. }
  80. div .header-content {
  81. width: 100%;
  82. }
  83. ::-webkit-scrollbar {
  84. width: 10px;
  85. }
  86. ::-webkit-scrollbar-thumb {
  87. background-color: #444;
  88. border-radius: 10px;
  89. }
  90. ::-webkit-scrollbar-track {
  91. background-color: #222;
  92. }
  93. .action-container {
  94. background-color: #1A1A1A;
  95. border: 1px solid #333;
  96. padding: 10px;
  97. border-radius: 8px;
  98. color: #FFD700;
  99. }
  100. footer {
  101. background-color: #1F1F1F;
  102. padding: 10px 0;
  103. }
  104. footer a {
  105. background-color: #444;
  106. color: #FFD700;
  107. text-align: center;
  108. padding: 8px 16px;
  109. border-radius: 5px;
  110. text-decoration: none;
  111. }
  112. footer a:hover {
  113. background-color: #333;
  114. color: #FFDD44;
  115. }
  116. .card {
  117. border-radius: 16px;
  118. padding: 0px 24px 10px 24px;
  119. margin-bottom: 16px;
  120. color: #FFD600;
  121. font-family: inherit;
  122. box-shadow: 0 2px 20px 0 #FFD60024;
  123. }
  124. .card-section {
  125. border:none;
  126. padding: 10px 0 0 16px;
  127. }
  128. .card-header {
  129. display: flex;
  130. justify-content: space-between;
  131. align-items: center;
  132. padding-bottom: 0px;
  133. margin-top: 8px;
  134. padding-top: 0px;
  135. border: none;
  136. }
  137. .card-label {
  138. color: #ffa300;
  139. font-weight: bold;
  140. letter-spacing: 1.5px;
  141. line-height: 1.2;
  142. margin-bottom: 0;
  143. }
  144. .card-footer {
  145. margin-top: 6px;
  146. font-weight: 500;
  147. color: #ff9900;
  148. font-size: 1.07em;
  149. display: flex;
  150. align-items: center;
  151. gap: 8px;
  152. background: none;
  153. border: none;
  154. padding-top: 0;
  155. margin-bottom: 6;
  156. }
  157. .card-body {
  158. margin-top: 0;
  159. margin-bottom: 4;
  160. padding: 0;
  161. }
  162. .card-field {
  163. display: flex;
  164. align-items: baseline;
  165. padding: 0;
  166. margin-bottom: 0;
  167. border: none;
  168. background: none;
  169. }
  170. .card-tags {
  171. margin: 5px 0 3px 0;
  172. display: flex;
  173. flex-wrap: wrap;
  174. gap: 9px;
  175. }
  176. .card-tags a.tag-link {
  177. text-decoration: none;
  178. color: #181818;
  179. background: #FFD600;
  180. padding: 5px 13px 4px 13px;
  181. border-radius: 7px;
  182. font-size: .98em;
  183. border: none;
  184. font-weight: bold;
  185. }
  186. .card-tags a.tag-link:hover {
  187. background: #ffe86a;
  188. color: #111;
  189. cursor: pointer;
  190. }
  191. a.user-link {
  192. background-color: #FFA500;
  193. color: #000;
  194. padding: 8px 16px;
  195. border-radius: 5px;
  196. text-align: center;
  197. font-weight: bold;
  198. text-decoration: none;
  199. display: inline-block;
  200. border: 2px solid transparent;
  201. transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  202. font-size: 0.8em;
  203. }
  204. a.user-link:hover {
  205. background-color: #FFD700;
  206. border-color: #FFD700;
  207. color: #000;
  208. cursor: pointer;
  209. }
  210. a.user-link:focus {
  211. background-color: #007B9F;
  212. border-color: #007B9F;
  213. color: #fff;
  214. }
  215. .date-link {
  216. background-color: #444;
  217. color: #FFD600;
  218. padding: 8px 16px;
  219. border-radius: 5px;
  220. margin-left: 8px;
  221. }
  222. .date-link:hover {
  223. background-color: #555;
  224. color: #FFD700;
  225. }
  226. .activitySpreadInhabitant2 {
  227. background-color: #007B9F;
  228. color: #fff;
  229. padding: 8px 16px;
  230. border-radius: 5px;
  231. font-weight: bold;
  232. text-decoration: none;
  233. display: inline-block;
  234. border: 2px solid transparent;
  235. }
  236. .activityVotePost {
  237. background-color: #557d3b;
  238. color: #fff;
  239. padding: 8px 16px;
  240. border-radius: 5px;
  241. font-weight: bold;
  242. text-decoration: none;
  243. display: inline-block;
  244. border: 2px solid transparent;
  245. }
  246. html {
  247. -webkit-text-size-adjust: 100%;
  248. box-sizing: border-box;
  249. overflow-x: hidden !important;
  250. }
  251. *, *::before, *::after {
  252. box-sizing: inherit;
  253. }
  254. body {
  255. font-size: 15px;
  256. overflow-x: hidden;
  257. max-width: 100vw;
  258. }
  259. img,
  260. video,
  261. canvas,
  262. iframe,
  263. table {
  264. max-width: 100% !important;
  265. }
  266. pre,
  267. code {
  268. white-space: pre-wrap !important;
  269. word-break: break-word !important;
  270. overflow-wrap: anywhere !important;
  271. }
  272. .header {
  273. display: flex !important;
  274. flex-direction: column !important;
  275. width: 100% !important;
  276. max-width: 100% !important;
  277. padding: 4px !important;
  278. gap: 4px !important;
  279. overflow: visible !important;
  280. }
  281. .header-content {
  282. display: flex !important;
  283. flex-wrap: wrap !important;
  284. width: 100% !important;
  285. max-width: 100% !important;
  286. padding: 2px !important;
  287. gap: 4px !important;
  288. overflow: visible !important;
  289. }
  290. .top-bar-left,
  291. .top-bar-mid,
  292. .top-bar-right {
  293. display: flex !important;
  294. flex-direction: column !important;
  295. width: 100% !important;
  296. max-width: 100% !important;
  297. align-items: stretch !important;
  298. gap: 6px !important;
  299. }
  300. .top-bar-left nav ul,
  301. .top-bar-mid nav ul,
  302. .top-bar-right nav ul {
  303. display: flex !important;
  304. flex-wrap: wrap !important;
  305. gap: 6px !important;
  306. padding: 0 !important;
  307. margin: 0 !important;
  308. overflow: visible !important;
  309. }
  310. .top-bar-left nav ul li,
  311. .top-bar-mid nav ul li,
  312. .top-bar-right nav ul li {
  313. margin: 0 !important;
  314. }
  315. .top-bar-left nav ul li a,
  316. .top-bar-mid nav ul li a,
  317. .top-bar-right nav ul li a {
  318. display: inline-flex !important;
  319. align-items: center !important;
  320. justify-content: center !important;
  321. padding: 6px 8px !important;
  322. font-size: 0.9rem !important;
  323. white-space: nowrap !important;
  324. }
  325. .search-input,
  326. .feed-search-input,
  327. .activity-search-input {
  328. width: 100% !important;
  329. max-width: 100% !important;
  330. min-width: 0 !important;
  331. height: 40px !important;
  332. font-size: 16px !important;
  333. }
  334. .main-content {
  335. display: flex !important;
  336. flex-direction: column !important;
  337. width: 100% !important;
  338. max-width: 100% !important;
  339. gap: 12px !important;
  340. }
  341. .sidebar-left,
  342. .sidebar-right,
  343. .main-column {
  344. width: 100% !important;
  345. max-width: 100% !important;
  346. min-width: 0 !important;
  347. padding: 10px !important;
  348. border-left: none !important;
  349. border-right: none !important;
  350. }
  351. .sidebar-left {
  352. order: 1 !important;
  353. }
  354. .main-column {
  355. order: 3 !important;
  356. }
  357. .sidebar-right {
  358. order: 2 !important;
  359. }
  360. .sidebar-left nav ul,
  361. .sidebar-right nav ul {
  362. display: flex !important;
  363. flex-direction: column !important;
  364. }
  365. .oasis-nav-header {
  366. font-size: 0.85rem !important;
  367. }
  368. .oasis-nav-list li a {
  369. font-size: 0.9rem !important;
  370. padding: 8px 12px !important;
  371. }
  372. button,
  373. input[type="submit"],
  374. input[type="button"],
  375. .filter-btn,
  376. .create-button,
  377. .edit-btn,
  378. .delete-btn,
  379. .join-btn,
  380. .leave-btn,
  381. .buy-btn {
  382. min-height: 44px !important;
  383. font-size: 16px !important;
  384. white-space: normal !important;
  385. text-align: center !important;
  386. }
  387. .feed-row,
  388. .comment-body-row,
  389. table {
  390. display: block !important;
  391. width: 100% !important;
  392. overflow-x: auto !important;
  393. }
  394. textarea,
  395. input,
  396. select {
  397. width: 100% !important;
  398. max-width: 100% !important;
  399. font-size: 16px !important;
  400. }
  401. .gallery {
  402. display: grid !important;
  403. grid-template-columns: 1fr 1fr !important;
  404. gap: 8px !important;
  405. }
  406. footer,
  407. .footer {
  408. display: block !important;
  409. width: 100% !important;
  410. max-width: 100% !important;
  411. padding: 12px !important;
  412. overflow-x: auto !important;
  413. }
  414. footer div {
  415. display: flex !important;
  416. flex-direction: column !important;
  417. gap: 8px !important;
  418. }
  419. h1 { font-size: 1.35em !important; }
  420. h2 { font-size: 1.2em !important; }
  421. h3 { font-size: 1em !important; }
  422. .small,
  423. .time {
  424. font-size: 0.8rem !important;
  425. }
  426. .created-at {
  427. display: block !important;
  428. width: 100% !important;
  429. white-space: normal !important;
  430. word-break: break-word !important;
  431. overflow-wrap: anywhere !important;
  432. line-height: 1.5 !important;
  433. font-size: 0.8rem !important;
  434. }
  435. .header-content .created-at {
  436. display: block !important;
  437. flex: 1 1 100% !important;
  438. min-width: 0 !important;
  439. max-width: 100% !important;
  440. }
  441. .post-meta,
  442. .feed-post-meta,
  443. .feed-row .small,
  444. .feed-row .time,
  445. .feed-row .created-at {
  446. display: block !important;
  447. width: 100% !important;
  448. white-space: normal !important;
  449. word-break: break-word !important;
  450. overflow-wrap: anywhere !important;
  451. line-height: 1.4 !important;
  452. }
  453. .post-meta,
  454. .feed-post-meta {
  455. flex-direction: column !important;
  456. gap: 4px !important;
  457. }
  458. .mode-buttons {
  459. display: flex !important;
  460. flex-direction: column !important;
  461. width: 100% !important;
  462. gap: 8px !important;
  463. grid-template-columns: 1fr !important;
  464. }
  465. .mode-buttons-cols {
  466. display: flex !important;
  467. flex-direction: column !important;
  468. width: 100% !important;
  469. gap: 8px !important;
  470. }
  471. .mode-buttons-row {
  472. display: flex !important;
  473. flex-direction: column !important;
  474. width: 100% !important;
  475. gap: 8px !important;
  476. }
  477. .mode-buttons .column,
  478. .mode-buttons > div {
  479. display: flex !important;
  480. flex-direction: column !important;
  481. width: 100% !important;
  482. gap: 6px !important;
  483. grid-template-columns: 1fr !important;
  484. }
  485. .mode-buttons form {
  486. width: 100% !important;
  487. }
  488. .mode-buttons .filter-btn,
  489. .mode-buttons button {
  490. width: 100% !important;
  491. }
  492. .filter-group {
  493. display: flex !important;
  494. flex-direction: column !important;
  495. width: 100% !important;
  496. gap: 6px !important;
  497. }
  498. .filter-group form {
  499. width: 100% !important;
  500. }
  501. .inhabitant-card {
  502. display: flex !important;
  503. flex-direction: column !important;
  504. width: 100% !important;
  505. max-width: 100% !important;
  506. overflow: hidden !important;
  507. }
  508. .inhabitant-left {
  509. width: 100% !important;
  510. text-align: center !important;
  511. }
  512. .inhabitant-details {
  513. width: 100% !important;
  514. }
  515. .inhabitant-photo,
  516. .inhabitant-photo-details {
  517. max-width: 200px !important;
  518. margin: 0 auto !important;
  519. }
  520. .inhabitants-list,
  521. .inhabitants-grid {
  522. display: flex !important;
  523. flex-direction: column !important;
  524. gap: 10px !important;
  525. }
  526. .tribe-card {
  527. display: flex !important;
  528. flex-direction: column !important;
  529. width: 100% !important;
  530. max-width: 100% !important;
  531. overflow: hidden !important;
  532. }
  533. .tribe-grid {
  534. display: flex !important;
  535. flex-direction: column !important;
  536. gap: 10px !important;
  537. grid-template-columns: 1fr !important;
  538. }
  539. .tribes-list,
  540. .tribes-grid {
  541. display: flex !important;
  542. flex-direction: column !important;
  543. gap: 10px !important;
  544. }
  545. .tribe-card-image {
  546. width: 100% !important;
  547. max-width: 100% !important;
  548. }
  549. .forum-card {
  550. flex-direction: column !important;
  551. }
  552. .forum-score-col,
  553. .forum-main-col,
  554. .root-vote-col {
  555. width: 100% !important;
  556. }
  557. .forum-header-row {
  558. flex-direction: column !important;
  559. gap: 4px !important;
  560. }
  561. .forum-meta {
  562. flex-wrap: wrap !important;
  563. gap: 8px !important;
  564. }
  565. .forum-thread-header {
  566. flex-direction: column !important;
  567. }
  568. .forum-comment {
  569. margin-left: 0 !important;
  570. padding-left: 8px !important;
  571. }
  572. .comment-body-row {
  573. flex-direction: column !important;
  574. }
  575. .comment-vote-col,
  576. .comment-text-col {
  577. width: 100% !important;
  578. }
  579. .forum-score-box,
  580. .forum-score-form {
  581. flex-direction: row !important;
  582. justify-content: center !important;
  583. }
  584. .new-message-form textarea,
  585. .comment-textarea {
  586. width: 100% !important;
  587. }
  588. [style*="grid-template-columns: repeat(6"] {
  589. grid-template-columns: 1fr !important;
  590. }
  591. [style*="grid-template-columns: repeat(3"] {
  592. grid-template-columns: 1fr !important;
  593. }
  594. [style*="grid-template-columns:repeat(6"] {
  595. grid-template-columns: 1fr !important;
  596. }
  597. [style*="grid-template-columns:repeat(3"] {
  598. grid-template-columns: 1fr !important;
  599. }
  600. [style*="grid-template-columns: repeat(auto-fit"] {
  601. grid-template-columns: 1fr !important;
  602. }
  603. [style*="grid-template-columns:repeat(auto-fit"] {
  604. grid-template-columns: 1fr !important;
  605. }
  606. [style*="width:50%"] {
  607. width: 100% !important;
  608. }
  609. .update-banner {
  610. background-color: #1a1400;
  611. border-bottom-color: #3a2e00;
  612. color: #FFD700;
  613. }
  614. .update-banner-link {
  615. color: #FFD700;
  616. }
  617. .snh-invite-code {
  618. color: #FFA500 !important;
  619. }
  620. .stats-kpi-label {
  621. color: #ffa300 !important;
  622. }
  623. .stats-kpi-value {
  624. color: #FFD700 !important;
  625. }
  626. .carbon-bar-note,
  627. .carbon-bar-formula {
  628. color: #FFD700 !important;
  629. }
  630. .graphos-node-label {
  631. fill: #ddd !important;
  632. }
  633. .graphos-node-label-me {
  634. fill: #ffa500 !important;
  635. }
  636. .graphos-legend {
  637. color: #ddd !important;
  638. }