Difference between revisions of "MediaWiki:Monobook.css"
From Peace Station Archive
Jump to navigationJump to search| Line 1: | Line 1: | ||
| − | /* | + | /* edit this file to customize the monobook skin for the entire site */ |
| + | |||
| + | table.gallery { | ||
| + | border: 1px solid black; | ||
| + | margin: 2px; | ||
| + | padding: 2px; | ||
| + | background-color: black; | ||
| + | } | ||
| + | |||
| + | table.gallery tr { | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | |||
| + | table.gallery td { | ||
| + | vertical-align: top; | ||
| + | background-color: black; | ||
| + | border: solid 2px black; | ||
| + | } | ||
| + | |||
| + | div.gallerybox { | ||
| + | margin: 2px; | ||
| + | width: 150px; | ||
| + | } | ||
| + | |||
| + | div.gallerybox div.thumb { | ||
| + | text-align: center; | ||
| + | border: 1px solid black; | ||
| + | margin: 2px; | ||
| + | } | ||
| + | |||
| + | |||
| + | fundraising { | ||
| + | text-align: center; | ||
| + | border: 1px solid gray; | ||
| + | padding: 5px; | ||
| + | margin-top: 5px; | ||
| + | |||
| + | } | ||
| + | |||
| + | /* replace the book in the background with something else */ | ||
| + | body { background: black; } | ||
| + | |||
| + | |||
| + | content { background: black; /* a light gray */ } | ||
| + | |||
| + | pre { background: black; color: white } | ||
| + | |||
| + | |||
| + | /* suppress the person icon by your username */ | ||
| + | li#pt-userpage { background: none } | ||
| + | |||
| + | |||
| + | .ns-0 * #content { | ||
| + | |||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | } | ||
| + | |||
| + | mytabs li { | ||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | } | ||
| + | |||
| + | .ns-0 * #mytabs li { | ||
| + | |||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | mytabs li a { | ||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | .ns-0 * #mytabs li a { | ||
| + | |||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | /* For p-cactions (the top "tabs") it works only because my .js moves them into the | ||
| + | |||
| + | "ns-0" wrapper anyway. */ | ||
| + | |||
| + | p-cactions li { | ||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | .ns-0 * #p-cactions li { | ||
| + | |||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | p-cactions li a { | ||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | p-nav li a { | ||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | } | ||
| + | |||
| + | .ns-0 * #p-cactions li a { | ||
| + | |||
| + | background-color: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | /* Display "From Meta..." */ | ||
| + | |||
| + | siteSub { | ||
| + | display: inline; | ||
| + | font-size: 120%; | ||
| + | font-weight: normal; | ||
| + | background: #000000; | ||
| + | color: #A9A9FF; | ||
| + | |||
| + | } | ||
| + | |||
| + | /* Do not print certain classes that shouldn't appear on paper */ | ||
| + | |||
| + | @media print { | ||
| + | |||
| + | .editlink, .noprint, .metadata, .dablink { display: none } | ||
| + | |||
| + | /* change background of unselected tabs */ | ||
| + | #p-cactions ul li a { background: black; } | ||
| + | |||
| + | /* change background of selected tabs */ | ||
| + | #p-cactions ul li.selected a { background: black; } | ||
Revision as of 23:07, 25 November 2007
/* edit this file to customize the monobook skin for the entire site */
table.gallery {
border: 1px solid black;
margin: 2px;
padding: 2px;
background-color: black;
}
table.gallery tr {
vertical-align: top;
}
table.gallery td {
vertical-align: top;
background-color: black;
border: solid 2px black;
}
div.gallerybox {
margin: 2px;
width: 150px;
}
div.gallerybox div.thumb {
text-align: center;
border: 1px solid black;
margin: 2px;
}
fundraising {
text-align: center;
border: 1px solid gray;
padding: 5px;
margin-top: 5px;
}
/* replace the book in the background with something else */
body { background: black; }
content { background: black; /* a light gray */ }
pre { background: black; color: white }
/* suppress the person icon by your username */
li#pt-userpage { background: none }
.ns-0 * #content {
background: #000000;
color: #A9A9FF;
}
mytabs li {
background: #000000;
color: #A9A9FF;
}
.ns-0 * #mytabs li {
background: #000000;
color: #A9A9FF;
}
mytabs li a {
background: #000000;
color: #A9A9FF;
}
.ns-0 * #mytabs li a {
background: #000000;
color: #A9A9FF;
}
/* For p-cactions (the top "tabs") it works only because my .js moves them into the
"ns-0" wrapper anyway. */
p-cactions li {
background: #000000;
color: #A9A9FF;
}
.ns-0 * #p-cactions li {
background: #000000;
color: #A9A9FF;
}
p-cactions li a {
background: #000000;
color: #A9A9FF;
}
p-nav li a {
background: #000000;
color: #A9A9FF;
}
.ns-0 * #p-cactions li a {
background-color: #000000;
color: #A9A9FF;
}
/* Display "From Meta..." */
siteSub {
display: inline;
font-size: 120%;
font-weight: normal;
background: #000000;
color: #A9A9FF;
}
/* Do not print certain classes that shouldn't appear on paper */
@media print {
.editlink, .noprint, .metadata, .dablink { display: none }
/* change background of unselected tabs */
#p-cactions ul li a { background: black; }
/* change background of selected tabs */
#p-cactions ul li.selected a { background: black; }