User:SMcCandlish/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 is at User:SMcCandlish/monobook.js. |
/* Display persondata boxes in articles */
table.persondata { display: table; }
/* Highlight my own stuff to make it easier to find/ignore */
:link[title ="User:SMcCandlish"] { text-decoration: underline; }
/* Get rid of obnoxious warnings */
#editpage-copywarn, #editpage-copywarn2, #editpage-copywarn3 { display: none; }
/* Save space */
:templatesUsed ul, :templatesUsed li { display: inline; padding-right: 5px; }
/* Use my font for code, when available, to save my eyes */
code, pre, samp, kbd, tt { font-family: "Consolas for BBEdit", Courier, monospace !important; }
/* Make some of the editable stuff monospaced */
#wpTextbox1 { font-family: "Consolas for BBEdit", Courier, monospace !important; }
#wpSummary { font-family: "Consolas for BBEdit", Courier, monospace !important; }
/* change background of unselected tabs */
#p-cactions ul li a { background: #EEEEEE; }
/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }
/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }
/* strikeout Upload File link as a reminder to upload to Commons instead */
li#t-upload { text-decoration: line-through; }
/* underline just the diff text that's different */
span.diffchange { text-decoration:underline; }
/* ############ DROPDOWNS ################################################# */
/* This is REQUIRED for a bunch of the Voice of All scripts to work! */
#content {
-moz-border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
}
div.pBody {
-moz-border-radius-topright: 1em;
-moz-border-radius-bottomright: 1em;
}
#p-cactions li {
position: relative;
float: left;
border: 2px solid lightgrey;
}
#p-cactions li li {
float: none;
display: block;
border-top: 1px solid lightgrey;
border-bottom: 1px solid lightgrey;
text-align: center;
background: #F8FCFF;
background-color: #F8FCFF;
-moz-border-radius-topleft: .0em;
-moz-border-radius-topright: .0em;
-moz-border-radius-bottomright: .0em;
-moz-border-radius-bottomleft: .0em;
}
.tabmenu ul {
display: none;
z-index: 2;
position: relative;
top: -2px;
border-top: 1px solid #aaaaaa;
padding: 0px;
margin: 0px;
background: #F8FCFF;
background-color: grey;
}
.tabmenu:hover ul {
display: block;
}
.tabmenu a {
padding: 0pt 0.8em !important;
background: #F8FCFF;
background-color: #F8FCFF;
}
.tabmenu ul a:hover {
font-weight: bold;
}
/* ############ end DROPDOWNS ############################################# */
/* ############ ROUNDED CORNERS ########################################### */
/* 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;
}
/* same, following the css3 spec */
#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;
}
/* ############ end ROUNDED CORNERS ####################################### */