Guest User

ernst gute informatiker css

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