User:David Vasquez~enwiki/monobook.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin can be added at User:David Vasquez~enwiki/monobook.js. |
/*
Local override style for the "monobook" skin.
*/
/* hide "patrolled" marker */
.unpatrolled {display: none;}
/* change border colour of selected tabs */
#p-cactions li.selected { border-color: #aaa; }
/* 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 */
#p-search input:focus, #p-search input:hover {
background-color: #fff;
}
#searchInput {
border-top: 1px inset;
border-left: 1px inset;
border-right: 10px inset;
}
/* Dotted borders on pre look ugly, replace with a solid one */
/* put scrollbar on pre sections instead of ugly cutoff/overlap */
#bodyContent pre { border: 1px solid #aaa; overflow: auto; }
/* make a few corners round (CSS3: does this work?) */
#p-cactions ul li, #p-cactions ul li a {
border-radius-topleft: 4px;
border-radius-topright: 4px;
}
#content {
border-radius-topleft: 4px;
border-radius-bottomleft: 4px;
}
div.pBody {
border-radius-topright: 4px;
border-radius-bottomright: 4px;
}
/* Transform the user toolbar into a sidebox */
#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;
font-size: 95%;
background: White;
border-collapse: collapse;
border: 1px solid #aaaaaa;
padding: 0 0.8em 0.3em .5em;
}
#p-personal ul {
line-height: 1.5em;
list-style-type: square;
font-size:95%;
margin: 0.3em 0 0 1.5em;
padding:0;
text-align:left;
text-transform: none;
}
#p-personal li {
display: list-item;
padding:0;
margin: 0 0 0 0;
margin-bottom: 0.1em;
}
#p-personal h5 {
display: inline;
}
/* suppress person icon by username */
/* needed if not already in place */
li#pt-userpage { background: none }
/* bottom tab styling */
#mytabs {
margin: -0.3em 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.1em 0 0 0;
margin: 0 0.3em 0 0;
overflow: visible;
background: White;
}
#mytabs li.selected {
border-color: #aaa;
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; }
/* bottom tabs should be rounded as well using CSS3 */
#mytabs li, #mytabs li a {
border-radius-bottomleft: 4px;
border-radius-bottomright: 4px;
}
/* Eliminate yellow colour everywhere in borders */
#p-cactions li.selected {
border-color: #aaa;
}
/* Make the footer as wide as the content box, and change colour */
#footer {
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
border-left: 1px solid #aaa;
margin: 0.6em 0em 1em 155px;
}
/* Dont need this copyright notice on every page */
li#f-copyright,
li#f-lastmod,
#editpage-copywarn { display: none; }
/* Nice borders for (almost) all boxes */
input[type="radio"],
input[type="checkbox"] { border:none; }
input[type="text"], input[type="submit"], textarea {
border: 1px solid #aaa !important;
}
/* make round corners for the rest */
input[type="text"], input[type="submit"], textarea, pre, #toc {
border-radius: 2px;
}
/* put a yellow N on recent changes */
#newarticlemark {background-color:yellow;}