Last active
September 27, 2015 03:28
-
-
Save jblaine/1204767 to your computer and use it in GitHub Desktop.
MediaWiki Monobook.css overrides
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Make MediaWiki Monobook skin not look like ass */ | |
/* Version 0.4alpha-gamma-beta-omega */ | |
/* jblaine AT SIGN kickflop.net */ | |
#globalWrapper { | |
/* Default of 127% is a bit small for my tastes */ | |
font-size: 160%; | |
} | |
#content { | |
font-family: Georgia, "Palatino Linotype", serif; | |
} | |
#bodyContent { | |
color: #111111; | |
margin: 0 1em 0 1em; | |
} | |
/* The following block surely needs some work. For */ | |
/* some reason I had to enumerate the selectors in */ | |
/* order to get it to work for them. Applying only */ | |
/* to #bodyContent did not work, but maybe the */ | |
/* width crap only applies to block elements? Too */ | |
/* lazy to look it up right now */ | |
#bodyContent p, #bodyContent pre, #bodyContent ul li, #bodyContent ol li { | |
max-width: 50em; | |
line-height: 1.4em; | |
} | |
#bodyContent p { | |
margin-top: 0.7em; | |
margin-bottom: 0.7em; | |
} | |
#bodyContent ol li, #bodyContent ul li { | |
padding: 0 0 0.15em 0; | |
} | |
#bodyContent pre { | |
white-space: pre; | |
overflow: auto; | |
font-size: 0.8em; | |
line-height: 1.1em; | |
border: dashed 1px #666666; | |
} | |
#bodyContent code { | |
padding-left: 0.2em; | |
padding-right: 0.2em; | |
color: #005500; | |
background-color: #FFFFFF; | |
line-height: 1; // this solves a vertical spacing problem | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: Helvetica, Arial, sans-serif; | |
} | |
h1 { | |
letter-spacing: -0.03em; | |
font-size: 2.1em; | |
font-weight: 700; | |
color: #333333; | |
} | |
h2 { | |
font-size: 1.75em; | |
font-weight: 700; | |
color: #393939; | |
border-bottom: none; | |
} | |
h3 { | |
font-size: 1.52em; | |
font-weight: 700; | |
color: #555555; | |
border-bottom: none; | |
} | |
h4 { | |
font-size: 1.28em; | |
font-weight: 700; | |
color: #666666; | |
border-bottom: none; | |
} | |
h5 { | |
font-size: 1.1em; | |
font-weight: 700; | |
color: #666666; | |
border-bottom: none; | |
} | |
strong, b { | |
font-weight: bold; | |
font-color: #555555; | |
} | |
#toc, #toc ul, #toc ul ul, #toc ul ul ul { | |
font-family: Helvetica, Arial, sans-serif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment