User:James Crippen/monobook.css

/*    Monobook CSS hacks.

I hate monobook but it’s the default. Maybe I can make it look better?

2006-Mar-08: First version derived from User:Finlay McWalter/standard.css and User:Tillwe/monobook.css. 2006-Jul-13: IPA display improvements. Also rounded corners from Meta:Help:User_style. 2006-Aug-20: Font wankery, size adjustments, removed rounded corners. 2006-Aug-21: More font fixing, size adjustments. Some stuff taken from User:Ævar Arnfjörð Bjarmason/monobook.css. 2006-Sep-27: Trying to fix stupid TT/CODE/monospace font lossage. Forced IPA to only one font to prevent stupid font switching in Gecko. 2007-Feb-19: Push p-cactions over one pixel.

/* Links */ a { text-decoration: none; color: #00007F; } a:hover { text-decoration: underline; color: #00007F; } a:visited { color: #7F007F; } a:active { color: #7F0000; } a.new { color: #FF0000; } a.stub { color: #772233; } a.interwiki { color: #3366BB; } a.external { color: #2255AA; }

/* Article */ body { color: black; font-family: Times, serif; }

font-size: 12pt; margin: 2.1em 1.0em 0em 10.5em; /* top right bottom left */ border-right: 0px solid black; }
 * 1) content {

p { margin: 0.5em 0.1em 0.5em 0em; line-height: 1.125em; }

ol, ul { margin: 0.1em 0.1em 0em 1.5em; }

td, td p { margin: 0.1em 0.1em 0em 0.1em; }

td ol, td ul { margin: 0.1em 0.1em 0em 1.5em; }

dl { font-size: 91% }

dd dl dd { line-height: 1.125em; font-size: 110%; margin: 0.4em 0em 0.7em 2em; }

pre { font: Monaco, "Andale Mono", Courier, "Courier New"; font-size: 70%; margin: 0.4em 2.5em 0.7em 0.4em; overflow: auto; }

tt, code { font: Monaco, "Andale Mono", Courier, "Courier New"; font-size: 85%; }

/* Table of Contents */ font-family: "Lucida Grande", Arial, Helvetica, sans-serif; font-size: 90%; line-height: 1.125em; }
 * 1) toc {
 * 1) toc .tocline { margin-bottom: 0.2em; }
 * 2) toc .tocindent { font-size: 90% }

/* Headings */

h1, h2, h3, h4, h5, h6 { color: black; font-family: "Lucida Grande", Arial, Helvetica, sans-serif; font-weight: normal; margin: 0 6.5em 0 0; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom: 1px solid #aaaaaa; }

h3, h4, h5, h6 { border-bottom: none; }

h1 { font-size: 130%; } h2 { font-size: 120%; } h3 { font-size: 110%; } h4 { font-size: 100%; } h5 { font-size: 95%; } h6 { font-size: 90%; }

/* The “firstHeading” at the top of the article should be slightly larger. */
 * 1) firstHeading { font-size: 135%; }

/* Portlets (Left bar) */

.portlet ul { line-height: 1.125em; list-style: none; font-size: 110%; margin-left: 0; margin-top: 0.125em; }

/* Personal user toolbar stuff. This moves it from the top of the article to the left bar. */

/* User icon begone! */ li#pt-userpage { background: none }

position: relative; z-index: 3; width: 11.6em; }
 * 1) p-personal {

width: 10.8em; border: none; margin: 0 0 0.5em 0em; float: none; overflow: hidden; background: White; border-collapse: collapse; border: 1px solid #aaaaaa; padding: 0 0.8em 0.3em .5em; }
 * 1) p-personal .pBody {

line-height: 1.125em; list-style: none; font-size: 110%; margin-left: 0; margin-top: 0.125em; padding: 0; text-align: left; text-transform: none; }
 * 1) p-personal ul {

display: list-item; padding: 0; margin: 0 0 0 0; }
 * 1) p-personal li {

text-decoration: underline; }
 * 1) p-personal li a:hover {

display: inline; }
 * 1) p-personal h5 {

/* Page actions (top tabs). */
 * 1) p-cactions { left: 13em; }

list-style: none; }
 * 1) p-cactions ul {

font-size: 110%; }
 * 1) p-cactions li {

z-index: 3; text-decoration: underline; }
 * 1) p-cactions li a:hover {

text-decoration: underline; }
 * 1) p-cactions .selected a:hover {

/* Decorations */

hr { height: 1px; color: #aaaaaa; background-color: #aaaaaa; border: 0; margin: 0.2em 8.5em 0.2em 0em; }

/* Copyright warning begone! */ li#f-copyright, li#f-lastmod, #editpage-copywarn { display: none; }

/* Footer begone! */
 * 1) footer { display: none; }

/* Also get rid of the "From Wikipedia, ..." line. */
 * 1) siteSub { display: none; }

/* Fix superscript and subscript line spacing. */   font-size: smaller; vertical-align: baseline; position: relative; bottom: 0.33em; }   font-size: smaller; vertical-align: baseline; position: relative; bottom: -0.25em; }
 * 1) bodyContent sup {
 * 1) bodyContent sub {

/* Force IPA in a particular font. Only works where IPA template is used. */ .IPA { font-family: "Charis SIL"; }

/* */