Jump to content

User:Tomchiukc/monobook.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.
/* http://zh.wikipedia.org/w/wiki.phtml?title=User:Tomchiukc/monobook.css&action=edit */

/* 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;
}

/* make the background behind the content area and the tabs a light grey */
#content,
#p-cactions ul li a { background: #f5f5f5; }

/* replace the book in the background with something else */
body { background: white;}

/* changes the colour of pre areas  */
pre { background: White }

/* change the logo */
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat !important; }

/* suppress the person icon by your username */
/*
li#pt-userpage { background: none }
*/

/* use browser prefs for text size and font */
/*
# body, #globalWrapper {font-family: Monospace; font-size:10pt }
body, #globalWrapper {font-family: "Arial Unicode MS"; font-size:10pt }
*/

/* always underline links */
a { text-decoration: underline; }

/* change colour of unselected tabs */
#p-cactions ul li a { background: #C7FDC7; }

/* change colour of selected tabs */
#p-cactions ul li.selected a { background: white; }

/* change border colour of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }

/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }

/* style the search box and the buttons below it */
input.searchButton {
    background-color: #efefef !important;
    border: 1px outset !important;  
}
#searchInput { border: 1px inset !important; }

/* standard link colors */
a { color: #0066FF; text-decoration: none;}
a:visited { color: #7F007F;}
a:active, a.new { color: #FF0000; }
a.interwiki, a.external { color: #3366BB; }
a.stub { color: #772233; }