


Difference between revisions of "MediaWiki:Monobook.css"
Wikisimpsons - The Simpsons Wiki
(Capital letters in tabs) |
(remove white background from thumbnail images as per TheHomer's request on my talk page + general cleanup) |
||
Line 3: | Line 3: | ||
/* Background image */ | /* Background image */ | ||
body { | body { | ||
− | background: #399BC0 url(http:// | + | background: #399BC0 url(http://www.shoutwiki.com/w/images/simpsons/8/80/Simp2.jpg); |
} | } | ||
Line 16: | Line 16: | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
− | + | -moz-border-radius: 9px; | |
} | } | ||
Line 34: | Line 34: | ||
top: 0em; | top: 0em; | ||
} | } | ||
− | |||
/* Link colors */ | /* Link colors */ | ||
Line 195: | Line 194: | ||
.mainLeftBox { | .mainLeftBox { | ||
− | + | background-repeat: no-repeat; | |
− | + | background-position: bottom right; | |
− | + | border-color: yellow !important; | |
− | + | background-color: lightyellow !important; | |
− | + | color: black !important; | |
} | } | ||
+ | |||
.mainRightBox { | .mainRightBox { | ||
− | + | background-repeat: no-repeat; | |
− | + | background-position: bottom right; | |
− | + | border-color: yellow !important; | |
− | + | background-color: lightyellow !important; | |
− | + | color: black !important; | |
} | } | ||
Line 222: | Line 222: | ||
border-width: 2px; | border-width: 2px; | ||
border-color: yellow; | border-color: yellow; | ||
− | background: #399BC0 url(http:// | + | background: #399BC0 url(http://www.shoutwiki.com/w/images/simpsons/8/80/Simp2.jpg); |
color: #000000; | color: #000000; | ||
line-height: 120%; | line-height: 120%; | ||
Line 228: | Line 228: | ||
/* Thumb and gallery colors */ | /* Thumb and gallery colors */ | ||
− | |||
.thumb { | .thumb { | ||
− | + | background: transparent !important; | |
+ | border-color: transparent; | ||
} | } | ||
.gallery { | .gallery { | ||
− | + | background: #FFF4C4 !important; | |
− | + | border: 1px solid yellow !important; | |
} | } | ||
+ | |||
.gallery td { | .gallery td { | ||
− | + | vertical-align: top; | |
− | + | padding: 0 !important; | |
− | + | background: none !important; | |
− | + | border: none !important; | |
} | } | ||
+ | |||
.gallery .thumb { | .gallery .thumb { | ||
− | + | border-color: #FFF4C4 !important; | |
− | + | margin: 0 !important; | |
− | + | background: #FFF4C4 !important; | |
} | } | ||
+ | |||
.gallerybox { | .gallerybox { | ||
− | + | margin: 2px; | |
− | + | padding: 0 3px; | |
− | + | background: none !important; | |
} | } | ||
/* Capital letter on tabs */ | /* Capital letter on tabs */ | ||
− | #ca-edit a { text-transform: none !important; font-weight: bold !important;} | + | #ca-edit a { |
− | # | + | text-transform: none !important; |
− | # | + | font-weight: bold !important; |
− | #ca-create a | + | } |
− | #ca-watch a | + | /* @todo FIXME: this is ugly...consider replacing the following CSS snippet in the "tabs" section: |
− | #ca-unwatch a | + | #p-cactions li a { |
− | #ca-protect a | + | text-transform: lowercase; |
− | #ca-talk a | + | } |
− | #ca-move a | + | |
− | #ca-viewsource a | + | with this: |
− | #ca-protect a | + | #p-cactions li a { |
− | #ca-unprotect a | + | text-transform: none !important; |
− | #ca-history a | + | } |
− | #ca-delete a | + | |
− | #ca-undelete a | + | It should work. --Jack Phoenix <jack@shoutwiki.com>, November 16, 2010 |
− | #ca-nstab-main a | + | */ |
− | #ca-nstab-mediawiki a | + | #ca-protect a, |
− | #ca-nstab-special a | + | #ca-addsection a, |
− | #ca-nstab-user a | + | #ca-create a, |
− | #ca-nstab-category a | + | #ca-watch a, |
− | #ca-nstab-image a | + | #ca-unwatch a, |
− | #ca-nstab-help a | + | #ca-protect a, |
− | #ca-nstab-template a | + | #ca-talk a, |
− | #ca-nstab-project a | + | #ca-move a, |
− | #ca-nstab-blog a | + | #ca-viewsource a, |
− | #ca-nstab-userwiki a | + | #ca-protect a, |
− | #ca-nstab-userprofile a { text-transform: none !important; } | + | #ca-unprotect a, |
+ | #ca-history a, | ||
+ | #ca-delete a, | ||
+ | #ca-undelete a, | ||
+ | #ca-nstab-main a, | ||
+ | #ca-nstab-mediawiki a, | ||
+ | #ca-nstab-special a, | ||
+ | #ca-nstab-user a, | ||
+ | #ca-nstab-category a, | ||
+ | #ca-nstab-image a, | ||
+ | #ca-nstab-help a, | ||
+ | #ca-nstab-template a, | ||
+ | #ca-nstab-project a, | ||
+ | #ca-nstab-blog a, | ||
+ | #ca-nstab-userwiki a, | ||
+ | #ca-nstab-userprofile a { | ||
+ | text-transform: none !important; | ||
+ | } |
Revision as of 13:32, November 16, 2010
/* CSS placed here will affect users of the Monobook skin */
/* Background image */
body {
background: #399BC0 url(http://www.shoutwiki.com/w/images/simpsons/8/80/Simp2.jpg);
}
#content {
background: #FFF4C4;
border: 1px solid #3366CC;
/*border: 1px solid #73abe6 !important;*/
border-right: none !important;
color: #000000;
line-height: 1.5em;
padding: 0 1em 1.5em 1em;
position: relative;
z-index: 2;
-moz-border-radius: 9px;
}
#column-one {
padding-top: 145px;
}
#column-content {
float: right;
margin: 0 0 0.6em -12.2em;
padding: 0;
width: 100%;
color: #FFF4C4;
}
#p-logo {
top: 0em;
}
/* Link colors */
a {
background: transparent none repeat scroll 0 0;
color: #002BB8;
text-decoration: none;
}
a:active {
color: #000000;
}
/* Titles */
h1, h2, h3, h4, h5, h6 {
color: black;
}
/* tabs */
#p-cactions li {
border-collapse: separate;
border-bottom: 1px solid #aaa;
padding-bottom: 0.4em;
}
#p-cactions li.selected {
border-collapse: collapse;
border-color: #000000;
border-bottom: none;
font-weight: bold;
padding: 0 0 0.2em;
padding-bottom: 0.5em;
}
#p-cactions li.selected a {
background-color: #FFF4C4;
padding: 0 1em 0.2em !important;
z-index: 3;
color: #000000
}
#p-cactions .new a {
color: #BA0000;
}
#p-cactions li a {
text-transform: lowercase;
}
#p-cactions li a {
background-color: #FFF4C4;
border: medium none;
color: #000000;
margin: 0;
padding: 0 0.8em 0.3em;
position: relative;
text-decoration: none;
z-index: 0;
}
/* toolbox */
.portlet {
border: none;
margin: 0 0 .5em;
padding: 0;
float: none;
width: 11.6em;
overflow: hidden;
}
.portlet h4 {
font-size: 95%;
font-weight: normal;
white-space: nowrap;
}
.portlet h5 {
background: transparent;
padding: 0 1em 0 .5em;
display: inline;
height: 1em;
text-transform: uppercase;
font-size: 91%;
font-weight: normal;
white-space: nowrap;
}
.portlet h6 {
background: #ffae2e;
border: 1px solid #AAAAAA;
border-style: solid solid none solid;
padding: 0 1em 0 1em;
text-transform:;
display: block;
font-size: 1em;
height: 1.2em;
font-weight: normal;
white-space: nowrap;
}
.pBody {
font-size: 95%;
background-color: yellow;
color: #FFF4C4;
border-collapse: collapse;
border: 1px solid #AAAAAA;
padding: 0 .8em .3em .5em;
}
.portlet h1,
.portlet h2,
.portlet h3,
.portlet h4 {
margin: 0;
padding: 0;
}
.portlet li {
padding: 0;
margin: 0;
}
/* references */
ol.references li:target,
sup.reference:target {
background: #FFEFD5;
border: 1px solid yellow;
padding: 1px 2px;
}
.portlet h5 {
text-transform: uppercase !important;
font-size: 1.3 em;
}
/* infobox */
.infobox {
border: 1px solid #FFD733 !important;
}
/* footer */
#footer {
background-color: #FFF4C4;
border-bottom: 1px solid #E1EDA6;
border-top: 1px solid #E1EDA6;
font-size: 90%;
margin: 0.6em 0 1em;
padding: 0.4em 0 1.2em;
text-align: center;
}
.icon div {
display: inline !important;
}
/* Main Page */
.page-Main_Page #firstHeading {
display: none;
}
.mainLeftBox {
background-repeat: no-repeat;
background-position: bottom right;
border-color: yellow !important;
background-color: lightyellow !important;
color: black !important;
}
.mainRightBox {
background-repeat: no-repeat;
background-position: bottom right;
border-color: yellow !important;
background-color: lightyellow !important;
color: black !important;
}
/* Tables (i.e. sitenotice, Special:SpecialPages etc.) */
table {
background-color: transparent;
}
/* new message box */
div.notice, div.usermessage {
width: 1000px;
margin: 1.0em auto 0.5em auto;
padding: 5px;
text-align: center;
border-width: 2px;
border-color: yellow;
background: #399BC0 url(http://www.shoutwiki.com/w/images/simpsons/8/80/Simp2.jpg);
color: #000000;
line-height: 120%;
}
/* Thumb and gallery colors */
.thumb {
background: transparent !important;
border-color: transparent;
}
.gallery {
background: #FFF4C4 !important;
border: 1px solid yellow !important;
}
.gallery td {
vertical-align: top;
padding: 0 !important;
background: none !important;
border: none !important;
}
.gallery .thumb {
border-color: #FFF4C4 !important;
margin: 0 !important;
background: #FFF4C4 !important;
}
.gallerybox {
margin: 2px;
padding: 0 3px;
background: none !important;
}
/* Capital letter on tabs */
#ca-edit a {
text-transform: none !important;
font-weight: bold !important;
}
/* @todo FIXME: this is ugly...consider replacing the following CSS snippet in the "tabs" section:
#p-cactions li a {
text-transform: lowercase;
}
with this:
#p-cactions li a {
text-transform: none !important;
}
It should work. --Jack Phoenix <jack@shoutwiki.com>, November 16, 2010
*/
#ca-protect a,
#ca-addsection a,
#ca-create a,
#ca-watch a,
#ca-unwatch a,
#ca-protect a,
#ca-talk a,
#ca-move a,
#ca-viewsource a,
#ca-protect a,
#ca-unprotect a,
#ca-history a,
#ca-delete a,
#ca-undelete a,
#ca-nstab-main a,
#ca-nstab-mediawiki a,
#ca-nstab-special a,
#ca-nstab-user a,
#ca-nstab-category a,
#ca-nstab-image a,
#ca-nstab-help a,
#ca-nstab-template a,
#ca-nstab-project a,
#ca-nstab-blog a,
#ca-nstab-userwiki a,
#ca-nstab-userprofile a {
text-transform: none !important;
}