Skip to content

Instantly share code, notes, and snippets.

@paulmaloney
Forked from krisnoble/vector.css
Last active October 11, 2018 17:57
Show Gist options
  • Save paulmaloney/5983467 to your computer and use it in GitHub Desktop.
Save paulmaloney/5983467 to your computer and use it in GitHub Desktop.
1. Added extra line-height in body copy. 2. Added line-height to the title and made bold. 3. Aligned images to the left. 4. Added italic to the site sub. 5. Added link color and decoration and hover color. 6. Optional old style wiki logo Screenshot: http://mlny.in/QMoE Optional Logo Screenshot: http://mlny.in/QNDG
body {font-family:"Open Sans", "Helvetica Neue", Arial, sans-serif;}
h1, h2, h3, h4, h5, h6 {border-bottom-color:#ddd;}
p {line-height:1.8em; margin-bottom:1.8em;}
#mw-content-text {font-size:1.1em; line-height:1.8em;}
li:last-of-type, dd:last-of-type {margin-bottom:1.3em;}
#mw-content-text h2 {padding-top:1.7em;}
a, div#content a.external {color:#00d;}
a:visited, div#content a.external:visited{color:#90d;}
.mw-editsection, .mw-editsection a {color:#ccc !important;}
#mw-panel .portal{-webkit-transition:opacity 250ms ease; opacity:0.3;}
#mw-panel:hover .portal{opacity:1;}
#mw-panel a {color:#666 !important;}
#mw-head{-webkit-transition:opacity 250ms ease; opacity:0.6;}
#mw-head:hover{opacity:1;}
#mw-head a{color:#666 !important;}
#mw-head div.vectorTabs li.selected {background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAAPElEQVR4XuWK2xEAIAzCsPvv5DSu0ahX3yv4wQVyGGCSvg2dnJvduT8sz/IwKOIfjCi2z/76FhHeJcslVZQFLUC06LZ/AAAAAElFTkSuQmCC); background-image: url(//bits.wikimedia.org/static-1.22wmf8/skins/vector/images/tab-normal-fade.png?2013-06-20T16:33:20Z)!ie; font-weight:bold;}
#mw-head:hover div.vectorTabs li.selected {background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkAQAAAABvV2fNAAAADUlEQVQIHWNoYBgWEACJ5TIB0K9KcAAAAABJRU5ErkJggg==); background-image: url(//bits.wikimedia.org/static-1.22wmf8/skins/vector/images/tab-current-fade.png?2013-06-20T16:33:20Z)!ie;}
.toc {border-color:#ddd !important; margin-bottom:1.3em;}
.toc li:last-of-type {margin-bottom:0 !important;}
sup.reference a {color:#aaa !important;}
table.ambox {border-top:none; border-right:none; border-bottom:none; border-left-width:5px; background-color:#f6f6f6; margin-bottom:1.3em;}
div.tright {margin: 0.5em 1.4em 1.3em 0 !important;}
div.tright, div.floatright, table.floatright {clear: left !important; float: left !important;}
#mw-content-text a {color: #3b5998 !important; font-weight: bold !important; text-decoration: underline !important;}
#mw-content-text a:hover {color: #000 !important;}
/* Optional Old Style Wiki Logo */
element.style {background-image: url("//upload.wikimedia.org/wikipedia/commons/9/93/Wikipedia-2nd-logo.png");}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment