Advertisement
Gomuboy

New 4chan CSS

Dec 27th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.94 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Oswald:300');
  2. @media (orientation: portrait)
  3.   {
  4.     /*NSFW*/
  5.     @-moz-document regexp("(https|http)\:\/\/boards\.4chan\.org\/(?=ic|wg|r9k|pol|soc|s4s|hc|hm|hr|gif|aco|trash|[fibsheudytr]\/).*")
  6.       {
  7.         :root
  8.           {
  9.             --bg: #040202 !important;
  10.             --green: #DFDABF !important;
  11.             --normal: #BDB596 !important;
  12.             --link: #9A8E78 !important;
  13.             --bg-button: #362F2B !important;
  14.             --subject: #624F44 !important;
  15.             --name: #70655A !important;
  16.           }      
  17.        
  18.         body { background-image: url("https://i.imgur.com/qPp99JB.jpg"); }
  19.       }
  20.  
  21.     /*SFW*/
  22.     @-moz-document regexp("(https|http)\:\/\/boards\.4chan\.org\/(?!ic|wg|r9k|pol|soc|s4s|hc|hm|hr|gif|aco|trash|[fibsheudytr]\/).*")
  23.       {
  24.         :root
  25.           {
  26.             --bg: #221516 !important;
  27.             --green: #B8BC97 !important;
  28.             --normal: #4B6964 !important;
  29.             --link: #2F4544 !important;
  30.             --bg-button: #1D3049 !important;
  31.             --subject: #386095 !important;
  32.             --name: #799594 !important;
  33.          }
  34.  
  35.         body { background-image: url("https://i.imgur.com/wuRM6yK.jpg"); }
  36.       }
  37.  
  38. @-moz-document domain("4chan.org")
  39.   {
  40.    
  41.     /*===============================================Global Fixes============================================*/
  42.    
  43.     body
  44.       {
  45.         font-family: "Oswald" !important;
  46.         font-size: 15px !important;
  47.         background-size: 1080px 1920px;
  48.         background-attachment: fixed;
  49.         color: var(--normal) !important;
  50.       }
  51.    
  52.     a, #fourchanx-settings label { text-decoration: none !important; }
  53.        
  54.     input
  55.       {
  56.         font-family: "Oswald" !important;
  57.         border: 0px !important;
  58.         outline: none !important;
  59.         border-radius: 0px !important;
  60.       }
  61.    
  62.     hr,
  63.     .sideArrows,
  64.     #absbot,
  65.     .stylechanger
  66.       { display: none; }
  67.    
  68.     .board > .thread,
  69.     .post
  70.       {
  71.         width: 100% !important;
  72.         overflow: hidden !important;
  73.       }
  74.    
  75.     .board,
  76.     #ctrl-top
  77.       {
  78.         width: 85% !important;
  79.         margin-left: 7.5% !important;
  80.       }
  81.  
  82.     .post,
  83.     .dialog,
  84.     .suboption-list > *,
  85.     .focused
  86.       { background-color: var(--bg) !important; }
  87.    
  88.     .post, .dialog
  89.       {
  90.         border-top: none !important;
  91.         border-right: none !important;
  92.         border-bottom: none !important;
  93.         border-left: none;
  94.         padding: 0px !important;
  95.       }
  96.    
  97.     .quote,
  98.     a:hover,
  99.     label:hover,
  100.     div.post div.postInfo span.postNum a:hover
  101.       { color: var(--green) !important; }
  102.    
  103.     a,
  104.     .quotelink,
  105.     label,
  106.     .has-submenu,
  107.     a.replylink:not(:hover),
  108.     .pagelist .pages
  109.       { color: var(--link) !important; }
  110.    
  111.     .subject { color: var(--subject) !important; }
  112.     .name,
  113.     .postertrip
  114.       { color: var(--name) !important; }
  115.    
  116.     .postertrip { font-style: italic !important; margin-right: 5px !important;}
  117.    
  118.     .inline
  119.       {
  120.         background-color: inherit !important;
  121.         border-color: var(--normal) !important;
  122.         width: calc(100% - 2px) !important;
  123.       }
  124.    
  125.     .reply:target,
  126.     .reply.highlight
  127.       {
  128.         background-color: var(--bg-button) !important;
  129.         border: none !important;
  130.       }
  131.    
  132.     .deleteform { display: none !important; }
  133.    
  134.     /*===============================================Index Fixes============================================*/
  135.    
  136.     a.qr-link
  137.       {
  138.         background: none !important;
  139.         background-color: var(--bg-button) !important;
  140.         border: none !important;
  141.         padding-top: 5px !important;
  142.       }
  143.    
  144.     #togglePostFormLink { display: none !important; }  
  145.    
  146.     tfoot { text-align: center !important; }
  147.    
  148.     tfoot tr td,
  149.     #globalMessage
  150.       { font-size: 15px !important; }    
  151.    
  152.     #ctrl-top { text-align: center !important; margin-top: 2px !important;}
  153.    
  154.     #ctrl-top input
  155.       {
  156.         margin: 0% 40% !important;
  157.         background-color: var(--bg-button) !important;
  158.         color: var(--normal) !important;
  159.         font-size: 14px !important;
  160.         text-align: center !important;
  161.         padding: 3px 0px !important;
  162.       }
  163.    
  164.     #ctrl-top input:focus { border: none !important; }
  165.    
  166.     #ctrl-top a { margin-left: 0% !important; }
  167.    
  168.     .thread { margin-top: 5px !important; }
  169.    
  170.     .pagelist
  171.       {
  172.         margin-left: 33% !important;
  173.         padding: 0px !important;
  174.         border: none !important;
  175.         background-color: transparent !important;
  176.       }
  177.    
  178.     .pagelist * { font-size: 15px !important; }
  179.    
  180.     .pagelist .cataloglink
  181.       {
  182.         border: none !important;
  183.         padding-left: 0px !important;
  184.       }
  185.    
  186.     .pagelist input
  187.       {
  188.         margin-top: 3px !important;
  189.         background-color: var(--bg-button) !important;
  190.         color: var(--normal) !important;
  191.       }
  192.    
  193.     .pagelist span { color: var(--normal) !important; }
  194.    
  195.     .bottomCtrl { margin: 0px 75px 0px 0px !important; }
  196.  
  197.     #custom-board-list, #full-board-list { color: var(--normal) !important; }
  198.    
  199.     .menu-button { color: var(--normal) !important; }
  200.    
  201.     div.boardTitle { font-family: "Oswald" !important; }
  202.    
  203.     /*===============================================OP Fixes============================================*/
  204.    
  205.     .post.op { padding-bottom: 3% !important; }
  206.    
  207.     .summary, .abbr { color: var(--normal) !important; }
  208.    
  209.     .summary
  210.       {
  211.         position: absolute !important;
  212.         margin: -3% 0% 0% 1% !important;
  213.       }
  214.    
  215.     .abbr
  216.       {
  217.         float: right !important;
  218.         margin: 2.8% -1.255% -2.8% 0% !important;
  219.       }
  220.  
  221.     /*===============================================QR Fixes============================================*/
  222.    
  223.     .move select { display: none !important; }
  224.    
  225.     #qr form input,
  226.     #qr form input::-moz-placeholder,
  227.     #qr form .textarea textarea,
  228.     #qr form .textarea textarea::-moz-placeholder,
  229.     #qr-filename-container,
  230.     #qr form .textarea textarea,
  231.     #qr-no-file
  232.       {
  233.         font-family: "Oswald" !important;
  234.         color: var(--normal) !important;
  235.       }
  236.    
  237.     #qr form input { background-color: var(--bg-button) !important; }
  238.     #qr form input::-moz-placeholder,
  239.     #qr form .textarea textarea,
  240.     #qr form .textarea textarea::-moz-placeholder,
  241.     #qr-filename-container
  242.       { background-color: var(--bg) !important; }
  243.    
  244.     #qr form .textarea textarea { border: none !important; }
  245.    
  246.     .captcha-input { margin: 0px !important; }
  247.    
  248.     input:focus:not([type]) { border: none !important; }
  249.    
  250.     #file-n-submit {margin-top: 0px !important; }
  251.    
  252.     #file-n-submit > input
  253.       {
  254.         background: none !important;
  255.         background-color: var(--bg-button) !important;
  256.         color: var(--normal) !important;
  257.         margin: 0px !important;
  258.       }
  259.    
  260.     /*===============================================Thread Fixes============================================*/
  261.    
  262.     .navLinks { text-align: center !important; }
  263.    
  264.     .brackets-wrap.qr-link-container-bottom {display: none !important; }
  265.    
  266.     #shortcut-updater, #shortcut-stats { color: var(--normal) !important; }
  267.    
  268.     /*===============================================Post Fixes============================================*/
  269.  
  270.     .postInfo input { display: none !important; }
  271.    
  272.     .postMessage
  273.       {
  274.         margin-right: 20px !important;
  275.         margin-left: 20px !important;
  276.       }
  277.    
  278.     .post.op > .file,
  279.     .nameBlock
  280.       {
  281.         margin-left: 4px !important;
  282.         margin-top: 2px !important;
  283.       }
  284.  
  285.     /*===============================================Catalog Fixes============================================*/
  286.    
  287.     span.button {color: var(--link) !important;}
  288.    
  289.     span.button:hover {color: var(--green) !important;}
  290.    
  291.     #settings select
  292.       {
  293.         font-family: "Oswald" !important;
  294.         background-color: var(--bg-button) !important;
  295.         color: var(--normal) !important;
  296.         border: 0px !important;
  297.         border-radius: 0px !important;
  298.       }
  299.    
  300.     #threads { padding: 0px !important; }
  301.    
  302.     #threads.extended-small .thread
  303.       {
  304.         width: 180px;
  305.         min-height: 215px !important;
  306.         background-color: var(--bg) !important;
  307.         max-height: 215px !important;
  308.         margin: 5px !important;
  309.       }
  310.    
  311.     #threads.extended-small .thread a img { margin-top: 5px !important; }
  312.    
  313.     #threads.extended-small .thread .postMenuBtn { margin-top: -2px !important; }
  314.    
  315.     #post-menu ul { border: none !important; }
  316.    
  317.     #post-menu li
  318.       {
  319.         background-color: var(--bg) !important;
  320.         color: var(--link) !important;
  321.         border: none !important;
  322.         font-size: 14px !important;
  323.       }
  324.    
  325.     #post-menu li:hover { color: var(--green) !important; }
  326.    
  327.     #threads.extended-small .thread .meta { line-height: 10px !important; }
  328.    
  329.     #content #ctrl #info,
  330.     #content #ctrl #settings
  331.       { margin-top: 1% !important;}
  332.    
  333.     #content #ctrl #info { margin-left: 41.25% !important; }
  334.    
  335.     .navLinks.navLinksBottom.mobilebtn { margin-left: 42.25% !important; }
  336.    
  337.     #content #ctrl #settings { margin: 1% 0% 0% 27.5% !important; float: left !important; }
  338.    
  339.     #content #styleSwitcher,
  340.     #content #ctrl #settings span:nth-child(4)
  341.       { display: none !important; }
  342.    
  343.     #qf-box
  344.       {
  345.         background-color: var(--bg-button) !important;
  346.         color: var(--normal) !important;
  347.         font-size: 14px !important;
  348.         text-align: center !important;
  349.       }
  350.    
  351.     #qf-box:focus {border: none !important; }
  352.    
  353.     /*===============================================4chanX Fixes============================================*/
  354.    
  355.     fieldset { border-color: var(--normal) !important; border-radius: 0px !important; }
  356.    
  357.     #fourchanx-settings code
  358.       {
  359.         background-color: var(--bg) !important;
  360.         color: var(--normal) !important;
  361.       }
  362.    
  363.     #fourchanx-settings select,
  364.     #fourchanx-settings button
  365.       {
  366.         font-family: "Oswald" !important;
  367.         outline: none !important;
  368.         border-radius: 0px !important;
  369.       }
  370.    
  371.     #fourchanx-settings select,
  372.     #fourchanx-settings textarea,
  373.     #fourchanx-settings button,
  374.     #fourchanx-settings input
  375.       {
  376.         background-color: var(--bg-button) !important;
  377.         color: var(--normal) !important;
  378.         border: 0px !important;
  379.       }
  380.    
  381.    #fourchanx-settings kbd
  382.       {
  383.         background-color: var(--bg-button) !important;
  384.         color: var(--normal) !important;
  385.         border: 1px solid var(--bg-button) !important;
  386.         border-radius: 3px 3px 3px 3px !important;
  387.         box-shadow: 0 1px 0 var(--bg-button), 0 0 0 2px var(--bg-button) inset !important;
  388.       }
  389.    
  390.     /*===============================================Specific Fixes============================================*/
  391.    
  392.     .qr-link { border-radius: 0px !important; }
  393.    
  394.     .qphl
  395.       {
  396.         outline: 3px dotted var(--normal) !important;
  397.         margin-left: 4px !important;
  398.         width: calc( 100% - 7px ) !important;
  399.       }
  400.    
  401.     /*Used to make the hover has no effect on post*/
  402.    
  403.     .qphl > .postInfo,
  404.     .qphl > .file,
  405.     .qphl > .postMessage
  406.       {
  407.         position: relative !important;
  408.         left: -4px !important;
  409.       }
  410.    
  411.     .yourPost > .reply,
  412.     .quotesYou > .reply,
  413.     .yourPost,
  414.     .quotesYou
  415.       { border-left-color: var(--green) !important; }
  416.    
  417.     .quotelink.forwardlink, .backlink.forwardlink { color: var(--green) !important; }
  418.    
  419.     .boardTitle { color: var(--normal) !important; }
  420.    
  421.     #bannerCnt { border: none !important; }    
  422.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement