Guest User

ernst phutaba css

a guest
Oct 11th, 2019
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.89 KB | None | 0 0
  1. /* media query */
  2. @media only screen and (max-width: 480px) {
  3.  
  4. .desktop {
  5.     display: none;
  6. }
  7.  
  8. .mobile {
  9.     display: inline!important;
  10. }
  11.  
  12. .postarea td {
  13.     width: 95%;
  14.     float: left;
  15. }
  16.  
  17. .postarea textarea {
  18.     width: 100%;
  19. }
  20.  
  21. .thread_reply .post {
  22.     margin-left: 0em!important;
  23. }
  24.  
  25. .thread_reply  {
  26.     float: none!important;
  27. }
  28.  
  29. }
  30.  
  31. /* default styles */
  32. html, body, ul, ol, p, pre, table, td, img {
  33.     margin: 0;
  34.     padding: 0;
  35.     border: 0;
  36.     /* linux cannot render fonts without help */
  37.     text-rendering: optimizeLegibility;
  38.     font-variant-ligatures: common-ligatures;
  39.     font-kerning: normal;
  40. }
  41.  
  42. *:focus {
  43.     outline: 0;
  44. }
  45.  
  46. strong, b, .boardname, .caption, .subject, .postblock, .postername, .teampost, .sage, .ban, .user_banned, .title, .info th, .dellist {
  47.     font-weight: bold;
  48. }
  49.  
  50. em, i, .omittedposts, .notice, .slogan {
  51.     font-style: italic;
  52. }
  53.  
  54. .slogan {
  55.     font-size: 1.2em;
  56. }
  57.  
  58. hr {
  59.     border: none;
  60.     border-top: 1px solid #706B5E;
  61.     margin: 1em 0 1em 0;
  62.     clear: both;
  63. }
  64.  
  65. code, pre {
  66.     font: normal 10pt monospace;
  67. }
  68.  
  69. ul {
  70.     list-style-type: square;
  71. }
  72.  
  73. td, th {
  74.     display: table-cell;
  75.     vertical-align: middle;
  76. }
  77.  
  78. body {
  79.     background-color: #ECE9E2;
  80.     color: #000000;
  81.     font: normal 0.8em sans-serif;
  82. }
  83.  
  84. a:link, a:visited, a:hover {
  85.     color: #702802;
  86.     /*text-decoration: underline;*/
  87. }
  88.  
  89. a:hover {
  90.     text-decoration: none;
  91. }
  92.  
  93. a:active {
  94.     position: relative;
  95.     top: 1px;
  96. }
  97.  
  98. .content {
  99.     margin: 0 1em;
  100. }
  101.  
  102. /* top and bottom navigation menus */
  103. ul.menu, ul.menu_bottom {
  104.     margin-left: 0;
  105. }
  106.  
  107. ul.right {
  108.     float: right;
  109.     margin-right: 0;
  110. }
  111.  
  112. ul.menu li, ul.menu_bottom li, ul.pagelist li {
  113.     display: inline;
  114. }
  115.  
  116. ul.menu li a, ul.menu_bottom li a {
  117.     background-color: #D7CFC0;
  118.     color: #000000;
  119.     font-weight: bold;
  120.     text-decoration: none;
  121.     padding: 0.5em;
  122.     margin-right: 0.5em;
  123.     float: left;
  124. }
  125.  
  126. ul.menu li a {
  127.     border-right: 1px solid #706B6E;
  128.     border-bottom: 1px solid #706B5E;
  129.     border-left: 1px solid #706B5E;
  130.     border-bottom-right-radius: 0.5em;
  131.     border-bottom-left-radius: 0.5em;
  132. }
  133.  
  134. ul.menu_bottom li a {
  135.     border-top: 1px solid #706B5E;
  136.     border-right: 1px solid #706B6E;
  137.     border-left: 1px solid #706B5E;
  138.     border-top-right-radius: 0.5em;
  139.     border-top-left-radius: 0.5em;
  140. }
  141.  
  142. ul.menu li a:hover, ul.menu_bottom li a:hover {
  143.     box-shadow: 1px 1px 2px #999999;
  144. }
  145.  
  146. ul.menu li a:active, ul.menu_bottom li a:active {
  147.     top: 0;
  148. }
  149. /* navigation menus END */
  150.  
  151. /* catalog styles */
  152. .catalog {
  153.     width: 240px;
  154.     height: 260px;
  155.     display: inline-block;
  156.     font-size: 0.9em;
  157.     overflow: hidden!important;
  158.     position: relative;  /* allow freely placed lables */
  159.     text-align: left;    /* revert center from container div */
  160.     vertical-align: top; /* safari inline-block fix */
  161. }
  162. .catalog a, .catalog a:hover {
  163.     text-decoration: none;
  164. }
  165. /* catalog styles END */
  166.  
  167. .header {
  168.     text-align: center;
  169. }
  170.  
  171. .banner {
  172.     padding-top: 1em;
  173.     clear: both;
  174. }
  175.  
  176. .banner img {
  177.     width: 300px;
  178.     height: 100px;
  179. }
  180.  
  181. .teampost img, .sticky img, .locked img {
  182.     width: 16px;
  183.     height: 16px;
  184. }
  185.  
  186. .boardname, .caption {
  187.     color: #333333;
  188.     font-size: 2em;
  189.     margin-top: 0.5em;
  190. }
  191.  
  192. .postarea {
  193.     text-align: center;
  194. }
  195.  
  196. .postarea table {
  197.     text-align: left;
  198.     margin: 0 auto;
  199.     border-spacing: 0.25em;
  200. }
  201.  
  202. .postarea #fileInput img:hover {
  203.     cursor: pointer;
  204. }
  205.  
  206. .postblock {
  207.     background-color: #706B5E;
  208.     color: #FFFFFF;
  209.     padding: 0.5em;
  210. }
  211.  
  212. .postarea input[type='checkbox'], .postarea input[type='radio'] {
  213.     margin: 5px;
  214. }
  215.  
  216. .postarea input#name, .postarea input#subject {
  217.     width: 20em;
  218. }
  219.  
  220. .comment img {
  221. }
  222.  
  223. input[type='text'], input[type='password'], textarea {
  224.     background-color: #FFFFFF;
  225.     font-family: monospace;
  226.     border: 1px solid #706B5E;
  227.     padding: 0.25em;
  228. }
  229.  
  230. input[type='submit']:hover {
  231.     cursor: pointer;
  232. }
  233.  
  234. .trap, .hidden, .mobile {
  235.     display: none;
  236. }
  237.  
  238. ul.rules {
  239.     margin-top: 1em;
  240.     margin-left: 1.6em;
  241. }
  242.  
  243. .doubledash {
  244.     float: left;
  245.     margin-top: 0.5em;
  246. }
  247.  
  248. .doubledash a:link, .doubledash a:visited {
  249.     color: #707070;
  250.     text-decoration: none;
  251. }
  252.  
  253. .doubledash a:hover {
  254.     color: #000000;
  255. }
  256.  
  257. .thread {
  258.     overflow: hidden;
  259. }
  260.  
  261. .thread_reply {
  262.     float: left;
  263.     clear: both;
  264. }
  265.  
  266. .thread_reply .post {
  267.     margin-left: 2em;
  268. }
  269.  
  270. .post {
  271.     background-color: #D7CFC0;
  272.     border-right: 1px solid #BFB5A1;
  273.     border-bottom: 1px solid #BFB5A1;
  274.     margin-bottom: 0.5em;
  275.     overflow: auto;
  276. }
  277.  
  278. .post_new {
  279.     border-right: 1px solid #B20000;
  280.     border-bottom: 1px solid #B20000;
  281. }
  282.  
  283. :target .filedeleted {
  284.     color: #BFB5A1;
  285. }
  286.  
  287. .thread_head {
  288.     clear: left;
  289.     background-color: #BFB5A1;
  290.     padding: 5px;
  291. }
  292.  
  293. .reflink a, .filename a, .filetype a, .togglethread a {
  294.     color: #000000;
  295.     text-decoration: none;
  296. }
  297.  
  298. .reflink a:hover, .filename a:hover, .filetype a:hover {
  299.     text-decoration: underline;
  300. }
  301.  
  302. .post_head {
  303.     padding: 0.4em 0.4em 0.1em 0.4em;
  304. }
  305.  
  306. .subject {
  307.     color: #B20000;
  308.     font-size: 1.2em;
  309. }
  310.  
  311. .postername {
  312.     color: #635537;
  313. }
  314.  
  315. .postername .tripcode {
  316.     font-weight: normal;
  317. }
  318.  
  319. .teampost {
  320.     color: #A000CC;
  321. }
  322.  
  323. .backreflink del {
  324.     color: #702802;
  325. }
  326.  
  327. .sticky {
  328. }
  329.  
  330. .locked {
  331. }
  332.  
  333. .sage {
  334.     color: #B20000;
  335. }
  336.  
  337. .post_body {
  338.     padding: 1.2em 0 0 1.2em;
  339. }
  340.  
  341. .file_container {
  342.     float: left;
  343. }
  344.  
  345. .file {
  346.     background-color: #BFB5A1;
  347.     text-align: center;
  348.     margin: 0 1.2em 1.2em 0;
  349.     float: left;
  350.     display: block;
  351.     vertical-align: top;
  352. }
  353.  
  354. .filesize {
  355.     font-size: 0.85em;
  356. }
  357.  
  358. .filelink a img {
  359.     display: block;
  360.     margin: 0 auto;
  361. }
  362.  
  363. .filelink a:active {
  364.     top: 0;
  365. }
  366.  
  367. .filetype, .filedeleted {
  368.     font: bold 2em sans-serif;
  369.     width: 200px;
  370.     padding: 0.5em 0 0.5em 0;
  371. }
  372.  
  373. .filebg {
  374.     background-image: url("/img/erna-klein.png");
  375.     background-position: bottom left;
  376.     background-repeat: no-repeat;
  377. }
  378.  
  379. .filedeleted {
  380.     color: #D7CFC0;
  381. }
  382.  
  383. .text {
  384.     margin: 0 2em 1.2em 1.2em;
  385. }
  386.  
  387. .text ul li, .text ol li {
  388.     list-style-position: inside;
  389. }
  390.  
  391. blockquote.unkfunc, span.quote {
  392.     color: #BD3000;
  393.     margin: 0;
  394. }
  395.  
  396. blockquote.gruen, span.quote {
  397.     color: #789922;
  398.     margin: 0;
  399. }
  400.  
  401. .spoiler {
  402.     background-color: #000000;
  403.     color: #000000;
  404.     text-shadow:none;
  405. }
  406.  
  407. .spoiler a {
  408.     color: #000000;
  409. }
  410.  
  411. .spoiler:hover, .spoiler a:hover {
  412.     color: #FFFFFF;
  413. }
  414.  
  415. .ban, .tldr, .user_banned {
  416.     margin-top: 1em;
  417.     padding-top: 0;
  418. }
  419.  
  420. .ban, .user_banned {
  421.     color: #B20000;
  422.     text-transform: uppercase;
  423. }
  424.  
  425. .omittedposts, .notice {
  426.     color: #707070;
  427.     margin-left: 2em;
  428. }
  429.  
  430. .omittedposts {
  431.     margin-bottom: 0.5em;
  432. }
  433.  
  434. .notice img {
  435.     vertical-align: middle;
  436. }
  437.  
  438. .notice span {
  439.     padding: 0 0.5em;
  440.     border-right: 1px solid #B20000;
  441.     border-bottom: 1px solid #B20000;
  442. }
  443.  
  444. .togglethread a:hover, .togglethread img:hover {
  445.     cursor: pointer;
  446. }
  447.  
  448. ul.pagelist {
  449.     background-color: #D7CFC0;
  450.     border-right: 1px solid #BFB5A1;
  451.     border-bottom: 1px solid #BFB5A1;
  452.     padding: 0.5em;
  453.     margin: 0 1em 0 0;
  454.     float: left;
  455. }
  456.  
  457. .delete {
  458.     float: right;
  459. }
  460.  
  461. input[type='password'] {
  462.     width: 8em;
  463. }
  464.  
  465. .passvalid {
  466.     background-color: #706B5E;
  467.     color: #FFFFFF;
  468.     font-weight: bold;
  469.     text-align: center;
  470.     padding: 5px;
  471.     margin: 5px 0;
  472. }
  473.  
  474. .managehead th, .row1 td, .row2 td {
  475.     padding: 5px;
  476. }
  477.  
  478. .managehead {
  479.     background-color: #706B5E;
  480.     color: #FFFFFF;
  481.     font-weight: bold;
  482.     text-align: center;
  483. }
  484.  
  485. .managearea {
  486.     text-align: center;
  487. }
  488.  
  489. .managearea table {
  490.     margin: 1em;
  491.     border-spacing: 0.25em;
  492. }
  493.  
  494. .managechild {
  495.     display: inline-block;
  496.     text-align: left;
  497. }
  498.  
  499. .row1 {
  500.     background-color: #D7CFC0;
  501. }
  502.  
  503. .row2 {
  504.     background-color: #BFB5A1;
  505. }
  506.  
  507. /* for static templates in tpl/ */
  508. .title, .info th {
  509.     background-color: #706B5E;
  510.     color: #FFFFFF;
  511.     font-weight: bold;
  512.     padding: 5px;
  513. }
  514.  
  515. .info {
  516.     background-color: #D7CFC0;
  517.     border-right: 1px solid #BFB5A1;
  518.     border-bottom: 1px solid #BFB5A1;
  519.     border-left: 1px solid #BFB5A1;
  520.     padding: 1em;
  521.     margin: 0 0 0.5em 0;
  522. }
  523.  
  524. .info table {
  525.     margin-top: 1em;
  526. }
  527.  
  528. .info td {
  529.     text-align: center;
  530.     border: 1px solid #706B5E;
  531.     padding: 5px;
  532. }
  533. /* static templates END */
  534.  
  535. .error {
  536.     color: #B20000;
  537.     font-size: 1.5em;
  538.     text-align: center;
  539. }
  540.  
  541. footer {
  542.     text-align: center;
  543.     padding: 1em 0 1em 0;
  544.     clear: both;
  545. }
  546.  
  547. footer img {
  548.     vertical-align: middle;
  549. }
  550.  
  551. /* stuff for context.js */
  552. #ancbox {
  553.     padding-top: 0.5em;
  554.     padding-left: 0.5em;
  555.     padding-right: 0.5em;
  556.     bottom: 0.25em;
  557.     box-shadow: 0 0 0 100000px rgba(112, 107, 94, 0.5);
  558. }
  559. #desbox {
  560.     top: -0.25em;
  561. }
  562. .context {
  563.     position: relative;
  564.     clear: left;
  565. }
  566. .context > div, #preview {
  567.     border: 1px solid rgb(99, 85, 55);
  568.     background-color: rgb(236, 233, 226);
  569.     position: absolute;
  570.     left: 10em;
  571. }
  572. #preview {
  573.     box-shadow: 1px 2px 2px #706B5E;
  574. }
  575. #preview .post {
  576.     margin-bottom: 0;
  577.     border-color: #BFB5A1;
  578. }
  579. #post_cache {
  580.     visibility: hidden;
  581.     position: absolute;
  582.     top: -100000px;
  583. }
  584.  
  585. /* TODO integrate colours into specific stylesheets */
  586. .highlight .post, :target .post {
  587.     background-color: #BFB5A1;
  588. }
  589.  
  590. .highlight .post .file, :target .post .file {
  591.     background-color: #D7CFC0;
  592. }
  593.  
  594. #styleSwitcher {
  595.     float: right; !important
  596. }
Advertisement
Add Comment
Please, Sign In to add comment