Jump to content

User:Gentgeen/monobook.css

From Wikibooks, open books for an open world
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
  • Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
  • Konqueror: simply click the Reload button, or press F5;
  • Opera users may need to completely clear their cache in Tools→Preferences.
/* reduce the space between lines, use a serif font */

#content {
   line-height: 1.05em;
   font-family: x-small "Book Antiqua", Times, serif;
}

h1, h2, h3, h4, h5, h6 {
   font-family: Arial, Helvetica, sans-serif;
   line-height: 1.5em;
}

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


/* bottom tab styling (not for IE currently) */
#mytabs {
    margin: -0.6em 0 0 11.5em;
    white-space:nowrap;
    line-height: 1.1em;
    overflow: visible;
    border-collapse: collapse;
    padding: 0 0 0 1em;
    list-style: none;
    font-size: 95%;
}
#mytabs .hiddenStructure { display: none; }
#mytabs li {
    display: inline;
    border: 1px solid #aaaaaa;
    border-top: none;
    padding: 0 0 0 0;
    margin: 0 0.3em 0 0;
    overflow: visible;
    background: White;
}
#mytabs li.selected {
    border-color: #fabd23;
    padding: 0.2em 0 0 0;
}
#mytabs li a {
    background-color: White;
    color: #005189;
    border: none;
    padding: 0.3em 0.8em 0 0.8em;
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    margin: 0;
}
#mytabs li.selected a { z-index: 3; }
#mytabs .new a { color:#ba0000; }
#mytabs li a:hover {
    z-index: 3;
    text-decoration: none;
}
#mytabs h5 { display: none; }
#mytabs li.istalk { margin-right: 0; }
#mytabs li.istalk a { padding-right: 0.5em; }
#mytabs-ca-addsection a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}
/* offsets to distinguish the tab groups */
li#mytabs-ca-talk { margin-right: 1.6em; }
li#mytabs-ca-watch { margin-left: 1.6em; }


/* change the links colors */

a {
    color: #0000EE;
    text-decoration:none;
}
a:visited { color: #551A8B; }
a:active { color: Orange; }
a:hover { text-decoration: underline; }
a.external { color: #005189; }
a.external:visited { color: #004000; }
a.new { color:#ba0000; }
a.new:visited { color:#ba0000; }


/* No external link icon */
#bodyContent a[href ^="http://"] {background: none; padding-right: 0px;}


/* the auto-generated edit comments */
.autocomment { color: #005189; }


/* Round the corners of everything. */

#p-cactions ul li, #p-cactions ul li a {
    -moz-border-radius-topleft: 8.1px; /* 0.59em; */
    -moz-border-radius-topright: 8px; /* 0.57em; */
}
#mytabs ul li, #mytabs ul li a {
    -moz-border-radius-bottomleft: 8.1px; /* 0.59em; */
    -moz-border-radius-bottomright: 8px; /* 0.57em; */
}
#content {
    -moz-border-radius-topleft: 8.1px;
    -moz-border-radius-bottomleft: 8.5px;
}
div.pBody {
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8.4px;
}
pre, table#toc, div.thumb div {
    -moz-border-radius-topleft: 8.1px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomleft: 8.5px;
    -moz-border-radius-bottomright: 8.4px;
}
#catlinks {  
    -moz-border-radius-topleft: 8.1px;
    -moz-border-radius-topright: 8.1px;
    -moz-border-radius-bottomleft: 8.4px;
    -moz-border-radius-bottomright: 8.4px;
}


/* Change the background color (and selected tab border
   color) for non-module pages */

#content, #p-cactions ul li.selected a, #mytabs ul li.selected a {
    background: #f5f5ff; 
}
#p-cactions ul li.selected {
    border-color: #1080fa;
}
#mytabs ul li.selected {
    border-color: #1080fa;
}
.ns-0 #content, .ns-0 #p-cactions ul li.selected a, .ns-0 #mytabs ul li.selected a {
    background: white;
}
.ns-0 #p-cactions ul li.selected {
    border-color: #fabd23;
}
.ns-0 #mytabs ul li.selected {
    border-color: #fabd23;
}

/* Make Cookbook namespace modules have the same formating 
as main namespace */

.ns-102 #content, .ns-102 #p-cactions ul li.selected a, .ns-102 #mytabs ul li.selected a {
    background: white;
}
.ns-102 #p-cactions ul li.selected {
    border-color: #fabd23;
}
.ns-102 #mytabs ul li.selected {
    border-color: #fabd23;
}

/* image stuff */