User:Bratsche/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:Bratsche/monobook.js. |
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now, i reduced this from 1em to 4px to make it very illnoticable */
/* user notification thing */
.usermessage {
background-color: #b0c4de;
border: 1px solid #7b68ee;
color: #808080;
font-weight: bold;
margin: 2em 0em 1em 0em;
padding: 0.5em 1em;
vertical-align: middle;
}
/* Colors of links */
a { color: #808080; }
a:visited { color: #696969; }
a:active, a.new { color: #b22222; }
a.interwiki, a.external { color: #808080; }
a.stub { color: #8b0000; }
#bodyContent a.external { color: #808080; }
}
#content, #footer {
-moz-border-radius-topleft: 4px;
-moz-border-radius-bottomleft: 4px;
}
div.pBody {
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
}
/* Dotted borders on pre look ugly, replace with a solid one */
#bodyContent pre {
border: 1px solid #aaa;
}
/* suppress the person icon by your username */
li#pt-userpage { background: none }
/* Avoid offpage text */
/* Eliminate yellow colour everywhere in borders */
#p-cactions li.selected {
border-color: #aaa;
}
/* Make the footer not 100% wide, but as wide as the content box, and change it from the annoying yellow 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; }
.portlet li, #BodyContent li {
/*list-style-image: url("/style/monobook/bullet.gif");*/
list-style-type: square;
list-style-image: url("http://en.wikipedia.org/upload/6/69/AAAAAA_Bullet.png");
}
.portlet li:hover, #BodyContent li:hover {
list-style-type: square;
list-style-image: url("http://en.wikipedia.org/upload/4/44/000000_Bullet.png");
/* 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 {
-moz-border-radius: 2px;
}
#footer {display:none;}
.printfooter {display:none;}
}
/*
** Diff rendering
*/
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
background: #f5f5f5;
color: #4169e1;
font-size: 100%;
}
td.diff-deletedline {
background: #f5f5f5;
color: #b22222;
font-size: 100%;
}
td.diff-context {
background:#e6e6fa;
color: #708090;
font-size: 100%;
}
span.diffchange { color: #00008b; }
}
/*
** the toolbox toolbar
*/
/* this is the ul contained in the portlet */
#p-tb ul {
color: #696969;
}
#p-tb li { color: #696969; }
#p-tb li a { color: #696969; }
}
/*
** the navagation toolbar
*/
/* this is the ul contained in the portlet */
#p-navigation ul {
color: #696969;
}
#p-navigation li { color: #696969; }
#p-navigation li a { color: #696969; }
}
/*
** the personal toolbar
*/
/* this is the ul contained in the portlet */
#p-personal ul {
color: #696969;
}
#p-personal li { color: #696969; }
#p-personal li a { color: #696969; }
}
/*
** the page-related actions- page/talk, edit etc
*/
#p-cactions {
position:absolute;
top: 1.3em;
left: 11.5em;
margin: 0;
white-space:nowrap;
width: 76%;
line-height: 1.1em;
overflow: visible;
background: none;
border-collapse: collapse;
padding-left: 1em;
list-style: none;
font-size: 95%;
}
#p-cactions .hiddenStructure { display: none; }
#p-cactions ul {
list-style: none;
}
#p-cactions li {
display: inline;
border: 1px solid #aaaaaa;
border-bottom: none;
padding: 0 0 0.1em 0;
margin: 0 0.3em 0 0;
overflow: visible;
background: none;
}
#p-cactions li.selected {
border-color: #aaa;
padding: 0 0 0.2em 0;
}
#p-cactions li a {
background-color: none;
color: #696969;
border: none;
padding: 0 0.8em 0.3em 0.8em;
text-decoration: none;
text-transform: lowercase;
position: relative;
z-index: 0;
margin: 0;
}
#p-cactions .selected a { z-index: 3; }
#p-cactions .new a { color: #b22222; }
#p-cactions li a:hover {
z-index: 3;
text-decoration: none;
}
#p-cactions h5 { display: none; }
#p-cactions li.istalk { margin-right: 0; }
#p-cactions li.istalk a { padding-right: 0.5em; }
#p-cactions #ca-addsection a {
padding-left: 0.4em;
padding-right: 0.4em;
}