Advertisement
ahoka

4chan CSS 2015.08.28

Apr 16th, 2014
896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 10.30 KB | None | 0 0
  1. @namespace url(http://www.w3.org/1999/xhtml);
  2.  
  3. @-moz-document url-prefix("http://boards.4chan.org/"),
  4.                url-prefix("https://boards.4chan.org/") {
  5.     *:not(.fa):not(.YTLT-player-titlebar-button) {
  6.         font-family:"PF Tempesta Seven"!important;
  7.         font-size:12px!important;
  8.         font-style:normal!important;
  9.         font-weight:400!important;
  10.     }
  11.     body {
  12.         background:#1b1b1b!important;
  13.         color:#e9e6e6!important;
  14.     }
  15.  
  16.     /* Hidden elements */
  17.     hr:not(#unread-line),
  18.     .qr-link-container,
  19.     div.center,
  20.     .navLinks,
  21.     .sideArrows,
  22.     .postInfo > input[type="checkbox"],
  23.     .hide-reply-button,
  24.     .boardBanner,
  25.     .bottomCtrl,
  26.     .pagelist,
  27.     #boardNavDesktopFoot,
  28.     #qr .close,
  29.     #blotter,
  30.     #absbot {
  31.         display:none!important;
  32.     }
  33.    
  34.     :root .fixed.bottom-header body {
  35.         padding-bottom:1em!important;
  36.     }
  37.  
  38.     .postContainer .menu-button {
  39.         opacity:0;
  40.         float:right;
  41.         right:-2px;
  42.         top:-10px;
  43.         transition:top 0.25s ease, opacity 0.1s ease;
  44.     }
  45.     .stub .menu-button,
  46.     .opContainer .postInfo .menu-button,
  47.     .postContainer .postInfo .menu-button.open,
  48.     .postContainer:hover .postInfo .menu-button {
  49.         opacity:1;
  50.         top:0;
  51.     }
  52.     .stub .menu-button {
  53.         right:6px;
  54.     }
  55.     .opContainer .postInfo .menu-button {
  56.         right:7px;
  57.     }
  58.     .inline .postInfo .menu-button {
  59.         float:none;
  60.         opacity:1;
  61.         right:0!important;
  62.         top:0!important;
  63.     }
  64.  
  65.     :root .thumb > .menu-button > i {
  66.         background:#1b1b1b!important;
  67.     }
  68.     .thumb > .menu-button > i {
  69.         font-size:14px!important;
  70.         height:16px!important;
  71.         width:16px!important;
  72.         border-radius:0 0 0 4px!important;
  73.     }
  74.     .menu-button + .container:not(:empty) {
  75.         margin-left:0!important;
  76.     }
  77.    
  78.     :root s .quote:not(:hover),
  79.     :root s a:not(:hover) {
  80.         color:#000!important;
  81.     }
  82.     #notifications .notification a {
  83.         color:#e9e6e6!important;
  84.     }
  85.     #notifications .notification a:not(.close) {
  86.         text-decoration:underline!important;
  87.     }
  88.     #thread-watcher:before,
  89.     :root a.replylink:not(:hover),
  90.     :root a,
  91.     :root a:visited,
  92.     :root .deadlink:not(.forwardlink),
  93.     .button {
  94.         color:#8f5b5b!important;
  95.         text-decoration:none!important;
  96.     }
  97.     #thread-watcher:hover:before,
  98.     :root a.backlink,
  99.     :root .container > a.backlink.deadlink,
  100.     .warning,
  101.     div.post div.postInfo span.postNum a:hover,
  102.     :root a.replylink:hover,
  103.     :root a:not(.entry):hover {
  104.         color:#cf7275!important;
  105.     }
  106.     table.flashListing .name,
  107.     div.post div.postInfo span.nameBlock span.name {
  108.         color:#947686!important;
  109.     }
  110.     div.subject,
  111.     table.flashListing .subject,
  112.     div.post div.postInfo span.subject {
  113.         color:#94aad1!important;
  114.     }
  115.     div.post div.postInfo span.nameBlock span.postertrip {
  116.         color:#8ab4be!important;
  117.     }
  118.     :root .quote {
  119.         color:#c59f6f!important;
  120.     }
  121.     :root .dateTime {
  122.         color:#a49c9c!important;
  123.     }
  124.     div.pagelist,
  125.     :root #header-bar,
  126.     :root #qr select,
  127.     :root #qr option,
  128.     :root #file-n-submit > input[type="submit"],
  129.     :root .entry,
  130.     :root .field {
  131.         color:#e9e6e6!important;
  132.     }
  133.     div.stub {
  134.         padding:3px 0 3px 6px!important;
  135.     }
  136.     .stub > a.show-post-button {
  137.         vertical-align:bottom;
  138.     }
  139.     :root #file-n-submit > input[type="submit"] {
  140.         height:22px!important;
  141.         border:1px solid #161616;
  142.         margin:1px -1px 0!important;
  143.         border-left:0!important;
  144.         border-right:0!important;
  145.         width:76px!important;
  146.     }
  147.  
  148.     .stub,
  149.     #nav-links,
  150.     #qr option,
  151.     #dump-button,
  152.     :root .field,
  153.     :root #qr-file-button,
  154.     :root #file-n-submit > input[type="submit"],
  155.     :root .dialog {
  156.         background:#222!important;
  157.         border-color:#161616!important;
  158.     }
  159.     :root #qr-file-button:hover,
  160.     :root #file-n-submit > input[type="submit"]:hover,
  161.     #qr option:hover,
  162.     #dump-button:hover,
  163.     :root .field:hover,
  164.     :root #file-n-submit > input[type="submit"]:focus,
  165.     #menu .entry.focused,
  166.     :root .field:focus {
  167.         background:#1b1b1b!important;
  168.         border-color:#161616!important;
  169.     }
  170.     :root .field[name="name"]:not(:hover):not(:focus) {
  171.         color:transparent!important;
  172.     }
  173.     .prettyprint,
  174.     :root #qp .opContainer,
  175.     :root .inline .post,
  176.     .stub,
  177.     #nav-links,
  178.     div.reply,
  179.     div.reply:target {
  180.         border:1px solid #161616!important;
  181.     }
  182.     :root #fourchanx-settings fieldset {
  183.         border-color:#161616!important;
  184.     }
  185.     :root .entry {
  186.         border-bottom-color:#161616!important;
  187.     }
  188.     #menu .entry input {
  189.         vertical-align:top;
  190.     }
  191.     :root #qp,
  192.     :root .inline {
  193.         background:none!important;
  194.         border:0!important;
  195.     }
  196.     table.flashListing tr:nth-of-type(2n+1),
  197.     :root .suboption-list > div,
  198.     :root #qp .opContainer {
  199.         background:#222!important;
  200.     }
  201.     :root .inline .post {
  202.         padding:1px!important;
  203.     }
  204.     .pinned .thumb,
  205.     :root .qphl {
  206.         border-color:#cf7275!important;
  207.         outline:none!important;
  208.     }
  209.     .replyContainer {
  210.         display:flex;
  211.     }
  212.     .stub,
  213.     div.reply {
  214.         background:#222!important;
  215.         flex:1 0;
  216.         margin:1px 0 0!important;
  217.         padding:0!important;
  218.         width:100%;
  219.         -moz-box-sizing:border-box!important;
  220.     }
  221.     .highlightPost:not(.op),
  222.     div.reply:target {
  223.         background:#2a2a2a!important;
  224.     }
  225.     .postblock {
  226.         border:0!important;
  227.         color:#e9e6e6!important;
  228.         background:#222!important;
  229.      }
  230.     .thread:not([hidden]) + hr:not(:last-child) {
  231.         border-color:#161616!important;
  232.         display:block!important;
  233.     }
  234.     .thread {
  235.         padding-top:0.5em!important;
  236.     }
  237.     .navLinks {
  238.         margin-bottom:0!important;
  239.     }
  240.     :root div.postInfo {
  241.         padding:2px 8px!important;
  242.     }
  243.     div.post blockquote.postMessage {
  244.         margin:4px 16px 6px!important;
  245.     }
  246.     .reply .postInfo {
  247.         background:#1b1b1b!important;
  248.         border-bottom:1px solid #161616;
  249.         display:block!important;
  250.         padding:1px 0 2px!important;
  251.     }
  252.     :root #shortcuts #menu {
  253.         bottom:25px!important;
  254.         right:1px!important;
  255.     }
  256.     :root #qr {
  257.         z-index:4!important;
  258.     }
  259.     #qr .field:not(:first-child):not(.captcha-input),
  260.     #qr #dump-button,
  261.     #thread-watcher {
  262.         border-left:0!important;
  263.     }
  264.     #nav-links,
  265.     #updater:hover,
  266.     #qr #dump-button {
  267.         border-right:0!important;
  268.     }
  269.     #nav-links
  270.     #updater:hover,
  271.     #qr:not(.dump) .textarea textarea {
  272.         border-top:0!important;
  273.     }
  274.     #qr,
  275.     #thread-watcher {
  276.         border-bottom:0!important;
  277.     }
  278.     #qr .textarea textarea {
  279.         max-height:184px;
  280.         transition:none!important;
  281.     }
  282.     #qr .move,
  283.     #thread-stats .move,
  284.     #thread-watcher .move,
  285.     #updater .move {
  286.         cursor:default!important;
  287.     }
  288.    
  289.     #custom-board-list a {
  290.         border-top:1px transparent!important;
  291.         padding:5px 1px 1px!important;
  292.         transition:all 300ms ease;
  293.     }
  294.     #custom-board-list a.current,
  295.     #custom-board-list a:hover {
  296.         border-bottom:0!important;
  297.         border-top:1px solid #8f5b5b!important;
  298.     }
  299.     .thread:not(:last-of-type) > .expanded-image > .op > .file::after {
  300.         clear:none!important;
  301.     }
  302.     #unread-line {
  303.         background-image:linear-gradient(to left, rgba(117, 135, 99, 0), rgb(117, 135, 99), rgba(117, 135, 99, 0));
  304.         border:0!important;
  305.         height:1px!important;
  306.         margin-top:1px!important;
  307.     }
  308.     #delform {
  309.         margin:0 0 36px!important;
  310.     }
  311.     #delform .catalog-small,
  312.     #delform .catalog-large {
  313.         padding-top:32px;
  314.     }
  315.     .watched > a > img {
  316.         border-color:#8f5b5b!important;
  317.     }
  318.     :root #qr select {
  319.         background:none!important;
  320.         border:0!important;
  321.         height:20px!important;
  322.     }
  323.     :root #qr-file-button {
  324.         border-radius:0!important;
  325.     }
  326.     :root #qr input[type=submit] {
  327.         border-right:1px solid #161616!important;
  328.         border-radius:0!important;
  329.         height:25px!important;
  330.         margin-top:0!important;
  331.         margin-right:0!important;
  332.     }
  333.     .menu-button + .container :first-child {
  334.         margin-left:0!important;
  335.     }
  336.     :root .catalog-thread > .subject {
  337.         line-height:12px!important;
  338.     }
  339.  
  340.     /* Pretty Print */
  341.     .prettyprint, .catalog-code {
  342.         background-color:#1b1b1b!important;
  343.         margin-bottom:1px!important;
  344.         padding:4px!important;
  345.         vertical-align:middle!important;
  346.     }
  347.     .op .prettyprint, .catalog-code  {
  348.         background-color:#161616!important;
  349.         border-color:#111!important;
  350.     }
  351.     .prettyprint span[class] {
  352.         font-family:"Profont"!important;
  353.         font-size:11px!important;
  354.     }
  355.     .prettyprint .com {
  356.         color:#5b595a!important;
  357.     }
  358.     .prettyprint .kwd {
  359.         color:#94aad1!important;
  360.     }
  361.     .prettyprint .lit {
  362.         color:#cf7275!important;
  363.     }
  364.     .prettyprint .pln {
  365.         color:#e9e6e6!important;
  366.     }
  367.     .prettyprint .pun {
  368.         color:#c59f6f!important;
  369.     }
  370.     .prettyprint .str,
  371.     .prettyprint .atv {
  372.         color:#9ebf7c!important;
  373.     }
  374.     .prettyprint .tag {
  375.         color:#70819e!important;
  376.     }
  377.     .prettyprint .typ {
  378.         color:#edc472!important;
  379.     }
  380.     .prettyprint .atn {
  381.         color:#c98dad!important;
  382.     }
  383.     .quotelink.forwardlink,
  384.     .backlink.forwardlink {
  385.         text-decoration:none;
  386.         border-bottom:1px dashed;
  387.     }
  388.    
  389.     :root .watch-thread-link {
  390.        background-image: url("data:image/svg+xml,<svg viewBox='0 0 26 26' preserveAspectRatio='true' xmlns='http://www.w3.org/2000/svg'><path fill='rgb(207,114,117)' d='M24.132,7.971c-2.203-2.205-5.916-2.098-8.25,0.235L15.5,8.588l-0.382-0.382c-2.334-2.333-6.047-2.44-8.25-0.235c-2.204,2.203-2.098,5.916,0.235,8.249l8.396,8.396l8.396-8.396C26.229,13.887,26.336,10.174,24.132,7.971z'/></svg>")!important;
  391.     }
  392. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement