Difference between revisions of "MediaWiki:Common.css"
From IridiaWiki
Jump to navigationJump to search (add CSS for protect) |
(Hide page name in main page as Wikipedia.) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
#security-info-toggle { |
#security-info-toggle { |
||
− | background: transparent url(/ |
+ | background: transparent url(/mediawiki/skins/monobook/lock_icon.gif) no-repeat scroll left center; |
padding-left: 16px; |
padding-left: 16px; |
||
} |
} |
||
Line 8: | Line 8: | ||
background: #eee; |
background: #eee; |
||
} |
} |
||
+ | |||
+ | /* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */ |
||
+ | .majorwarning { |
||
+ | background: yellow; |
||
+ | padding: 0.3em; |
||
+ | text-align: center; |
||
+ | font-size: 125%; |
||
+ | border: 2px solid red; |
||
+ | } |
||
+ | |||
+ | /* Page headings used throughout the wiki (though not very much at the time of writing…) */ |
||
+ | .page-notice, .page-warning { |
||
+ | border-width: 1px; |
||
+ | border-style: solid; |
||
+ | padding: 0.3em 0.5em; |
||
+ | margin-bottom: 1em; |
||
+ | width: 95%; |
||
+ | margin-left: auto; |
||
+ | margin-right: auto; |
||
+ | } |
||
+ | |||
+ | /* Informative notices at the top of pages (blue) */ |
||
+ | .page-notice { |
||
+ | background-color: #f9f9f9; |
||
+ | border-color: #025e9d; |
||
+ | text-align: left; |
||
+ | } |
||
+ | |||
+ | /* Warning information at the top of pages (red) */ |
||
+ | .page-warning { |
||
+ | background-color: #FFD; |
||
+ | border-color: #c51919; |
||
+ | border-width: 2px; |
||
+ | } |
||
+ | .pw-head { |
||
+ | color: #c51919; |
||
+ | font-weight: bold; |
||
+ | } |
||
+ | |||
+ | /* Hide page name in main page as Wikipedia. */ |
||
+ | body.page-Main_Page h1.firstHeading { display:none; } |
Latest revision as of 15:34, 15 February 2010
/* CSS placed here will be applied to all skins */ #security-info-toggle { background: transparent url(/mediawiki/skins/monobook/lock_icon.gif) no-repeat scroll left center; padding-left: 16px; } #security-info { border: 1px solid #ccc; background: #eee; } /* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */ .majorwarning { background: yellow; padding: 0.3em; text-align: center; font-size: 125%; border: 2px solid red; } /* Page headings used throughout the wiki (though not very much at the time of writing…) */ .page-notice, .page-warning { border-width: 1px; border-style: solid; padding: 0.3em 0.5em; margin-bottom: 1em; width: 95%; margin-left: auto; margin-right: auto; } /* Informative notices at the top of pages (blue) */ .page-notice { background-color: #f9f9f9; border-color: #025e9d; text-align: left; } /* Warning information at the top of pages (red) */ .page-warning { background-color: #FFD; border-color: #c51919; border-width: 2px; } .pw-head { color: #c51919; font-weight: bold; } /* Hide page name in main page as Wikipedia. */ body.page-Main_Page h1.firstHeading { display:none; }