User:James Crippen/monobook.css

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. If this is a .js page, the code will be executed when previewing the page.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
/* <pre><nowiki>
   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;
}
 
#content {
  font-size: 12pt;
  margin: 2.1em 1.0em 0em 10.5em;  /* top right bottom left */
  border-right: 0px solid black;
}
 
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 */
#toc {
  font-family: "Lucida Grande", Arial, Helvetica, sans-serif;
  font-size: 90%;
  line-height: 1.125em;
}
#toc .tocline { margin-bottom: 0.2em; }
#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. */
#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 }
 
#p-personal {
  position: relative;
  z-index: 3;
  width: 11.6em;
}
 
#p-personal .pBody {
  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;
}
 
#p-personal ul {
  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;
}
 
#p-personal li {
  display: list-item;
  padding: 0;
  margin: 0 0 0 0;
}
 
#p-personal li a:hover {
  text-decoration: underline;
}
 
#p-personal h5 {
  display: inline;
}
 
/* Page actions (top tabs). */
#p-cactions { left: 13em; }
 
#p-cactions ul {
    list-style: none;
}
 
#p-cactions li {
    font-size: 110%;
}
 
#p-cactions li a:hover {
    z-index: 3;
    text-decoration: underline;
}
 
#p-cactions .selected a:hover {
    text-decoration: underline;
}
 
/* 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! */
#footer { display: none; }
 
/* Also get rid of the "From Wikipedia, ..." line. */
#siteSub { display: none; }
 
/* Fix superscript and subscript line spacing. */
#bodyContent sup {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: 0.33em;
}
#bodyContent sub {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: -0.25em;
}
 
/* Force IPA in a particular font. Only works where IPA template is used. */
.IPA {
    font-family: "Charis SIL";
}
 
/* </nowiki></pre> */