mobile.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. html {
  2. -webkit-text-size-adjust: 100%;
  3. box-sizing: border-box;
  4. overflow-x: hidden !important;
  5. }
  6. *, *::before, *::after {
  7. box-sizing: inherit;
  8. }
  9. body {
  10. font-size: 15px;
  11. overflow-x: hidden;
  12. max-width: 100vw;
  13. }
  14. img,
  15. video,
  16. canvas,
  17. iframe,
  18. table {
  19. max-width: 100% !important;
  20. }
  21. pre,
  22. code {
  23. white-space: pre-wrap !important;
  24. word-break: break-word !important;
  25. overflow-wrap: anywhere !important;
  26. }
  27. .header {
  28. display: flex !important;
  29. flex-direction: column !important;
  30. width: 100% !important;
  31. max-width: 100% !important;
  32. padding: 4px !important;
  33. gap: 4px !important;
  34. overflow: visible !important;
  35. }
  36. .header-content {
  37. display: flex !important;
  38. flex-wrap: wrap !important;
  39. width: 100% !important;
  40. max-width: 100% !important;
  41. padding: 2px !important;
  42. gap: 4px !important;
  43. overflow: visible !important;
  44. }
  45. .top-bar-left,
  46. .top-bar-mid,
  47. .top-bar-right {
  48. display: flex !important;
  49. flex-direction: column !important;
  50. width: 100% !important;
  51. max-width: 100% !important;
  52. align-items: stretch !important;
  53. gap: 6px !important;
  54. }
  55. .top-bar-left nav ul,
  56. .top-bar-mid nav ul,
  57. .top-bar-right nav ul {
  58. display: flex !important;
  59. flex-wrap: wrap !important;
  60. gap: 6px !important;
  61. padding: 0 !important;
  62. margin: 0 !important;
  63. overflow: visible !important;
  64. }
  65. .top-bar-left nav ul li,
  66. .top-bar-mid nav ul li,
  67. .top-bar-right nav ul li {
  68. margin: 0 !important;
  69. }
  70. .top-bar-left nav ul li a,
  71. .top-bar-mid nav ul li a,
  72. .top-bar-right nav ul li a {
  73. display: inline-flex !important;
  74. align-items: center !important;
  75. justify-content: center !important;
  76. padding: 6px 8px !important;
  77. font-size: 0.9rem !important;
  78. white-space: nowrap !important;
  79. }
  80. .search-input,
  81. .feed-search-input,
  82. .activity-search-input {
  83. width: 100% !important;
  84. max-width: 100% !important;
  85. min-width: 0 !important;
  86. height: 40px !important;
  87. font-size: 16px !important;
  88. }
  89. .main-content {
  90. display: flex !important;
  91. flex-direction: column !important;
  92. width: 100% !important;
  93. max-width: 100% !important;
  94. gap: 12px !important;
  95. }
  96. .sidebar-left,
  97. .sidebar-right,
  98. .main-column {
  99. width: 100% !important;
  100. max-width: 100% !important;
  101. min-width: 0 !important;
  102. padding: 10px !important;
  103. border-left: none !important;
  104. border-right: none !important;
  105. }
  106. .sidebar-left {
  107. order: 1 !important;
  108. }
  109. .main-column {
  110. order: 3 !important;
  111. }
  112. .sidebar-right {
  113. order: 2 !important;
  114. }
  115. .sidebar-left nav ul,
  116. .sidebar-right nav ul {
  117. display: flex !important;
  118. flex-direction: column !important;
  119. }
  120. .oasis-nav-header {
  121. font-size: 0.85rem !important;
  122. }
  123. .oasis-nav-list li a {
  124. font-size: 0.9rem !important;
  125. padding: 8px 12px !important;
  126. }
  127. button,
  128. input[type="submit"],
  129. input[type="button"],
  130. .filter-btn,
  131. .create-button,
  132. .edit-btn,
  133. .delete-btn,
  134. .join-btn,
  135. .leave-btn,
  136. .buy-btn {
  137. min-height: 44px !important;
  138. font-size: 16px !important;
  139. white-space: normal !important;
  140. text-align: center !important;
  141. }
  142. .feed-row,
  143. .comment-body-row,
  144. table {
  145. display: block !important;
  146. width: 100% !important;
  147. overflow-x: auto !important;
  148. }
  149. textarea,
  150. input,
  151. select {
  152. width: 100% !important;
  153. max-width: 100% !important;
  154. font-size: 16px !important;
  155. }
  156. .gallery {
  157. display: grid !important;
  158. grid-template-columns: 1fr 1fr !important;
  159. gap: 8px !important;
  160. }
  161. footer,
  162. .footer {
  163. display: block !important;
  164. width: 100% !important;
  165. max-width: 100% !important;
  166. padding: 12px !important;
  167. overflow-x: auto !important;
  168. }
  169. footer div {
  170. display: flex !important;
  171. flex-direction: column !important;
  172. gap: 8px !important;
  173. }
  174. h1 { font-size: 1.35em !important; }
  175. h2 { font-size: 1.2em !important; }
  176. h3 { font-size: 1em !important; }
  177. .small,
  178. .time {
  179. font-size: 0.8rem !important;
  180. }
  181. .created-at {
  182. display: block !important;
  183. width: 100% !important;
  184. white-space: normal !important;
  185. word-break: break-word !important;
  186. overflow-wrap: anywhere !important;
  187. line-height: 1.5 !important;
  188. font-size: 0.8rem !important;
  189. }
  190. .header-content .created-at {
  191. display: block !important;
  192. flex: 1 1 100% !important;
  193. min-width: 0 !important;
  194. max-width: 100% !important;
  195. }
  196. .post-meta,
  197. .feed-post-meta,
  198. .feed-row .small,
  199. .feed-row .time,
  200. .feed-row .created-at {
  201. display: block !important;
  202. width: 100% !important;
  203. white-space: normal !important;
  204. word-break: break-word !important;
  205. overflow-wrap: anywhere !important;
  206. line-height: 1.4 !important;
  207. }
  208. .post-meta,
  209. .feed-post-meta {
  210. flex-direction: column !important;
  211. gap: 4px !important;
  212. }
  213. .mode-buttons {
  214. display: flex !important;
  215. flex-direction: column !important;
  216. width: 100% !important;
  217. gap: 8px !important;
  218. grid-template-columns: 1fr !important;
  219. }
  220. .mode-buttons-cols {
  221. display: flex !important;
  222. flex-direction: column !important;
  223. width: 100% !important;
  224. gap: 8px !important;
  225. }
  226. .mode-buttons-row {
  227. display: flex !important;
  228. flex-direction: column !important;
  229. width: 100% !important;
  230. gap: 8px !important;
  231. }
  232. .mode-buttons .column,
  233. .mode-buttons > div {
  234. display: flex !important;
  235. flex-direction: column !important;
  236. width: 100% !important;
  237. gap: 6px !important;
  238. grid-template-columns: 1fr !important;
  239. }
  240. .mode-buttons form {
  241. width: 100% !important;
  242. }
  243. .mode-buttons .filter-btn,
  244. .mode-buttons button {
  245. width: 100% !important;
  246. }
  247. .filter-group {
  248. display: flex !important;
  249. flex-direction: column !important;
  250. width: 100% !important;
  251. gap: 6px !important;
  252. }
  253. .filter-group form {
  254. width: 100% !important;
  255. }
  256. .inhabitant-card {
  257. display: flex !important;
  258. flex-direction: column !important;
  259. width: 100% !important;
  260. max-width: 100% !important;
  261. overflow: hidden !important;
  262. }
  263. .inhabitant-left {
  264. width: 100% !important;
  265. text-align: center !important;
  266. }
  267. .inhabitant-details {
  268. width: 100% !important;
  269. }
  270. .inhabitant-photo,
  271. .inhabitant-photo-details {
  272. max-width: 200px !important;
  273. margin: 0 auto !important;
  274. }
  275. .inhabitants-list,
  276. .inhabitants-grid {
  277. display: flex !important;
  278. flex-direction: column !important;
  279. gap: 10px !important;
  280. }
  281. .tribe-card {
  282. display: flex !important;
  283. flex-direction: column !important;
  284. width: 100% !important;
  285. max-width: 100% !important;
  286. overflow: hidden !important;
  287. }
  288. .tribe-grid {
  289. display: flex !important;
  290. flex-direction: column !important;
  291. gap: 10px !important;
  292. grid-template-columns: 1fr !important;
  293. }
  294. .tribes-list,
  295. .tribes-grid {
  296. display: flex !important;
  297. flex-direction: column !important;
  298. gap: 10px !important;
  299. }
  300. .tribe-card-image {
  301. width: 100% !important;
  302. max-width: 100% !important;
  303. }
  304. .tribe-section-nav {
  305. overflow-x: auto !important;
  306. flex-wrap: nowrap !important;
  307. -webkit-overflow-scrolling: touch;
  308. }
  309. .tribe-section-group {
  310. flex-shrink: 0 !important;
  311. }
  312. .tribe-section-btn {
  313. font-size: 11px !important;
  314. padding: 4px 8px !important;
  315. white-space: nowrap !important;
  316. }
  317. .tribe-details {
  318. flex-direction: column !important;
  319. }
  320. .tribe-side {
  321. width: 100% !important;
  322. }
  323. .tribe-main {
  324. width: 100% !important;
  325. }
  326. .tribe-content-grid {
  327. grid-template-columns: 1fr !important;
  328. }
  329. .tribe-inhabitants-grid {
  330. grid-template-columns: repeat(2, 1fr) !important;
  331. }
  332. .tribe-media-grid {
  333. grid-template-columns: repeat(2, 1fr) !important;
  334. }
  335. .tribe-overview-grid {
  336. grid-template-columns: 1fr !important;
  337. }
  338. .tribe-mode-buttons {
  339. flex-wrap: wrap !important;
  340. }
  341. .tribe-card-hero-image {
  342. height: 180px !important;
  343. }
  344. .tribe-votation-option {
  345. flex-direction: column !important;
  346. align-items: flex-start !important;
  347. }
  348. .tribe-content-header {
  349. flex-direction: column !important;
  350. gap: 8px !important;
  351. }
  352. .tribe-content-filters {
  353. flex-wrap: wrap !important;
  354. }
  355. .tribe-media-filters {
  356. flex-wrap: wrap !important;
  357. }
  358. .forum-card {
  359. flex-direction: column !important;
  360. }
  361. .forum-score-col,
  362. .forum-main-col,
  363. .root-vote-col {
  364. width: 100% !important;
  365. }
  366. .forum-header-row {
  367. flex-direction: column !important;
  368. gap: 4px !important;
  369. }
  370. .forum-meta {
  371. flex-wrap: wrap !important;
  372. gap: 8px !important;
  373. }
  374. .forum-thread-header {
  375. flex-direction: column !important;
  376. }
  377. .forum-comment {
  378. margin-left: 0 !important;
  379. padding-left: 8px !important;
  380. }
  381. .comment-body-row {
  382. flex-direction: column !important;
  383. }
  384. .comment-vote-col,
  385. .comment-text-col {
  386. width: 100% !important;
  387. }
  388. .forum-score-box,
  389. .forum-score-form {
  390. flex-direction: row !important;
  391. justify-content: center !important;
  392. }
  393. .new-message-form textarea,
  394. .comment-textarea {
  395. width: 100% !important;
  396. }
  397. [style*="grid-template-columns: repeat(6"] {
  398. grid-template-columns: 1fr !important;
  399. }
  400. [style*="grid-template-columns: repeat(3"] {
  401. grid-template-columns: 1fr !important;
  402. }
  403. [style*="grid-template-columns:repeat(6"] {
  404. grid-template-columns: 1fr !important;
  405. }
  406. [style*="grid-template-columns:repeat(3"] {
  407. grid-template-columns: 1fr !important;
  408. }
  409. [style*="grid-template-columns: repeat(auto-fit"] {
  410. grid-template-columns: 1fr !important;
  411. }
  412. [style*="grid-template-columns:repeat(auto-fit"] {
  413. grid-template-columns: 1fr !important;
  414. }
  415. [style*="width:50%"] {
  416. width: 100% !important;
  417. }
  418. .inhabitant-karma-ubi .ubi-line{display:block;font-size:0.9em}
  419. .pad-editor-container{flex-direction:column !important}
  420. .pad-editor-area,.pad-members-list{width:100% !important;min-width:unset !important}
  421. .chat-main-split{flex-direction:column !important}
  422. .chat-messages-column,.chat-participants-column{width:100% !important;min-width:unset !important;flex:unset !important}
  423. .games-grid{grid-template-columns:1fr !important}
  424. .game-card{width:100% !important}