Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.04 KB | None | 0 0
  1. /* Inspired by /8lounge/ and /t/ */
  2.  
  3.  
  4. /* fdownload is a script that fixes the "click filename to download original filename" function:
  5. The scrip being:
  6.  
  7. \\\\JavaScript\\\\
  8.  
  9. (function() {
  10. var fileinfo;
  11. fileinfo = $('.fileinfo');
  12. fileinfo.each(function() {
  13. var fName, filename, orighref;
  14. orighref = $(this).children('a');
  15. orighref = orighref.attr("href");
  16. orighref = orighref.replace('media.', '');
  17. filename = $('.unimportant > a', this);
  18. fName = filename.attr("download");
  19. return $(this).append(' <a class="fdownload" download="' + fName + '" href="' + orighref + '">Download</a>');
  20. });
  21. }).call(this);
  22.  
  23. \\\\JavaScript\\\
  24.  
  25. */
  26.  
  27. @-moz-document domain(8ch.net) {
  28.     *:focus {
  29.         outline: 0;
  30.     }
  31.     body {
  32.         font-family: 'Segoe UI', 'Arial';
  33.         font-size: 15px;
  34.         max-width: 728px;
  35.         margin: auto !important;
  36.     }
  37.     body, .thread {
  38.         padding: 0 !important;
  39.         margin: 1em !important;
  40.     }
  41.     html, body {
  42.         max-width: 100%;
  43.         overflow-x: hidden;
  44.     }
  45.     .thread, .body {
  46.         font: 10px !important;
  47.     }
  48.     .fdownload {
  49.         transition: all .5s ease-in-out;
  50.         color: #1A4666 !important;
  51.         text-decoration: none !important;
  52.         box-shadow: 0px 0px 0px 1px #1A4666;
  53.         padding-left: 3px;
  54.         padding-right: 3px;
  55.         border-radius: 5px;
  56.     }
  57.     .reply[class][class] {
  58.         background: #e8e8e8;
  59.         border-top: solid #ccc 1p !important;
  60.         ;
  61.         border-bottom: none;
  62.         border-right: none;
  63.     }
  64.     h1 {
  65.         letter-spacing: 2px
  66.     }
  67.     label {
  68.         cursor: pointer
  69.     }
  70.     .highlighted {
  71.         background: #ddd !important;
  72.         border: none;
  73.     }
  74.     p.intro {
  75.         text-decoration: none;
  76.         font-size: inherit;
  77.         font-family: inherit;
  78.     }
  79.     a.email {
  80.         font-size: inherit;
  81.         font-family: inherit;
  82.     }
  83.     .op {
  84.         font-size: 1.1em;
  85.         color: #111;
  86.     }
  87.     body {
  88.         font-family: 'Segoe UI', 'Arial';
  89.         font-size: 15px;
  90.         color: black;
  91.         background: #f5f5f5;
  92.         padding-left: 20px;
  93.         margin: auto !important;
  94.     }
  95.     time, .fileinfo, .omitted, a {
  96.         font-size: 0.8em;
  97.         color: #888
  98.     }
  99.     .body, .omitted {
  100.         line-height: 1.4;
  101.     }
  102.     .post-hide-link, .hide-thread-link {
  103.         text-decoration: none;
  104.     }
  105.     hr {
  106.         box-shadow: inset 0 2px #1A4666;
  107.         border-radius: 10px;
  108.         border: 1px;
  109.         padding: 1.5px;
  110.         height: 1px;
  111.         background: #1A4666;
  112.         opacity: .5;
  113.     }
  114.     .intro .name[class] {
  115.         color: #1A4666;
  116.     }
  117.     .intro .subject[class] {
  118.         font-size: 11pt;
  119.         padding: 5px;
  120.         margin-right: 5px;
  121.         color: #b93241;
  122.     }
  123.     div.post.op p.intro span.subject {
  124.         font-size: 12pt;
  125.         display: block;
  126.         margin-bottom: 2px;
  127.     }
  128.     .blotter, h1, th, .banner {
  129.         font-family: inherit;
  130.         font-weight: normal !important;
  131.     }
  132.     div.boardlist[class][class], .styles {
  133.         position: fixed;
  134.         box-shadow: none;
  135.         border: none;
  136.         text-align: center;
  137.         background: #f5f5f5;
  138.         width: 100%;
  139.         font-size: inherit;
  140.     }
  141.     div.banner {
  142.         background-color: #1A4666;
  143.     }
  144.     div.pages {
  145.         background: none;
  146.         color: #333;
  147.         border: none;
  148.     }
  149.     .body {
  150.         margin: 0 !important;
  151.     }
  152.     .quote {
  153.         color: #198c19;
  154.     }
  155.     #thread_stats {
  156.         color: #333;
  157.         padding-top: 4px;
  158.         float: right;
  159.         font-size: 10px;
  160.     }
  161.     #thread-links {
  162.         color: #333;
  163.         font-size: inherit
  164.     }
  165.     a:not(#favorite-star), a:visited, {
  166.         color: #FFF !important
  167.     }
  168.     a:not(#favorite-star):hover {
  169.         color: #1A4666 !important;
  170.     }
  171.     table * {
  172.         margin: 0;
  173.     }
  174.     form table tr th {
  175.         background: #f5f5f5 !important;
  176.         color: #4e606e;
  177.     }
  178.     #quick-reply th .handle {
  179.         width: calc(100% - 4px)!important;
  180.         padding: 5px 2px 3px;
  181.         color: #1A4666;
  182.     }
  183.     #expand-all-images {
  184.         display: inline-block;
  185.         padding: 3px 12px 5px 8px;
  186.         background: #f5f5f5;
  187.         z-index: 3;
  188.         position: fixed;
  189.         bottom: 0;
  190.         right: 0;
  191.         text-decoration: none !important;
  192.         border-left: 1px solid;
  193.         border-top: 1px solid;
  194.         border-color: #4e606e;
  195.         border-radius: 5px 0 0 0;
  196.     }
  197.     .unimportant {
  198.         text-decoration: none !important;
  199.     }
  200.     #ytplayer {
  201.         width: 500px;
  202.         height: 300px;
  203.         max-width: calc(100% - 40px);
  204.         background-color: rgba(0, 0, 0, 0.1);
  205.     }
  206.     :not(.reply) #ytplayer {
  207.         margin: 4px 20px 20px 2%!important;
  208.     }
  209.     .reply #ytplayer {
  210.         margin: 2px 20px 0px 0px!important;
  211.     }
  212. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement