Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added code for WikEd Editor) |
(added css for templates from mediawiki.org) |
||
Line 16: | Line 16: | ||
pre { font-size:110% } |
pre { font-size:110% } |
||
code { font-size:110% } |
code { font-size:110% } |
||
+ | |||
+ | /*JAA: From mediawiki.org |
||
+ | /* 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; |
||
+ | text-align: center; |
||
+ | } |
||
+ | |||
+ | /* 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: #ffffff; |
||
+ | border-color: #c51919; |
||
+ | border-width: 2px; |
||
+ | } |
||
+ | .pw-head { |
||
+ | color: #c51919; |
||
+ | font-weight: bold; |
||
+ | } |
||
/* WikEd */ |
/* WikEd */ |
Revision as of 15:23, 24 May 2010
/** CSS placed here will be applied to all skins */ /* borrowed from WP */ .messagebox { border: 1px solid #aaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } #footer #f-list #privacy { display:none } #footer #f-list #about { display:none } #footer #f-list #disclaimer { display:none } pre { font-size:110% } code { font-size:110% } /*JAA: From mediawiki.org /* 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; text-align: center; } /* 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: #ffffff; border-color: #c51919; border-width: 2px; } .pw-head { color: #c51919; font-weight: bold; } /* WikEd */ // install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript"></' + 'script>');