Header
From Holwiki
Line 1: | Line 1: | ||
- | + | /* | |
- | + | * 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 | |
- | + | */ | |
- | + | ||
- | + | /* remove the ugly, recently-reinstated link underlines | |
- | + | #BodyContent a { text-decoration: none; } | |
- | + | #BodyContent a:hover { text-decoration: none; }*/ | |
- | + | ||
+ | a { text-decoration: none;} | ||
+ | a:hover { text-decoration: none;} | ||
+ | |||
+ | /* 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 { | #p-cactions ul li, #p-cactions ul li a { | ||
- | -moz-border-radius-topleft: | + | -moz-border-radius-topleft: 4px; |
- | -moz-border-radius-topright: | + | -moz-border-radius-topright: 4px; |
} | } | ||
- | #content { | + | |
- | + | #content, #footer { | |
- | + | -moz-border-radius-topleft: 4px; | |
+ | -moz-border-radius-bottomleft: 4px; | ||
} | } | ||
+ | |||
div.pBody { | 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; | |
} | } | ||
- | + | ||
- | + | /* Kill that stupid M$-ish capitalist asshole person dancecommander usericonthingy */ | |
- | + | li#pt-userpage { background: none } | |
+ | |||
+ | /* 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"); | ||
+ | |||
+ | } | ||
+ | .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;} | ||
+ | |||
+ | |||
+ | |||
+ | /* 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; | ||
} | } | ||
- | |||
- | |||
- | |||
- | + | #footer {display:none;} | |
- | + | .printfooter {display:none;} | |
- | + |
Revision as of 17:32, 25 March 2006
/* * 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 */
/* remove the ugly, recently-reinstated link underlines
- BodyContent a { text-decoration: none; }
- BodyContent a:hover { text-decoration: none; }*/
a { text-decoration: none;} a:hover { text-decoration: none;}
/* 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;
}
/* Kill that stupid M$-ish capitalist asshole person dancecommander usericonthingy */ li#pt-userpage { background: none }
/* 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("");
}
.portlet li:hover, #BodyContent li:hover {
list-style-type: square; list-style-image: url("");
} .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;}
/* 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;
}
- footer {display:none;}
.printfooter {display:none;}