|
|
(One intermediate revision not shown) |
Line 1: |
Line 1: |
- | /* | + | <style type="text/css"> |
- | * Skin name: Milky
| + | /* |
- | * Author: Ævar Arnfjörð Bjarmason
| + | Notes: |
- | * Reference: http://en.wikipedia.org/style/monobook/main.css
| + | -You must log as admin to edit this page |
- | * 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
| + | -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. |
- | */ | + | -if you want your code to look nice on this page, put a space at the beginning of each line |
| + | -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css |
| + | |
| + | For example uncomment this next section to turn all the text green: |
| + | */ |
| + | /* |
| + | body { |
| + | color: green; |
| + | } |
| + | */ |
| + | </style> |
| | | |
- | /* remove the ugly, recently-reinstated link underlines
| + | <script type="text/javascript"> |
- | #BodyContent a { text-decoration: none; }
| + | //Feel free to add your javascript code here. |
- | #BodyContent a:hover { text-decoration: none; }*/
| + | </script> |
- | | + | |
- | 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("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;}
| + | |