User:Mkmcconn/monobook.css

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Script error: No such module "Message box".
Template:Script doc autoNote: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the Script error: No such module "key". key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
<pre>
/* Position the toc to the right, and wrap text with a good margin */
body{
  background:#dff;
}
#catlinks{
  background:#eec;
}
div.pBody{
  background:#ffd;
}
#toc{
  background:transparent;
  position:relative;
  float:right; 
  margin:2em;
}

/* Create scrollable boxes for the <pre> blocks.  This will not respect wrapping, and will  appear on top of TOC - not a good thing, but a rarity. */
pre{
 background:transparent;
 width: 75%;
 overflow: auto;
 position: relative;
 padding: 0 0 0 1em;
 margin: 0;
}

/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* Rounded corners following the css3 draft specs. Only mozilla supports this? */
#p-cactions ul li, #p-cactions ul li a {  
  border-radius-topleft: 1em;
  border-radius-topright: 1em;
}
#content { 
  border-radius-topleft: 1em;
  border-radius-bottomleft: 1em;
}
div.pBody {
  border-radius-topright: 1em;
  border-radius-bottomright: 1em;
}</pre>