Jump to content

User:Richard Taytor/standard.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* see Finlay McWalter's standard.css
 * http://en.wikipedia.org/wiki/User:Finlay_McWalter/standard.css */

body, #content {
	color: #433;
	background: #e0e0e0;
	font: 13px/1.333em georgia;
}

/* prevent sup/sub from modifying line height */

sup, sub { line-height: 0; padding: 0; }

/* hide language links */

#topbar table tr + tr { display: none; }
/* give margin for nav bar */
#topbar { margin-right: 158px; }

/* table of contents & infoboxes &c. */

#toc, .infobox, .messagebox {
	border: none;
	background: #eee;
}
#toctitle, #toctitle h2 {
	text-align: left;
	text-transform: uppercase;
	font-size: 80%;
	letter-spacing: 0.2em;
}

#siteNotice { margin-bottom: 1.5em; }

#article { padding: 0 3em; }

a.new { color: #900 !important; }

/* lists: hanging markers; include gap for multiple columns  */

ul, ol { margin-left: 0; padding-left: 0; margin-right: 1.5em; }
ul ul, ul ol, ol ol, ol ul { margin-left: 1.5em; }
table ul, table ol { margin-left: 1.5em; }
ul { list-style-type: square; }
div { -moz-column-gap: 3em; }

/* the "top" table is the stuff inside topbar, where search, go, disclaimers, etc. live */
td.top { border-bottom: none; }

/* rm the line over the bottom bar */
td.bottom { border: none; }

p.subtitle { border: none; }

div.editsection { clear: left; }

/* give a bit of padding around math */

img.tex { padding: 5px; background: #fff; }

/* headings */

/*
h2, h3, h4, h5, h6 {
   position: relative;
   clear: left;
   left: -8px;
   padding-left: 8px;
   padding-bottom: 1px;
   margin-bottom: 0px;
   overflow: hidden;
   line-height: 2em;
}
*/

h1, h2, h3 { font-weight: normal; }

h1, h1.pagetitle { font-size: 200%; height: 1.2em; margin-top: 0.25em; }
h2 { font-size: 150% !important; }
h3 { font-size: 120% !important; }

pre {
   border: none;
   padding: 8px;
   margin: 1em;
   overflow: auto;
   display: normal !important;
   clear: left;
   background: #eee;
}

pre.raw {
   border: none !important;
   padding: 0 !important;
   margin: auto !important;
   display: normal !important;
   clear: none !important;
   background: #eee;
}

#quickbar { border-right: none !important; }


/* DIV around image thumbnails */

div.thumb, div.tright, div.tleft { background: none !important; border: none; }
div.tright { margin: 1.5em 0 1em 1.5em; }
div.tleft { margin: 1.5em 1.5em 1em 0; }

/* Textarea */
textarea { background : #eee; } 

/* Make the separator in the left side menubar invisible, just a largeish gap */
hr.sep {
  border: 0; 
  margin-top: 10px;
  width: 0;
}

/* Fix classics HORRID difference with monobook, where images stack horizontally rather than vertically */
div.tright {
  clear: right;
}