Skip to content

Instantly share code, notes, and snippets.

@iamlemec
Created August 3, 2016 20:09
Show Gist options
  • Save iamlemec/d5539b0855cb3d90789574ff915d37bd to your computer and use it in GitHub Desktop.
Save iamlemec/d5539b0855cb3d90789574ff915d37bd to your computer and use it in GitHub Desktop.
Wikipedia CSS (for vector theme) that makes things look super modern and awesome.
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
body {
background-color: white;
font-family: 'Open Sans', sans-serif;
}
#content {
width: 700px;
margin-top: 50px;
margin-left: auto;
margin-right: auto;
border: none;
}
#firstHeading {
text-align: center;
border: none;
font-family: 'Open Sans', sans-serif !important;
font-size: 35px !important;
font-weight: 700 !important;
}
.mw-indicators {
position: absolute !important;
}
#siteSub {
text-align: center;
}
.hatnote {
padding-left: 0px !important;
}
h2 > .mw-headline {
font-family: 'Open Sans', sans-serif !important;
font-size: 27px !important;
font-weight: 700 !important;
}
h2 {
margin-top: 45px !important;
border-bottom: none !important;
}
h3 {
margin-top: 25px !important;
}
h4 {
margin-top: 20px !important;
}
h5 {
margin-top: 20px !important;
}
p {
margin-top: 15px !important;
font-size: 15px;
line-height: 160%;
/* text-align: justify; */
}
.mwe-popups {
font-size: 15px;
line-height: 160%;
}
li {
font-size: 15px;
line-height: 160%;
}
#mw-page-base {
background-image: none;
}
.infobox {
/* position: absolute; */
/* top: 0px; */
/* left: 100%; */
margin-left: 25px !important;
/* margin-right: 25px !important; */
/* right: 100%; */
border: none !important;
background-color: white !important;
}
.navbox,
.vertical-navbox,
.catlinks {
border: none !important;
background-color: white !important;
}
.ambox {
position: absolute;
margin-left: 105% !important;
width: 280px;
background-color: white !important;
border-color: #EEE !important;
}
.metadata {
display: none;
}
.thumbinner {
background-color: white !important;
border: none !important;
padding-top: 13px !important;
}
.quotebox {
background-color: white !important;
border-top: none !important;
border-left: none !important;
border-right: none !important;
margin-left: 25px !important;
}
.quotebox p {
margin-top: 0px !important;
}
.wikitable {
background-color: white !important;
}
.wikitable > tr > th,
.wikitable > tbody > tr > th {
background-color: #F9F9F9 !important;
}
#p-navigation,
#p-interaction,
#p-tb,
#p-coll-print_export,
#p-wikibase-otherprojects,
#p-lang {
display: none;
}
#p-logo {
transform: scale(0.75);
}
#p-views {
background-image: none;
}
#p-views > ul > li {
background-image: none;
background-color: white;
}
#p-views > ul > li > span {
background-image: none;
}
#p-namespaces {
background-image: none;
}
#p-namespaces > ul > li {
background-image: none;
background-color: white;
}
#p-namespaces > ul > li > span {
background-image: none;
}
#p-cactions {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment