User:Timwi/monobook.css

From Wikipedia, the free encyclopedia

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.

 /* 
    I hereby place this code in the public domain. – [[User:Timwi|Timwi]]
 */
 
 
 /* Round the corners of everything. */
 
 #p-cactions ul li, #p-cactions ul li a {
     -moz-border-radius-topleft: 9px; /* 0.59em; */
     -moz-border-radius-topright: 9px; /* 0.57em; */
 }
 #content {
     -moz-border-radius-topleft: 9px;
     -moz-border-radius-bottomleft: 9px;
 }
 div.pBody {
     -moz-border-radius-topright: 9px;
     -moz-border-radius-bottomright: 9px;
 }
 pre, table#toc, div.thumb div, #disambig, #stub {
     -moz-border-radius-topleft: 9px;
     -moz-border-radius-topright: 9px;
     -moz-border-radius-bottomleft: 9px;
     -moz-border-radius-bottomright: 9px;
 }
 
 /* Change the background colour (and selected tab border
    colour) for non-article pages */
 
 #content, #p-cactions ul li.selected a {
     background: #f5f5ff;
 }
 #p-cactions ul li.selected {
     border-color: #1080fa;
 }
 #p-cactions {
     margin-left: 10px;
 }
 .ns-0 #content, .ns-0 #p-cactions ul li.selected a {
     background: white;
 }
 .ns-0 #p-cactions ul li.selected {
     border-color: #fabd23;
 }
 #bodyContent { border: 1px solid #f5f5ff; }
 .ns-0 #bodyContent { border: 1px solid white; }
 
 /* Change the colour and style of the borders around
    "pre"s. */
 
 pre {
     border: 1px solid #A2C5E6;
 }
 
 
 /* make the Table of Contents look the same way as the
    info box in the top-right of my User page. */
 
 table#toc {
     border: 1px solid #aaaaaa;
     border-spacing: 0;
     background-color: #f9f9f9;
     padding: 0;
     margin-top: 10px;
 }
 table#toc td {
     padding: 0;
     margin: 0;
 }
 
 table#toc div#toctitle {
     background-color: #e9e9e9;
     -moz-border-radius-topleft: 9px;
     -moz-border-radius-topright: 9px;
     border-bottom: 1px solid #aaaaaa;
     padding: 0 5px;
     margin: 0;
 }
 table#toc ul {
     margin: 0;
     padding: 5px 10px;
 }
 
 /* Underline all links. */
 
 a, a:link, a:visited, a:hover,
   a.extiw, a.extiw:link,
   a.extiw:visited, a.extiw:hover {
     text-decoration: underline;
 }
 
 table { background: inherit; }
 
 p.catlinks {
     margin: 0;
     padding: 0 5px 2px 5px;
 }
 div#catlinks {
     margin: 10px 0 0 0;
     padding: 0;
     font-size: 75%;
     border-left: 1px solid #aaaaaa;
     border-bottom: 1px solid #aaaaaa;
     border-right: 1px solid #aaaaaa;
     border-top: 1px solid #aaaaaa;
     -moz-border-radius-topleft: 9px;
     -moz-border-radius-topright: 9px;
     -moz-border-radius-bottomleft: 9px;
     -moz-border-radius-bottomright: 9px; 
     background-color:#f9f9f9;
     text-align: right;
 }
 div#catlinks p.catlinks {
     clear: both;
 }
 
 table.diff {
     border: 1px solid #ccc;
     -moz-border-radius-topleft: 9px;
     -moz-border-radius-topright: 9px;
     -moz-border-radius-bottomleft: 9px;
     -moz-border-radius-bottomright: 9px;
     clear: both;
 }
 td.diff-context { background: inherit; }
 td.diff-deletedline, td.diff-addedline {
     background: #ddd;
     color: inherit;
     -moz-border-radius-topleft: 9px;
     -moz-border-radius-topright: 9px;
     -moz-border-radius-bottomleft: 9px;
     -moz-border-radius-bottomright: 9px;
 }
 
 td.diff-deletedline span.diffchange {
     color: inherit;
     background-color: #fbb;
 }
 td.diff-addedline span.diffchange {
     color: inherit;
     background-color: #bfb;
 }
 
 #siteSub { display: none; }
 #contentSub { text-align: right; margin: 0; padding: 0; }
 
 .mainpagetable, .infobox { clear: both; }
 code { background: inherit; }
 
 #fundraising {
   text-align: right;
   border: none;
   padding: 0 0 5px 0;
   margin: 0;
 }
 
 #disambig, #stub {
     margin: 1em 0 0 0;
     margin-top: 1em !important;
     padding: 3px 5px;
     border: 1px solid #ccc;
     clear: both;
 }
 #disambig { background: #dfefff; }
 #stub { background: #ffdfbf; }
 
 div.thumb, div.tright {
     background: inherit;
     border: none;
     margin-left: 2em;
     margin-right: 0;
     margin-bottom: 0.5em;
 }
 
 div.tleft {
     background: inherit;
     border: none;
     margin-left: 0;
     margin-right: 2em;
     margin-bottom: 0.5em;
 }
 
 .has_been_on_main_page { font-weight: bold; }
 
 input#wpSummary { width: 99%; }
 
 a[accesskey]:before, input[accesskey]:before {
     content: attr(accesskey);
     text-transform: uppercase;
     white-space: pre;
     font-family: monospace;
     margin-right: 5px;
 }