MediaWiki:Monobook.css: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) (a few changes, mostly making the code more compact though) |
Greenpickle (talk | contribs) m (background fix as detailed on my user talk) |
||
Line 55: | Line 55: | ||
-moz-border-radius: 20px; | -moz-border-radius: 20px; | ||
background: url(http://images4.wikia.nocookie.net/pikmin/images/6/67/BG_contentarea.png) right fixed no-repeat; | background: url(http://images4.wikia.nocookie.net/pikmin/images/6/67/BG_contentarea.png) right fixed no-repeat; | ||
background: rgba(255, 255, 255, 0.8); | |||
} | } | ||
table, td {background: none;} | table, td {background: none;} |
Revision as of 03:21, December 18, 2009
/* Don't display some stuff on the main page */
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
display: none !important;
}
.editsimilar {
background: #cfc;
border: 2px outset #0b0;
border-top-left-radius: 40px;
border-bottom-right-radius: 40px;
-webkit-border-top-left-radius: 40px;
-webkit-border-bottom-right-radius: 40px;
-moz-border-radius-topleft: 40px;
-moz-border-radius-bottomright: 40px;
}
/*Watchlist edit message*/
.usermessage {
background: #cfc;
font-weight: bold;
margin: 20px 0 10px 0;
padding: 5px 10px;
vertical-align: middle;
border: 2px outset #0b0;
border-top-left-radius: 15px;
border-bottom-right-radius: 15px;
-webkit-border-top-left-radius: 15px;
-webkit-border-bottom-right-radius: 15px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-bottomright: 15px;
}
/*Content area*/
#footer {background: none;}
ul li {list-style-image: url(http://images4.wikia.nocookie.net/pikmin/images/7/7a/Bullet.png);}
#toc {
background: #cfc;
border-top-left-radius: 60px;
border-bottom-right-radius: 40px;
-webkit-border-top-left-radius: 60px;
-webkit-border-bottom-right-radius: 40px;
-moz-border-radius-topleft: 60px;
-moz-border-radius-bottomright: 40px;
border: 2px outset #0b0;
}
#toc li {list-style: none;}
body {background: url(http://images4.wikia.nocookie.net/pikmin/images/3/3f/BG.png) no-repeat right fixed;}
#content {
border: 2px outset #0b0 !important;
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 20px;
background: url(http://images4.wikia.nocookie.net/pikmin/images/6/67/BG_contentarea.png) right fixed no-repeat;
background: rgba(255, 255, 255, 0.8);
}
table, td {background: none;}
div.thumb {border: none;}
div.tright {
border: none;
margin: 5px 0 5px 10px;
}
div.tleft {
border: none;
margin: 5px 15px 5px 0;
}
#catlinks {
border: 2px outset #0b0;
background: #ccffcc;
border-top-left-radius: 30px;
border-bottom-right-radius: 30px;
-webkit-border-top-left-radius: 30px;
-webkit-border-bottom-right-radius: 30px;
-moz-border-radius-topleft: 30px;
-moz-border-radius-bottomright: 30px;
padding-bottom: 0;
padding-top: 0;
}
/*Sidebar*/
.portlet {width: 150px;}
.portlet h5 {
text-transform: uppercase;
color: #fff;
background: #050;
border: 2px outset #0b0;
padding: 1px 0 3px 10px;
font-weight: bold;
display: block;
border-top-left-radius: 11px;
border-bottom-right-radius: 11px;
-webkit-border-top-left-radius: 11px;
-webkit-border-bottom-right-radius: 11px;
-moz-border-radius-topleft: 11px;
-moz-border-radius-bottomright: 11px;
}
.pBody {
background: #cfc;
border: 2px outset #0b0;
padding-left: 0;
margin: 2px 20px 0 5px;
border-top-left-radius: 25px;
border-bottom-right-radius: 25px;
-webkit-border-top-left-radius: 25px;
-webkit-border-bottom-right-radius: 25px;
-moz-border-radius-topleft: 25px;
-moz-border-radius-bottomright: 25px;
}
.portlet ul {list-style-type: none;}
/*Search*/
#p-search input["type=submit"] {padding: 0;}
input[type="submit"]:hover,
input[type="button"]:hover {
background: none;
}
#searchInput {width: 100px;}
#p-search .pBody {padding: 4px 6px 5px 6px;}
#searchGoButton,
#mw-searchButton {padding: 0 4px;}
/*Tabs*/
#p-cactions .pBody:hover {opacity: 1;}
#p-cactions li:hover {opacity: 0.8;}
#p-cactions li {
border: 2px outset #0b0;
border-bottom: 1px solid #fff;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomright: 10px;
}
#p-cactions li a {
border: none;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomright: 10px;
}
/*Hover*/
.usermessage:hover,
#toc:hover,
#catlinks:hover {background: none;}
.portlet .pBody:hover,
.portlet h5:hover {
background: #fff;
opacity: 0.85;
}
.portlet h5:hover {color: #050;}
/*Input boxes*/
input[type="submit"],
input[type="button"] {
color: #000;
cursor: pointer;
background: #cfc;
border: 2px outset #0b0;
}
input[type="submit"],
input[type="button"],
input[type="text"],
input[type="password"] {
border-top-left-radius: 15px;
border-bottom-right-radius: 15px;
-webkit-border-top-left-radius: 15px;
-webkit-border-bottom-right-radius: 15px;
-moz-border-radius-topleft: 15px;
-moz-border-radius-bottomright: 15px;
border: 2px inset #0b0;
padding-left: 3px;
}
input[type="text"],
input[type="password"] {height: 16px;}
textarea {
border: 2px inset #0b0;
background: none;
padding: 0;
margin-bottom: 3px;
}
/*Links*/
a,
#p-personal li a,
#p-cactions li a,
#bodyContent a.extiw,
#bodyContent a.external {
color: #080;
}
a:visited,
#bodyContent a.extiw:visited,
#bodyContent a.external:visited {
color: #084;
}
a:hover,
#p-personal li a:hover,
#bodyContent a.extiw:hover,
#bodyContent a.external:hover {
color: #0b0;
}
a:visited:hover,
#bodyContent a.extiw:visited:hover,
#bodyContent a.external:visited:hover {
color: #0b4;
}
a.new:link,
a.new:visited,
#p-personal li a.new,
#p-cactions .new a,
#p-personal li a.new:visited,
#p-cactions .new a:visited {
color: #bb0;
}
#bodyContent a.external {background-image: url(http://images.wikia.com/pikmin/images/4/44/External.png);}
#p-personal li a:hover {background: none;}
#new_edit_page_preview_notice {display: none;}
#wikiPreview>*:first-child {display: block;}
#editform {margin-top: 15px;}