Difference between revisions of "MediaWiki:Monobook.css"
From Paragon Wiki Archive
m (Restoring original text) |
m (Updated CSS to tweak out a few annoyances.) |
||
| Line 1: | Line 1: | ||
body { | body { | ||
| − | + | background: #120646 url("skins/monobook/images/headbg.png") 0 0 repeat-y; | |
| + | } | ||
| + | |||
| + | #content { | ||
| + | font-family: sans-serif; | ||
} | } | ||
| Line 35: | Line 39: | ||
#p-cactions li { | #p-cactions li { | ||
border-bottom: white; | border-bottom: white; | ||
| − | |||
| − | |||
} | } | ||
| Line 42: | Line 44: | ||
background: #01387e url("skins/monobook/images/unselectbg.jpg") repeat-x scroll top left; | background: #01387e url("skins/monobook/images/unselectbg.jpg") repeat-x scroll top left; | ||
color: white; | color: white; | ||
| + | z-index: 0; | ||
| + | } | ||
| + | |||
| + | /* For some reason, this isn't working in IE 7. Probably the result of a crappy browser, or it | ||
| + | might be defined as ! important or something in the IE-specific templates. I'll check later, | ||
| + | it's not that big a deal. --TonyV */ | ||
| + | #p-cactions li.selected { | ||
| + | border-color: #ffffff; | ||
} | } | ||
| Line 47: | Line 57: | ||
background: #007f28 url("skins/monobook/images/selectbg.jpg") 0 0 repeat-x; | background: #007f28 url("skins/monobook/images/selectbg.jpg") 0 0 repeat-x; | ||
color: #002bb8; | color: #002bb8; | ||
| + | z-index: 0; | ||
} | } | ||
| Line 56: | Line 67: | ||
background: white url("skins/monobook/images/hoverbg.jpg") repeat-x scroll top left; | background: white url("skins/monobook/images/hoverbg.jpg") repeat-x scroll top left; | ||
overflow: hidden; | overflow: hidden; | ||
| + | z-index: 0; | ||
} | } | ||
| Line 71: | Line 83: | ||
#p-personal li a:hover { | #p-personal li a:hover { | ||
| − | color: #283c71; | + | /* color: #283c71; -- Old-style color without the background below */ |
| + | background: #01387e url("skins/monobook/images/hoverbg.jpg") repeat-x scroll top left; | ||
} | } | ||
Revision as of 19:44, 17 October 2008
body {
background: #120646 url("skins/monobook/images/headbg.png") 0 0 repeat-y;
}
#content {
font-family: sans-serif;
}
.pBody {
background-color: #ccdaff;
background-image: url("skins/monobook/images/portletbg.png");
background-repeat: repeat-x;
border-top: 1px solid white;
border-right: 1px solid #aaaaaa;
border-bottom: 1px solid #aaaaaa;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
}
.portlet ul {
list-style-image: url("skins/monobook/images/bullet.gif");
}
.portlet h5 {
color: white;
font-size: 105%;
text-transform: capitalize;
font-weight: bold;
}
#p-cactions .pBody {
background-image: none;
}
#p-cactions ul {
list-style-type: none;
}
#p-cactions li {
border-bottom: white;
}
#p-cactions li a {
background: #01387e url("skins/monobook/images/unselectbg.jpg") repeat-x scroll top left;
color: white;
z-index: 0;
}
/* For some reason, this isn't working in IE 7. Probably the result of a crappy browser, or it
might be defined as ! important or something in the IE-specific templates. I'll check later,
it's not that big a deal. --TonyV */
#p-cactions li.selected {
border-color: #ffffff;
}
#p-cactions li.selected a {
background: #007f28 url("skins/monobook/images/selectbg.jpg") 0 0 repeat-x;
color: #002bb8;
z-index: 0;
}
#p-cactions .new a {
color: #bed0ff;
}
#p-cactions li a:hover {
background: white url("skins/monobook/images/hoverbg.jpg") repeat-x scroll top left;
overflow: hidden;
z-index: 0;
}
a.new, #p-personal a.new {
color: #ffcccc;
}
a.new:visited, #p-personal a.new:visited {
color: #a55858;
}
#p-personal li a {
color: white;
}
#p-personal li a:hover {
/* color: #283c71; -- Old-style color without the background below */
background: #01387e url("skins/monobook/images/hoverbg.jpg") repeat-x scroll top left;
}