MediaWiki:Common.css

From "A B C"
Revision as of 15:22, 5 January 2012 by Boris (talk | contribs)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* This adds dashed lines and grey background to GeShi highlighted code*/
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}

/* BIO banners at different levels */
div.BIO_1     { padding: 5px; border: 1px solid #AAAAAA; background-color: #324578; color: #FFFFFF; font-weight:bold; font-size:300%; }
div.BIO_2     { padding: 5px; border: 1px solid #AAAAAA; background-color: #7080B8; color: #FFFFFF; font-weight:bold; font-size:200%; }
div.BIO_3     { padding: 5px; border: 1px solid #AAAAAA; background-color: #9B9BCF; color: #FFFFFF; font-weight:bold; font-size:150%; }
div.BIO_4     { padding: 5px; border: 1px solid #AAAAAA; background-color: #B5A5CC; color: #000000; font-weight:bold; font-size:100%; }
div.BIO_alert { padding: 5px; border: 1px solid #AAAAAA; background-color: #E7C0F0; color: #990066; font-weight:bold; font-size:150%; }

/* C S B  */
/*    CSB banners  */
div.CSB_1     { padding: 5px; border: 1px solid #AAAAAA; background-color: #325C78; color: #FFFFFF; font-weight:bold; font-size:300%; }
div.CSB_2     { padding: 5px; border: 1px solid #AAAAAA; background-color: #7097B8; color: #FFFFFF; font-weight:bold; font-size:200%; }
div.CSB_3     { padding: 5px; border: 1px solid #AAAAAA; background-color: #9BACCF; color: #FFFFFF; font-weight:bold; font-size:150%; }
div.CSB_4     { padding: 5px; border: 1px solid #AAAAAA; background-color: #B5A5CC; color: #000000; font-weight:bold; font-size:100%; }
div.CSB_alert { padding: 5px; border: 1px solid #AAAAAA; background-color: #A8A5CC; color: #990066; font-weight:bold; font-size:150%; }

/*    CSB headers (remember to enclose page in <div id="CSB"></div> AFTER the TOC) */
#CSB h1 { padding: 10px 10px 10px 15px; border: none; background-color: #325C78; color: #FFFFFF; font-weight:700; font-size:200%; }
#CSB h2 { padding: 10px 10px 10px 30px; border: none; background-color: #7097B8; color: #FFFFFF; font-weight:600; font-size:150%; }
#CSB h3 { padding: 10px 10px 10px 45px; border: none; background-color: #9BACCF; color: #FFFFFF; font-weight:500; font-size:125%; }
#CSB h4 { padding: 10px 10px 10px 60px; border: none; background-color: #B5A5CC; color: #FFFFFF; font-weight:400; font-size:100%; }
#CSB h5 { padding: 10px 10px 10px 75px; border: none; background-color: #B5A5CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#CSB h6 { padding: 10px 10px 10px 90px; border: none; background-color: #B5A5CC; color: #FFFFFF; font-weight:300; font-size:100%; }

#CSB h2 a { color: #FFFFFF; }

/* APB banners at different levels */
div.APB_1     { padding: 5px; border: 1px solid #AAAAAA; background-color: #327378; color: #FFFFFF; font-weight:bold; font-size:300%; }
div.APB_2     { padding: 5px; border: 1px solid #AAAAAA; background-color: #70AFB8; color: #FFFFFF; font-weight:bold; font-size:200%; }
div.APB_3     { padding: 5px; border: 1px solid #AAAAAA; background-color: #9BBDCF; color: #FFFFFF; font-weight:bold; font-size:150%; }
div.APB_4     { padding: 5px; border: 1px solid #AAAAAA; background-color: #A5B0CC; color: #000000; font-weight:bold; font-size:100%; }
div.APB_alert { padding: 5px; border: 1px solid #AAAAAA; background-color: #C7C0F0; color: #990066; font-weight:bold; font-size:150%; }

/* Table background colors */

td.CSB_sp { padding: 5px; margin: 5px; background-color: #FFFFFF; }
td.CSB    { padding: 5px; margin: 5px; border: 1px solid #000000; }

tr.CSB_t  { background-color: #325C78; color: #FFFFFF; font-weight:bold; }
tr.CSB_h  { background-color: #7097B8; color: #FFFFFF; }
tr.CSB_1  { background-color: #9BACCF; color: #000000;}
tr.CSB_2  { background-color: #EEEEEE; color: #000000;}