Difference between revisions of "MediaWiki:Conserv.css"
Jump to navigation
Jump to search
m |
(simplify style) |
||
| Line 2: | Line 2: | ||
/* new message notification (a red background with white text/links */ | /* new message notification (a red background with white text/links */ | ||
.usermessage { | .usermessage { | ||
| − | + | background-color: #cc1c1c; | |
| − | + | border: 1px solid #222222; | |
| − | + | color: #FFFFFF; | |
| − | + | font-weight: bold; | |
| − | + | margin: 2em 0em 1em 0em; | |
| − | + | padding: 0.5em 1em 0.5em 1em; | |
| − | + | vertical-align: middle; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | .usermessage a, .usermessage a:visited { | |
| − | + | color:#D7B435; | |
| − | |||
| − | a | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | /* | + | /* Page titles */ |
| − | + | h1.firstHeading { | |
| − | + | background-color: #06399f; | |
| − | + | color: #FEFEFE; | |
| − | + | padding: 5px; | |
| − | + | border: 1px solid #696B2E; | |
| − | + | text-align: center; | |
| − | + | margin-top: 5px; | |
| − | |||
| − | |||
| − | |||
| − | # | ||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | /* Colors of links */ | |
| − | + | a { | |
| − | + | color: #003399; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | /* | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | a:visited { | |
| − | + | color: #8800CC; | |
| − | |||
| − | |||
} | } | ||
| − | + | a:active, a.new { | |
| − | + | color: #CC1100; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | + | a.interwiki, a.external { | |
| − | # | + | color: #0044CC; |
| − | |||
} | } | ||
| − | + | a.stub { | |
| − | + | color: #CC8100; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | # | + | #bodyContent a.external { |
| − | + | color: #0044CC; | |
| − | |||
| − | |||
} | } | ||
| − | #p- | + | /* Titles of left-side menu */ |
| − | #p- | + | #p-navigation h5, #p-search h5, #p-tb h5 { |
| − | + | color: #06399f; | |
| − | + | padding: 0 0 1px 1em; | |
| − | + | margin: 0 3px 0.5em 0; | |
| − | + | font-size: 125%; | |
| − | + | text-align: left; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | /* Background of tab-links, pages, etc. */ | ||
| + | #content, #mytabs li a, #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a { | ||
| + | background-color: #EBF1FA; | ||
} | } | ||
| − | |||
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ | /* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ | ||
#p-cactions ul li, #p-cactions ul li a { | #p-cactions ul li, #p-cactions ul li a { | ||
| − | + | -moz-border-radius-topleft: 1em; | |
| − | + | -moz-border-radius-topright: 1em; | |
} | } | ||
#content { | #content { | ||
| − | + | -moz-border-radius-topleft: 1em; | |
| − | + | -moz-border-radius-bottomleft: 1em; | |
} | } | ||
div.pBody { | div.pBody { | ||
| − | + | -moz-border-radius-topright: 1em; | |
| − | + | -moz-border-radius-bottomright: 1em; | |
} | } | ||
| − | |||
/* same following the css3 draft specs, any browsers supporting this? */ | /* same following the css3 draft specs, any browsers supporting this? */ | ||
#p-cactions ul li, #p-cactions ul li a { | #p-cactions ul li, #p-cactions ul li a { | ||
| − | + | border-radius-topleft: 1em; | |
| − | + | border-radius-topright: 1em; | |
} | } | ||
#content { | #content { | ||
| − | + | border-radius-topleft: 1em; | |
| − | + | border-radius-bottomleft: 1em; | |
} | } | ||
div.pBody { | div.pBody { | ||
| − | + | border-radius-topright: 1em; | |
| − | + | border-radius-bottomright: 1em; | |
} | } | ||
</pre> | </pre> | ||
Revision as of 15:08, March 19, 2007
<pre>
/* new message notification (a red background with white text/links */
.usermessage {
background-color: #cc1c1c;
border: 1px solid #222222;
color: #FFFFFF;
font-weight: bold;
margin: 2em 0em 1em 0em;
padding: 0.5em 1em 0.5em 1em;
vertical-align: middle;
}
.usermessage a, .usermessage a:visited {
color:#D7B435;
}
/* Page titles */
h1.firstHeading {
background-color: #06399f;
color: #FEFEFE;
padding: 5px;
border: 1px solid #696B2E;
text-align: center;
margin-top: 5px;
}
/* Colors of links */
a {
color: #003399;
}
a:visited {
color: #8800CC;
}
a:active, a.new {
color: #CC1100;
}
a.interwiki, a.external {
color: #0044CC;
}
a.stub {
color: #CC8100;
}
#bodyContent a.external {
color: #0044CC;
}
/* Titles of left-side menu */
#p-navigation h5, #p-search h5, #p-tb h5 {
color: #06399f;
padding: 0 0 1px 1em;
margin: 0 3px 0.5em 0;
font-size: 125%;
text-align: left;
}
/* Background of tab-links, pages, etc. */
#content, #mytabs li a, #p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a {
background-color: #EBF1FA;
}
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {
-moz-border-radius-topleft: 1em;
-moz-border-radius-topright: 1em;
}
#content {
-moz-border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
}
div.pBody {
-moz-border-radius-topright: 1em;
-moz-border-radius-bottomright: 1em;
}
/* same following the css3 draft specs, any browsers supporting this? */
#p-cactions ul li, #p-cactions ul li a {
border-radius-topleft: 1em;
border-radius-topright: 1em;
}
#content {
border-radius-topleft: 1em;
border-radius-bottomleft: 1em;
}
div.pBody {
border-radius-topright: 1em;
border-radius-bottomright: 1em;
}
</pre>