
Quick and dirty wiki css
By: a guest on
Oct 11th, 2015 | syntax:
CSS | size: 2.16 KB | views:
134 | expires: Never
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("wikipedia.org") {
}
@-moz-document regexp("(.*wikipedia.org/wiki/(?!.*:)(?!Main_Page).*)|(.*secure.wikimedia.org/wikipedia/../wiki/(?!.*:)(?!Main_Page).*)") {
/*Hide stuff I don't need*/
#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 {
display: none !important;
}
/*background color*/
body {
background-color: #E5E1C8 !important;
}
/* Centering stuff*/
#content {
font-family: gelasio !important;
text-align: justify;
border: none !important;
max-width: 420px;
display: -webkit-flex; /*For anon with chrome or other webkit based browser*/
display: flex;
-webkit-flex-direction: row
flex-direction: row;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
margin: 2rem auto;
/*box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.55), 0 2px 10px 0 rgba(0, 0, 0, 0.4);*/
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.35) !important;
}
/*Image and infographix*/
.infobox {
border: 0px solid rgb(170, 170, 170);
border-spacing: 0px;
background-color: #F2F0E3;
color: #7D5D4D;
margin: 0.5em 0px 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
}
td, th {
background-color: #F2F0E3 !important;
}
.infobox > tbody:nth-child(1) > tr:nth-child(3) > th:nth-child(1) {
background-color: #F2F0E3 !important;
}
div.thumbinner {
border: 0px solid rgb(204, 204, 204);
padding: 2px;
background-color: #E5E1C8;
font-size: 94%;
text-align: center;
overflow: hidden;
}
/*Font Color*/
#firstHeading, .mw-redirect, a, .t_nihongo_icon, h2, b {
color: #3B5F5A !important;
}
}