The version of vichan running on lainchan.org
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

560 řádky
12KB

  1. /**
  2. * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
  3. * http://cssreset.com
  4. */
  5. html, body, div, span, applet, object, iframe,
  6. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  7. a, abbr, acronym, address, big, cite, code,
  8. del, dfn, em, img, ins, kbd, q, s, samp,
  9. small, strike, strong, sub, sup, tt, var,
  10. b, u, i, center,
  11. dl, dt, dd, ol, ul, li,
  12. fieldset, form, label, legend,
  13. table, caption, tbody, tfoot, thead, tr, th, td,
  14. article, aside, canvas, details, embed,
  15. figure, figcaption, footer, header, hgroup,
  16. menu, nav, output, ruby, section, summary,
  17. time, mark, audio, video {
  18. margin: 0;
  19. padding: 0;
  20. border: 0;
  21. font-size: 100%;
  22. font: inherit;
  23. vertical-align: baseline;
  24. }
  25. /* HTML5 display-role reset for older browsers */
  26. article, aside, details, figcaption, figure,
  27. footer, header, hgroup, menu, nav, section {
  28. display: block;
  29. }
  30. body {
  31. line-height: 1;
  32. }
  33. ol, ul {
  34. list-style: none;
  35. }
  36. blockquote, q {
  37. quotes: none;
  38. }
  39. blockquote:before, blockquote:after,
  40. q:before, q:after {
  41. content: '';
  42. content: none;
  43. }
  44. table {
  45. border-collapse: collapse;
  46. border-spacing: 0;
  47. }
  48. html, body {
  49. max-width: 100%;
  50. }
  51. body {
  52. font-size: 12px;
  53. font-family: arial, helvetica, sans-serif;
  54. margin: 22px 5px;
  55. background: #1e1e1e;
  56. color: #999999;
  57. }
  58. .bar {
  59. z-index: 1;
  60. font-size: 13px;
  61. width: 100%;
  62. height: 20px;
  63. position: fixed;
  64. display: block;
  65. margin-left: -5px;
  66. background: #333333;
  67. border: solid #666666;
  68. }
  69. .bar.top {
  70. top: 0;
  71. border-width: 0 0 1px 0;
  72. }
  73. .bar.top .boardlist {
  74. overflow: scroll;
  75. display: table;
  76. border-collapse: separate;
  77. border-spacing: calc(1em / 3) 2.5px;
  78. text-align: center;
  79. margin: 0 auto;
  80. height: 100%;
  81. }
  82. .bar.top .boardlist .sub {
  83. white-space: nowrap;
  84. display: table-cell;
  85. }
  86. .bar.bottom {
  87. bottom: 0;
  88. border-width: 1px 0 0 0;
  89. }
  90. .bar.bottom .pages {
  91. margin-top: -1px;
  92. }
  93. .bar.bottom .pages > * {
  94. display: inline-block;
  95. }
  96. @media (max-width: 480px) {
  97. body, .bar {
  98. margin-left: 0;
  99. margin-right: 0;
  100. } }
  101. a, a:visited, a:active, a:focus {
  102. color: #cccccc;
  103. -webkit-transition: 0.15s color;
  104. -khtml-transition: 0.15s color;
  105. -moz-transition: 0.15s color;
  106. -ms-transition: 0.15s color;
  107. -o-transition: 0.15s color;
  108. transition: 0.15s color;
  109. -webkit-transition: 0.15s text-shadow;
  110. -khtml-transition: 0.15s text-shadow;
  111. -moz-transition: 0.15s text-shadow;
  112. -ms-transition: 0.15s text-shadow;
  113. -o-transition: 0.15s text-shadow;
  114. transition: 0.15s text-shadow;
  115. text-decoration: none;
  116. }
  117. a.post_no, a:visited.post_no, a:active.post_no, a:focus.post_no {
  118. color: #999999;
  119. }
  120. a:hover, a:visited:hover, a:active:hover, a:focus:hover {
  121. text-shadow: 0px 0px 5px white;
  122. color: #32dd72;
  123. }
  124. .board_image, header, body > form[name="post"] {
  125. display: block;
  126. max-width: 100%;
  127. }
  128. .board_image, header {
  129. width: 384px;
  130. margin: 0 auto;
  131. }
  132. .board_image {
  133. border: 1px solid #666666;
  134. -webkit-border-radius: 2px;
  135. -khtml-border-radius: 2px;
  136. -moz-border-radius: 2px;
  137. -ms-border-radius: 2px;
  138. -o-border-radius: 2px;
  139. border-radius: 2px;
  140. width: auto !important;
  141. height: auto !important;
  142. margin-top: 32px;
  143. }
  144. @media (max-width: 480px) {
  145. .board_image {
  146. width: 100% !important;
  147. border-top: 0;
  148. border-right: 0;
  149. border-left: 0;
  150. margin-top: 0;
  151. -webkit-border-radius: 0;
  152. -khtml-border-radius: 0;
  153. -moz-border-radius: 0;
  154. -ms-border-radius: 0;
  155. -o-border-radius: 0;
  156. border-radius: 0;
  157. } }
  158. header {
  159. text-align: center;
  160. color: #32dd72;
  161. margin: 1em auto;
  162. }
  163. header h1 {
  164. font: 26px "lain", tahoma;
  165. font-weight: bold;
  166. letter-spacing: -2px;
  167. margin-bottom: 6px;
  168. }
  169. header .subtitle {
  170. font-size: 8pt;
  171. }
  172. .unimportant {
  173. font-size: 10px;
  174. }
  175. input, textarea {
  176. color: #cccccc;
  177. -webkit-appearance: none;
  178. -khtml-appearance: none;
  179. -moz-appearance: none;
  180. -ms-appearance: none;
  181. -o-appearance: none;
  182. appearance: none;
  183. }
  184. input[type="checkbox"]:after, textarea[type="checkbox"]:after {
  185. opacity: 1;
  186. display: inline-block;
  187. content: " ";
  188. box-sizing: border-box;
  189. width: 12px;
  190. height: 12px;
  191. background: transparent;
  192. border: 1px solid #666666;
  193. position: relative;
  194. top: 1px;
  195. right: calc(1em + 4px);
  196. margin-right: calc(1px - 1em);
  197. -webkit-border-radius: 2px;
  198. -khtml-border-radius: 2px;
  199. -moz-border-radius: 2px;
  200. -ms-border-radius: 2px;
  201. -o-border-radius: 2px;
  202. border-radius: 2px;
  203. }
  204. input:not([type="file"]), textarea:not([type="file"]) {
  205. background: #333333;
  206. border: 1px solid #666666;
  207. }
  208. input[type="text"], input[type="button"], input[type="password"], input[type="submit"], input#body, textarea[type="text"], textarea[type="button"], textarea[type="password"], textarea[type="submit"], textarea#body {
  209. padding: 2px 4px;
  210. }
  211. input[type="text"], input[type="button"], input[type="password"], input[type="submit"], textarea[type="text"], textarea[type="button"], textarea[type="password"], textarea[type="submit"] {
  212. height: 16px;
  213. }
  214. input[type="text"], input[type="submit"], input#body, textarea[type="text"], textarea[type="submit"], textarea#body {
  215. box-sizing: content-box;
  216. -webkit-transition: 0.15s border-color;
  217. -khtml-transition: 0.15s border-color;
  218. -moz-transition: 0.15s border-color;
  219. -ms-transition: 0.15s border-color;
  220. -o-transition: 0.15s border-color;
  221. transition: 0.15s border-color;
  222. }
  223. @media (max-width: 480px) {
  224. input[type="text"]:last-of-type, input[type="submit"]:last-of-type, input#body:last-of-type, textarea[type="text"]:last-of-type, textarea[type="submit"]:last-of-type, textarea#body:last-of-type {
  225. border-right: 0;
  226. -webkit-border-radius: 2px 0 0 2px;
  227. -khtml-border-radius: 2px 0 0 2px;
  228. -moz-border-radius: 2px 0 0 2px;
  229. -ms-border-radius: 2px 0 0 2px;
  230. -o-border-radius: 2px 0 0 2px;
  231. border-radius: 2px 0 0 2px;
  232. } }
  233. input[type="text"]:focus, input[type="submit"]:hover, input#body:focus, textarea[type="text"]:focus, textarea[type="submit"]:hover, textarea#body:focus {
  234. border-color: #888888;
  235. }
  236. input[type="submit"]:hover, textarea[type="submit"]:hover {
  237. color: #32dd72;
  238. background: #555555;
  239. }
  240. input[type="submit"], textarea[type="submit"] {
  241. -webkit-transition: 0.15s background;
  242. -khtml-transition: 0.15s background;
  243. -moz-transition: 0.15s background;
  244. -ms-transition: 0.15s background;
  245. -o-transition: 0.15s background;
  246. transition: 0.15s background;
  247. -webkit-transition: 0.15s color;
  248. -khtml-transition: 0.15s color;
  249. -moz-transition: 0.15s color;
  250. -ms-transition: 0.15s color;
  251. -o-transition: 0.15s color;
  252. transition: 0.15s color;
  253. width: 64px;
  254. padding: 2px 5px;
  255. margin-right: -8px;
  256. }
  257. input[type="text"], input#body, textarea[type="text"], textarea#body {
  258. width: calc(100% - 2px);
  259. }
  260. input[type="text"][name="subject"], input#body[name="subject"], textarea[type="text"][name="subject"], textarea#body[name="subject"] {
  261. width: calc(100% - 76px - 4px);
  262. }
  263. input#body, textarea#body {
  264. min-width: calc(100% - 2px);
  265. margin: 0;
  266. }
  267. /*[for^="delete"], [for="spoiler"] {
  268. &:before {
  269. display: inline-block;
  270. content: " ";
  271. box-sizing: border-box;
  272. width: $body_size;
  273. height: $body_size;
  274. background: transparent;
  275. border: $nav_border $nav_border_look;
  276. position: relative;
  277. top: 1px;
  278. right: calc(1em + 4px);
  279. margin-right: calc(1px - 1em);
  280. @include border-radius($div_radius);
  281. }
  282. }*/
  283. form[name="post"] {
  284. display: block;
  285. }
  286. @media (max-width: 480px) {
  287. form[name="post"] table, form[name="post"] tbody, form[name="post"] tr, form[name="post"] td {
  288. margin: 0;
  289. width: 100% !important;
  290. } }
  291. form[name="post"] table, form[name="post"] tbody {
  292. max-width: 100%;
  293. }
  294. form[name="post"] table {
  295. border-collapse: separate;
  296. border-spacing: 2px;
  297. margin: 0 auto;
  298. }
  299. form[name="post"] tbody {
  300. width: 100%;
  301. display: block;
  302. position: relative;
  303. left: -4px;
  304. }
  305. form[name="post"] [id|="upload"] td {
  306. display: table-row;
  307. }
  308. form[name="post"] [id|="upload"] td > * {
  309. display: table-cell;
  310. height: 20px;
  311. }
  312. form[name="post"] [id|="upload"] td > *#upload_file {
  313. width: 100%;
  314. }
  315. form[name="post"] [id|="upload"] td > *#spoilercontainer {
  316. width: 74px;
  317. }
  318. form[name="post"] th, form[name="post"] input, form[name="post"] textarea {
  319. -webkit-border-radius: 2px;
  320. -khtml-border-radius: 2px;
  321. -moz-border-radius: 2px;
  322. -ms-border-radius: 2px;
  323. -o-border-radius: 2px;
  324. border-radius: 2px;
  325. }
  326. form[name="post"] th {
  327. text-align: left;
  328. min-height: 20px;
  329. vertical-align: middle;
  330. width: 64px;
  331. min-width: 64px !important;
  332. padding: 0 5px;
  333. font-weight: bold;
  334. border: 1px solid #333333;
  335. background: #333333;
  336. }
  337. @media (max-width: 480px) {
  338. form[name="post"] th {
  339. -webkit-border-radius: 0 2px 2px 0;
  340. -khtml-border-radius: 0 2px 2px 0;
  341. -moz-border-radius: 0 2px 2px 0;
  342. -ms-border-radius: 0 2px 2px 0;
  343. -o-border-radius: 0 2px 2px 0;
  344. border-radius: 0 2px 2px 0;
  345. } }
  346. hr {
  347. border: 1px solid #333333;
  348. margin: 6px 0px;
  349. clear: left;
  350. }
  351. .blotter {
  352. color: red;
  353. font-weight: bold;
  354. text-align: center;
  355. }
  356. .blotter p {
  357. margin: 12px 0;
  358. }
  359. [id^="thread"] > .files, .op {
  360. margin-left: 19px;
  361. }
  362. @media (max-width: 480px) {
  363. [id^="thread"] > .files, .op {
  364. margin-left: 0;
  365. } }
  366. [id^="thread"] > br {
  367. display: none;
  368. }
  369. .fileinfo {
  370. margin: 5px 0 5px 0;
  371. }
  372. .post-image {
  373. margin: 0 10px 10px 0;
  374. float: left;
  375. -webkit-border-radius: 2px;
  376. -khtml-border-radius: 2px;
  377. -moz-border-radius: 2px;
  378. -ms-border-radius: 2px;
  379. -o-border-radius: 2px;
  380. border-radius: 2px;
  381. }
  382. @media (max-width: 480px) {
  383. .post-image {
  384. float: none;
  385. width: 100% !important;
  386. height: auto !important;
  387. margin-right: 0;
  388. -webkit-border-radius: 0;
  389. -khtml-border-radius: 0;
  390. -moz-border-radius: 0;
  391. -ms-border-radius: 0;
  392. -o-border-radius: 0;
  393. border-radius: 0;
  394. margin-bottom: 5px;
  395. } }
  396. @media (max-width: 480px) {
  397. .post .intro {
  398. clear: left;
  399. } }
  400. .post .intro [type="checkbox"] {
  401. display: table-cell;
  402. vertical-align: middle;
  403. box-sizing: border-box;
  404. width: 14px;
  405. margin: 0 4px 2px 0;
  406. }
  407. .post.op .intro {
  408. line-height: 1.5em;
  409. margin-top: -.25em;
  410. }
  411. @media (max-width: 480px) {
  412. .post.op .intro {
  413. display: block;
  414. margin-top: calc(-.5em - 1px);
  415. padding: 0.25em 18px;
  416. background-color: #333333;
  417. border-bottom: 1px solid #666666;
  418. } }
  419. .post.op .intro > :last-child:before {
  420. content: " ";
  421. }
  422. @media (max-width: 480px) {
  423. .post.op .body {
  424. margin: 0.7em 23px;
  425. } }
  426. .post .body {
  427. margin: 0.7em 0 0.7em 18px;
  428. }
  429. .postcontainer {
  430. border-top: 3px solid transparent;
  431. }
  432. .postcontainer .sidearrows {
  433. float: left;
  434. width: 14px;
  435. margin-right: 5px;
  436. }
  437. @media (max-width: 480px) {
  438. .postcontainer .sidearrows {
  439. display: none;
  440. } }
  441. .postcontainer .op .body {
  442. margin-bottom: 1em;
  443. }
  444. .postcontainer .reply {
  445. display: table;
  446. -webkit-border-radius: 2px;
  447. -khtml-border-radius: 2px;
  448. -moz-border-radius: 2px;
  449. -ms-border-radius: 2px;
  450. -o-border-radius: 2px;
  451. border-radius: 2px;
  452. background-color: #333333;
  453. border: 1px solid #666666;
  454. padding: 8px 19px 6px 8px;
  455. }
  456. .postcontainer .reply .files, .postcontainer .reply .body {
  457. margin-left: 18px;
  458. }
  459. @media (max-width: 480px) {
  460. .postcontainer .reply .files {
  461. position: relative;
  462. left: -7px;
  463. margin-right: -7px;
  464. } }
  465. @media (max-width: 480px) {
  466. .postcontainer .reply {
  467. box-sizing: border-box;
  468. width: 100%;
  469. border-left: 0;
  470. border-right: 0;
  471. -webkit-border-radius: 0;
  472. -khtml-border-radius: 0;
  473. -moz-border-radius: 0;
  474. -ms-border-radius: 0;
  475. -o-border-radius: 0;
  476. border-radius: 0;
  477. } }
  478. .name {
  479. font-weight: 800;
  480. color: #32dd72;
  481. }
  482. .subject {
  483. font-weight: 800;
  484. color: rgba(50, 221, 114, 0.6);
  485. }
  486. .spoiler {
  487. background: black;
  488. color: black;
  489. }
  490. .spoiler:hover {
  491. color: white;
  492. }
  493. .quote {
  494. color: #b8d962;
  495. }
  496. .omitted {
  497. opacity: 0.6;
  498. }
  499. div.delete {
  500. float: right;
  501. white-space: nowrap;
  502. position: relative;
  503. right: 15px;
  504. margin-right: -7px;
  505. }
  506. div.delete input {
  507. -webkit-border-radius: 2px;
  508. -khtml-border-radius: 2px;
  509. -moz-border-radius: 2px;
  510. -ms-border-radius: 2px;
  511. -o-border-radius: 2px;
  512. border-radius: 2px;
  513. }
  514. div.delete input:last-child {
  515. margin-left: 2px;
  516. }
  517. div.delete [type="text"] {
  518. width: 256px !important;
  519. }
  520. div.delete:last-child {
  521. margin-top: 2px;
  522. }
  523. footer {
  524. clear: both;
  525. margin-bottom: 32px;
  526. }