December SPECIAL! For a limited time only. Get 20% discount on a LIFETIME PRO account!Want more features on Pastebin? Sign Up, it's FREE!
tweet
Guest

Quick and dirty wiki css

By: a guest on Oct 11th, 2015  |  syntax: CSS  |  size: 2.16 KB  |  views: 134  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. @namespace url(http://www.w3.org/1999/xhtml);
  2.  
  3. @-moz-document domain("wikipedia.org") {
  4. }
  5.  
  6. @-moz-document regexp("(.*wikipedia.org/wiki/(?!.*:)(?!Main_Page).*)|(.*secure.wikimedia.org/wikipedia/../wiki/(?!.*:)(?!Main_Page).*)") {
  7.  
  8. /*Hide stuff I don't need*/
  9.  
  10. #mw-head, #mw-panel, .mw-wiki-logo, #footer, .navbox, #catlinks, #siteSub, .metadata, #mw-page-base, .infobox > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) > div:nth-child(2), .thumbcaption, .fn, #toc, .mw-editsection-bracket, .mw-editsection, .infobox > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1), #mw-indicator-good-star > a:nth-child(1) > img:nth-child(1), .mw-redirectedfrom {
  11.   display: none !important;
  12. }
  13.  
  14. /*background color*/
  15. body {
  16.  background-color: #E5E1C8 !important;
  17. }
  18.  
  19. /* Centering stuff*/
  20. #content {
  21.   font-family: gelasio !important;
  22.   text-align: justify;
  23.   border: none !important;
  24.   max-width: 420px;
  25.   display: -webkit-flex; /*For anon with chrome or other webkit based browser*/
  26.   display: flex;
  27.   -webkit-flex-direction: row
  28.   flex-direction: row;
  29.   -webkit-flex-wrap: wrap;
  30.   flex-wrap: wrap;
  31.   -webkit-align-items: center;
  32.   align-items: center;
  33.   -webkit-justify-content: center;
  34.   justify-content: center;
  35.   margin: 2rem auto;   
  36.   /*box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.55), 0 2px 10px 0 rgba(0, 0, 0, 0.4);*/
  37.   box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.35) !important;
  38. }
  39.  
  40. /*Image and infographix*/
  41.  
  42. .infobox {
  43.     border: 0px solid rgb(170, 170, 170);
  44.     border-spacing: 0px;
  45.     background-color: #F2F0E3;
  46.     color: #7D5D4D;
  47.     margin: 0.5em 0px 0.5em 1em;
  48.     padding: 0.2em;
  49.     float: right;
  50.     clear: right;
  51.     font-size: 88%;
  52.     line-height: 1.5em;
  53. }
  54.  
  55. td, th {
  56.    background-color: #F2F0E3 !important;
  57. }
  58.  
  59. .infobox > tbody:nth-child(1) > tr:nth-child(3) > th:nth-child(1) {
  60.   background-color: #F2F0E3 !important;
  61. }
  62.  
  63.  
  64. div.thumbinner {
  65.     border: 0px solid rgb(204, 204, 204);
  66.     padding: 2px;
  67.     background-color: #E5E1C8;
  68.     font-size: 94%;
  69.     text-align: center;
  70.     overflow: hidden;
  71. }
  72.  
  73. /*Font Color*/
  74.  
  75. #firstHeading, .mw-redirect, a, .t_nihongo_icon, h2, b {
  76.   color: #3B5F5A !important;
  77. }
  78.  
  79.  
  80.  
  81.  
  82.  
  83. }
clone this paste RAW Paste Data
Top