style.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. @font-face {
  2. font-family:IBMPlexSans;
  3. src:url(/static/font.woff2) format('woff2');
  4. }
  5. @font-face {
  6. font-family:redesignFont;
  7. src:url(/static/icons.woff) format('woff');
  8. }
  9. * {
  10. border-radius: 2px;
  11. font-family: IBMPlexSans;
  12. }
  13. html {
  14. height:100vh;
  15. }
  16. body {
  17. position:absolute;
  18. top: 0;
  19. bottom: 0;
  20. left: 0;
  21. right: 0;
  22. color:#CCCCCC;
  23. background-color:#000;
  24. display: flex;
  25. flex-direction: column;
  26. flex-wrap: nowrap;
  27. margin:0;
  28. }
  29. details {
  30. position:relative;
  31. background-color:#1a1a1b;
  32. z-index:1;
  33. bottom:0;
  34. }
  35. details > a {
  36. position: absolute;
  37. border-radius:0px !important;
  38. margin:0px !important;
  39. padding:0px !important;
  40. }
  41. pre code {
  42. display:inline-block;
  43. overflow:auto;
  44. max-width:100%;
  45. }
  46. code {
  47. background-color:white;
  48. color:black;
  49. text-align:left;
  50. }
  51. .header {
  52. padding:5px;
  53. display:flex;
  54. flex-direction: column;
  55. align-items: center;
  56. background-color:#1a1a1b;
  57. border-radius:0px;
  58. border-bottom: 1px solid #343536;
  59. }
  60. .awards {
  61. display:block;
  62. }
  63. .awarding-icon img {
  64. max-width: 16px;
  65. max-height: 16px;
  66. }
  67. a {
  68. color:#D7DADC;
  69. font-weight: bold;
  70. outline:none;
  71. text-decoration:none;
  72. word-break:break-word;
  73. }
  74. .sub-header b {
  75. color:#7154AA;
  76. font-weight: bold;
  77. }
  78. .sub-header b:hover {
  79. color:#ffb734;
  80. }
  81. .title {
  82. display: inline-block;
  83. font-size: 28px;
  84. margin-right:10px;
  85. font-weight: bold;
  86. vertical-align:middle;
  87. color:#D7DADC;
  88. word-break:unset;
  89. }
  90. .button {
  91. max-width:300px;
  92. border:none;
  93. color:white;
  94. padding:5px;
  95. font-weight: bold;
  96. background-color:#1a1a1b;
  97. }
  98. .button:hover {
  99. background-color: #272729;
  100. }
  101. i {
  102. font-style:normal;
  103. margin-left:2.5px;
  104. border-radius:10px;
  105. padding:2px;
  106. }
  107. small {
  108. padding-left:2.5px;
  109. }
  110. form {
  111. color:#ACA4F6;
  112. display:flex;
  113. }
  114. textarea {
  115. color:#ACA4F6;
  116. height:100px;
  117. border: none;
  118. background: #0C0C0C;
  119. }
  120. hr {
  121. border:0px;
  122. }
  123. .footer hr{
  124. margin:0;
  125. }
  126. .footer {
  127. bottom:0;
  128. width:100%;
  129. text-align:center;
  130. color:#ACA4F6;
  131. flex-shrink: 0;
  132. background-color:#000;
  133. }
  134. .flair {
  135. background-color:#343536;
  136. color:#FFFFFF;
  137. font-size:12px;
  138. white-space: nowrap;
  139. display:inline-block;
  140. height: 16px;
  141. padding: 2px
  142. }
  143. .flair-emoji {
  144. display: inline-block;
  145. width: 16px;
  146. height:16px;
  147. background-size: contain;
  148. }
  149. .order {
  150. color:#ACA4F6;
  151. }
  152. .container {
  153. max-width: 60em;
  154. display: flex;
  155. align-items: center;
  156. margin: auto;
  157. }
  158. .content {
  159. flex-grow: 1;
  160. overflow: auto;
  161. background-size: contain;
  162. background-repeat: no-repeat;
  163. background-position: right;
  164. padding:20px 24px;
  165. word-break: break-word;
  166. }
  167. .comments {
  168. text-align:left;
  169. }
  170. .md p {
  171. font-size:14px;
  172. }
  173. .votes {
  174. font-size:12px;
  175. display:block;
  176. position: absolute;
  177. top:0;
  178. left:0;
  179. width:40px;
  180. text-align:center;
  181. }
  182. .votes span {
  183. display:block;
  184. }
  185. .main-icon {
  186. width:38px;
  187. height:38px;
  188. margin-right:10px;
  189. }
  190. .main-icon img {
  191. max-width:100%;
  192. max-height:100%;
  193. }
  194. .icon {
  195. display:inline-block;
  196. width:16px;
  197. height:16px;
  198. background-size:contain;
  199. padding:2px;
  200. margin:auto;
  201. }
  202. .icon-downvote {
  203. background-image: url(/static/downvote-icon.png);
  204. }
  205. .icon-upvote {
  206. background-image: url(/static/upvote-icon.png);
  207. }
  208. .post hr {
  209. border:1px solid #555;
  210. }
  211. .post {
  212. max-width:100%;
  213. background-color:#151516;
  214. padding-left:40px;
  215. margin-bottom:10px;
  216. border:1px solid #343536;
  217. position:relative;
  218. }
  219. .reply {
  220. border-left:1px solid white;
  221. border-radius:0px;
  222. padding:5px;
  223. background-color:#282828;
  224. margin-bottom:10px;
  225. max-width:100%;
  226. background-color:#151516;
  227. margin-bottom:10px;
  228. position:relative;
  229. padding-left:10px;
  230. }
  231. .comment {
  232. background-color:#282828;
  233. margin-bottom:10px;
  234. max-width:100%;
  235. background-color:#151516;
  236. margin-bottom:10px;
  237. border:1px solid #343536;
  238. position:relative;
  239. padding-left:10px;
  240. padding-top: 5px;
  241. }
  242. .comment hr {
  243. border:1px solid white;
  244. }
  245. .comment-content a, .reply a, .post-content a {
  246. color:#0079D3;
  247. text-decoration:underline;
  248. }
  249. .awarding-icon span {
  250. font-size: small;
  251. }
  252. .awards .awarding-icon {
  253. text-decoration:none;
  254. color:#CCCCCC;
  255. }
  256. awarding-icon span {
  257. }
  258. .post .post {
  259. margin-top:5px;
  260. }
  261. .post-content > :first-child {
  262. margin:1px;
  263. }
  264. .post:hover {
  265. border:1px solid #818384;
  266. }
  267. .post-info, .post-info a {
  268. color:#818384;
  269. font-size:12px;
  270. }
  271. .post-info .sub-link {
  272. color:#d7dadc;
  273. font-weight: 700;
  274. }
  275. .comment-info {
  276. color:#818384;
  277. font-size:12px;
  278. }
  279. .comment-info a {
  280. color:#D7DADC;
  281. font-size:12px;
  282. text-decoration:none;
  283. }
  284. .post-link {
  285. display:block;
  286. color:#0079D3;
  287. font-size:12px;
  288. font-weight:400;
  289. white-space: nowrap;
  290. overflow: hidden;
  291. text-overflow: ellipsis;
  292. }
  293. .sub-link {
  294. font-size:14px;
  295. }
  296. .sub-link:hover, .post-info a:hover {
  297. text-decoration:underline;
  298. }
  299. .inner-post {
  300. background-color:#1a1a1b;
  301. padding:5px;
  302. }
  303. .post-content * {
  304. text-align: left;
  305. margin: 5px 0px;
  306. }
  307. .post-content {
  308. margin:auto;
  309. overflow:auto;
  310. }
  311. .media {
  312. justify-content:center;
  313. text-align:center;
  314. }
  315. .slide-gfx .media img {
  316. max-height: 50vh;
  317. }
  318. .media img, .media video {
  319. max-height: 80vh;
  320. max-width: 100%;
  321. display:block;
  322. margin:auto;
  323. }
  324. .poll {
  325. margin:auto;
  326. text-align:left;
  327. border:1px solid;
  328. margin-bottom:10px;
  329. padding:5px;
  330. border-radius:4px;
  331. }
  332. .poll input {
  333. display:inline;
  334. }
  335. table, th, td {
  336. border: 1px solid #ACA4F6;
  337. text-align:center;
  338. border-collapse: collapse;
  339. margin-left: auto;
  340. margin-right: auto;
  341. margin-top:5px;
  342. margin-bottom:10px;
  343. }
  344. .comments ul > li, .reply ul > li {
  345. list-style-type: none;
  346. margin:5px;
  347. padding:0;
  348. }
  349. li li {
  350. list-style-type:lower-alpha;
  351. }
  352. ul {
  353. list-style-type: none;
  354. margin:0;
  355. padding:0;
  356. margin-left: 5px;
  357. }
  358. blockquote {
  359. border-left: 3px solid #333;
  360. margin-left: 0px;
  361. padding-left: 15px;
  362. }
  363. .comments table, th, td {
  364. margin-left: 5px;
  365. margin-right: 5px;
  366. text-align:left;
  367. }
  368. .link {
  369. margin-right:5px;
  370. }
  371. p, h1, h2, h3 {
  372. margin:0;
  373. padding:0;
  374. }
  375. .nsfw, .hidden {
  376. display:none;
  377. }
  378. .nsfw + .media img {
  379. -webkit-filter: blur(8px);
  380. filter: blur(8px);
  381. }
  382. .nsfw:checked + .media img {
  383. -webkit-filter: none;
  384. filter: none;
  385. }
  386. .menu {
  387. position:relative;
  388. background-color:#1a1a1b;
  389. padding:0px 12px;
  390. height:56px;
  391. margin-bottom:10px;
  392. border:1px solid #343536;
  393. align-items:center;
  394. display:flex;
  395. }
  396. .nav {
  397. display:flex;
  398. max-width:max-content;
  399. }
  400. .nav .button {
  401. margin-right:5px;
  402. }
  403. .menu, .nav {
  404. margin:auto;
  405. margin-bottom:10px;
  406. overflow:auto;
  407. }
  408. .menu a, .nav a , .button {
  409. font-size:12px;
  410. padding:8px;
  411. white-space: nowrap;
  412. }
  413. .menu a:hover, .menu .focus, .button:hover {
  414. background-color:#272729;
  415. }
  416. .hidden + .button {
  417. display:none;
  418. }
  419. .hidden + .button + div br {
  420. display:none;
  421. }
  422. .flex {
  423. display:flex;
  424. align-items: center;
  425. padding: 8px;
  426. height:56px;
  427. }
  428. #search-bar {
  429. background-color: #272729;
  430. border-radius: 4px;
  431. border: 1px solid #343536;
  432. color: #D7DADC;
  433. height: 36px;
  434. outline: none;
  435. padding: 0 5px 0 10px;
  436. width: auto;
  437. margin:0 auto;
  438. max-width: 690px;
  439. flex-grow:1;
  440. }
  441. #search-bar ~ input {
  442. background-color: #272729;
  443. border-radius: 4px;
  444. border: 1px solid #343536;
  445. color: #D7DADC;
  446. height: 40px;
  447. width: 40px;
  448. background-image:url(/static/search.png);
  449. outline: none;
  450. margin:0 5px;
  451. flex-grow:1;
  452. background-size:contain;
  453. }
  454. @media only screen and (max-width: 768px) {
  455. .content {
  456. padding:10px 5px;
  457. width: 95vw;
  458. }
  459. .hidden + .button {
  460. display:inline-block;
  461. }
  462. .hidden + .button + div {
  463. display:none;
  464. position: absolute;
  465. z-index: 1;
  466. align-items: center;
  467. flex-direction: column;
  468. background-color: #1a1a1b;
  469. border: 1px solid #343536;
  470. top:40px;
  471. }
  472. .hidden:checked + .button + div {
  473. display:flex;
  474. }
  475. .hidden:checked + .button + div a {
  476. display:block;
  477. }
  478. .hidden + .button + div br {
  479. display:block;
  480. }
  481. }