User:SigmaEpsilon/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:SigmaEpsilon/monobook.js. |
/*
** Skin name: Milky
** Author: Ævar Arnfjörð Bjarmason
** Modified by: SigmaEpsilon
*/
/*remove the ugly, recently-reinstated link underlines */
/* #BodyContent a { text-decoration: none; }
#BodyContent a:hover { text-decoration: none; }
*/
a { text-decoration: none;}
/* a:visited { color: #99F;} */
/* Make a few corners round.
WARNING! This is NOT standard CSS!
This is only supported by mozilla/gecko browsers for now.
Reduced from 1em to 4px to make it less noticable
*/
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
}
#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 #abc;
}
/* Kill that stupid M$-ish person symbol next to Userpage link */
li#pt-userpage { background: none }
/* Eliminate yellow color everywhere in borders */
#p-cactions li.selected {
border-color: #aaa;
}
/* Make the footer as wide as the content box, and change the color */
#footer {
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
border-left: 1px solid #aaa;
margin: 0.6em 0em 1em 155px;
}
/* Hide copyright notice on every page */
#f-poweredbyico,
#f-copyrightico,
#copyright,
#privacy,
#about,
#disclaimer { display: none !important; }
/* Move "last modified" info to top-right */
#lastmod {
position: absolute;
z-index: 1;
right:1em;
top: -0.25em;
width: 45em;
float: right;
margin: 0.2em;
padding: 0.2em;
font-size: 10px;
}
/* Change bullet style */
.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");
}
.portlet a {text-decoration: none; color: #666 !important;}
.portlet a:hover {text-decoration: none; color: #000 !important;}
/* Change border colors*/
#searchInput {
border: 1px solid #aaa;
background-color: #eee;
border-top: 1px inset;
border-left: 1px inset;
border-right: 10px inset;
}
/* Mozilla.org-like input box focus */
#p-search input:focus, #p-search input:hover {
background-color: #fff;
}
/* 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;
}
/* The 'Edit summary' box is way to crammed in the textarea box by default */
textarea { margin-bottom: 4px; }
input[type="submit"] {color: #aaa !important;}
input[type="submit"]:hover, input[type="submit"]:focus {color: #000 !important;}
#p-cactions li a {color: #aaa;}
#p-cactions li a:hover {color: #000;}
#p-cactions li.selected a {color: #000 !important;}
#p-cactions li.new a {color: #b00 !important;}
/* 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: #fff;
border-collapse: collapse;
border: 1px solid #aaa;
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;
}
/* Display dates correctly */
.Use_Default_Date_Convention { display: none; }
.Use_AD_and_BC { display:inline; }
.Use_BCE_and_CE { display:none; }
/* remove footer */
.printfooter {display:none;}
/* put scrollbar on pre sections instead of ugly cutoff/overlap in firefox */
pre { overflow: auto; }