User:Lights/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:Lights/monobook.js. |
/*
* Skin name: Milky
* Author: Ævar Arnfjörð Bjarmason
* Reference: http://en.wikipedia.org/style/monobook/main.css
* To include in your CSS: http://en.wikipedia.org/w/wiki.phtml?title=User:%C6var_Arnfj%F6r%F0_Bjarmason/monobook.css&action=raw&ctype=text/css
*/
/* 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 */
#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 #aaa;
}
/* 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");
}
li.FA {
list-style-image: url("http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png") !important;
}
.portlet a {text-decoration: none; color: #666 !important;}
.portlet a:hover {text-decoration: none; color: #000 !important;}
/* Make borders a little better */
#searchInput {
border: 1px solid #aaa;
background-color: #eee;
}
/* Mozilla.org-like input box focus */
#p-search input:focus, #p-search input:hover {
background-color: #fff;
}
#searchInput {
border-top: 1px inset;
border-left: 1px inset;
border-right: 10px inset;
}
/* 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: #ba0000 !important;}
}
/*#footer {display:none;}
.printfooter {display:none;}
*/
/* ------------------------- */
#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 ul
{
overflow:visible;
}
#p-cactions li
{
border: 2px solid lightgrey;
position: relative;
float: left;
-moz-border-radius-topleft: .5em;
-moz-border-radius-topright: .5em;
}
.tabmenu ul li
{
display: block;
width: 100% !important;
min-width: 10em !important;
border: 0px;
margin: 0px;
padding: .1em;
border: 1px solid #aaaaaa !important;
border-collapse: collapse;
text-align: center;
background-color: #F8FCFF !important;
white-space: nowrap !important;
}
.tabmenu ul
{
display: none;
width: auto;
z-index: 2;
position: absolute;
top: 1em;
margin: 0px;
background-color: grey;
}
.tabmenu * {
-moz-border-radius: 0px !important;
}
.tabmenu:hover ul
{
display: block;
}
.tabmenu ul li:hover
{
background-color: #e8ecef !important;
}
.tabmenu ul a {
background-color: transparent !important;
}
/* Orange "You have new messages" changed */
.usermessage {
background-color:#fff;
background: url('http://upload.wikimedia.org/wikipedia/commons/c/ca/360%C2%B0_Panorama_vom_Ahrensfelder_Berg.jpg') repeat-x center;
border: 1px solid silver;
color: #ffffff;
font-weight: bold;
text-decoration: underline, overline;
margin: 2em 0em 1em 0em;
padding: 0.5em 1em;
vertical-align: middle;
}
/* "From Wikipedia, the free encyclopedia" modification */
#siteSub {
font-family:Trebuchet MS;
font-size: 95%;
}
/* </nowiki></pre> */