Difference between revisions of "MediaWiki:Common.css"

From "A B C"
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
.mw-collapsible-toggle-li { list-style: none; }
 
.mw-collapsible-toggle-li { list-style: none; }
  
table.pubmed-table      {border: 1px solid #999999; font-size:100%; margin-bottom:10px;}
+
table.pubmed-table      {border: 1px solid #999999; font-size:100%; margin-bottom:10px; width:100%;}
 
tr.pubmed-bottom {border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 1px solid #999999; border-right: 1px solid #999999; font-size:80%}
 
tr.pubmed-bottom {border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 1px solid #999999; border-right: 1px solid #999999; font-size:80%}
 
.pubmed-abstract-text {font-size:120%;}
 
.pubmed-abstract-text {font-size:120%;}

Revision as of 17:26, 15 January 2012

/* Add code from jquery.makeCollapsible.css */
/* (see also jquery.makeCollapsible.js) */
# .mw-collapsible-toggle { float: right; }   - removed float right to line up with other links in pubmed...
.mw-collapsible-toggle { float: none; }

/* list-items go as wide as their parent element, don't float them inside list items */
li .mw-collapsible-toggle { float: none; }

/* the added list item should have no list-style */
.mw-collapsible-toggle-li { list-style: none; }

table.pubmed-table       {border: 1px solid #999999; font-size:100%; margin-bottom:10px; width:100%;}
tr.pubmed-bottom {border-top: 0px solid #999999; border-bottom: 1px solid #999999; border-left: 1px solid #999999; border-right: 1px solid #999999; font-size:80%}
.pubmed-abstract-text {font-size:120%;}

/* Suppress page titles sitewide */
h1.firstHeading { display:none; }

/* Suppress sidebar toolbox and search sitewide */
#p-tb, #p-search { display:none; }

/* Add dashed lines and grey background to GeShi highlighted code*/
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}


/* APB  --- (remember to enclose page in <div id="APB"></div>)*/
/* APB banners */
#APB div.b1     { padding: 5px; border: 1px solid #AAAAAA; background-color: #324578; color: #FFFFFF; font-weight:bold; font-size:300%; }
#APB div.b2     { padding: 5px; border: 1px solid #AAAAAA; background-color: #7080B8; color: #FFFFFF; font-weight:bold; font-size:200%; }
#APB div.b3     { padding: 5px; border: 1px solid #AAAAAA; background-color: #9B9BCF; color: #FFFFFF; font-weight:bold; font-size:150%; }
#APB div.b4     { padding: 5px; border: 1px solid #AAAAAA; background-color: #B5A5CC; color: #000000; font-weight:bold; font-size:100%; }
#APB div.alert { padding: 5px; border: 1px solid #AAAAAA; background-color: #C8FFE5; color: #293136; font-weight:bold; font-size:150%; }

/*    APB headers  */
#APB h1 { padding: 10px 10px 10px 15px; border: none; background-color: #324578; color: #FFFFFF; font-weight:700; font-size:200%; }
#APB h2 { padding: 10px 10px 10px 30px; border: none; background-color: #7080B8; color: #FFFFFF; font-weight:600; font-size:150%; }
#APB h3 { padding: 10px 10px 10px 45px; border: none; background-color: #9B9BCF; color: #FFFFFF; font-weight:500; font-size:125%; }
#APB h4 { padding: 10px 10px 10px 60px; border: none; background-color: #B5A5CC; color: #FFFFFF; font-weight:400; font-size:100%; }
#APB h5 { padding: 10px 10px 10px 75px; border: none; background-color: #B5A5CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#APB h6 { padding: 10px 10px 10px 90px; border: none; background-color: #B5A5CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#APB h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link { color: #FFFFFF; }  /* for edit tags */
#APB h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: #FFFFFF; }  /* for edit tags */
#APB #toc h2 { padding: 0; border: none; background-color: #f9f9f9; color: #000000; font-weight: 600; font size: 80%; } /* repair h2 header in TOC */

/* APB Table background colors */
#APB td.sp { padding: 2px; margin: 0px; background-color: #FFFFFF; border: 0; }
#APB td.sc { padding: 5px; margin: 5px; border: 1px solid #000000; }

#APB tr.st  { background-color: #324578; color: #FFFFFF; font-weight:bold; }
#APB tr.sh  { background-color: #7080B8; color: #FFFFFF; }
#APB tr.s1  { background-color: #EEEEEE; color: #000000;}
#APB tr.s2  { background-color: #9B9BCF; color: #000000;}



/* BIO  --- (remember to enclose page in <div id="BIO"></div>)*/
/*    BIO banners  */
#BIO div.b1     { padding: 5px; border: 1px solid #AAAAAA; background-color: #325C78; color: #FFFFFF; font-weight:bold; font-size:300%; }
#BIO div.b2     { padding: 5px; border: 1px solid #AAAAAA; background-color: #7097B8; color: #FFFFFF; font-weight:bold; font-size:200%; }
#BIO div.b3     { padding: 5px; border: 1px solid #AAAAAA; background-color: #9BACCF; color: #FFFFFF; font-weight:bold; font-size:150%; }
#BIO div.b4     { padding: 5px; border: 1px solid #AAAAAA; background-color: #A8A5CC; color: #000000; font-weight:bold; font-size:100%; }
#BIO div.alert { padding: 5px; border: 1px solid #AAAAAA; background-color: #C8FFE5; color: #293136; font-weight:bold; font-size:150%; }

/*    BIO headers  */
#BIO h1 { padding: 10px 10px 10px 15px; border: none; background-color: #325C78; color: #FFFFFF; font-weight:700; font-size:200%; }
#BIO h2 { padding: 10px 10px 10px 30px; border: none; background-color: #7097B8; color: #FFFFFF; font-weight:600; font-size:150%; }
#BIO h3 { padding: 10px 10px 10px 45px; border: none; background-color: #9BACCF; color: #FFFFFF; font-weight:500; font-size:125%; }
#BIO h4 { padding: 10px 10px 10px 60px; border: none; background-color: #A8A5CC; color: #FFFFFF; font-weight:400; font-size:100%; }
#BIO h5 { padding: 10px 10px 10px 75px; border: none; background-color: #A8A5CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#BIO h6 { padding: 10px 10px 10px 90px; border: none; background-color: #A8A5CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#BIO h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link { color: #FFFFFF; }  /* for edit tags */
#BIO h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: #FFFFFF; }  /* for edit tags */
#BIO #toc h2 { padding: 0; border: none; background-color: #f9f9f9; color: #000000; font-weight: 600; font size: 80%} /* repair h2 header in TOC */

/* BIO Table background colors */
#BIO td.sp { padding: 2px; margin: 0px; background-color: #FFFFFF; border: 0; }
#BIO td.sc { padding: 5px; margin: 5px; border: 1px solid #000000; }

#BIO tr.st  { background-color: #325C78; color: #FFFFFF; font-weight:bold; }
#BIO tr.sh  { background-color: #7097B8; color: #FFFFFF; }
#BIO tr.s1  { background-color: #EEEEEE; color: #000000;}
#BIO tr.s2  { background-color: #9BACCF; color: #000000;}





/* CSB   --- (remember to enclose page in <div id="CSB"></div>)*/
/* CSB banners */
#CSB div.b1     { padding: 5px; border: 1px solid #AAAAAA; background-color: #327378; color: #FFFFFF; font-weight:bold; font-size:300%; }
#CSB div.b2     { padding: 5px; border: 1px solid #AAAAAA; background-color: #70AFB8; color: #FFFFFF; font-weight:bold; font-size:200%; }
#CSB div.b3     { padding: 5px; border: 1px solid #AAAAAA; background-color: #9BBDCF; color: #FFFFFF; font-weight:bold; font-size:150%; }
#CSB div.b4     { padding: 5px; border: 1px solid #AAAAAA; background-color: #A5B0CC; color: #000000; font-weight:bold; font-size:100%; }
#CSB div.alert { padding: 5px; border: 1px solid #AAAAAA; background-color: #C8FFE5; color: #293136; font-weight:bold; font-size:150%; }

/*    CSB headers   */
#CSB h1 { padding: 10px 10px 10px 15px; border: none; background-color: #327378; color: #FFFFFF; font-weight:700; font-size:200%; }
#CSB h2 { padding: 10px 10px 10px 30px; border: none; background-color: #70AFB8; color: #FFFFFF; font-weight:600; font-size:150%; }
#CSB h3 { padding: 10px 10px 10px 45px; border: none; background-color: #9BBDCF; color: #FFFFFF; font-weight:500; font-size:125%; }
#CSB h4 { padding: 10px 10px 10px 60px; border: none; background-color: #A5B0CC; color: #FFFFFF; font-weight:400; font-size:100%; }
#CSB h5 { padding: 10px 10px 10px 75px; border: none; background-color: #A5B0CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#CSB h6 { padding: 10px 10px 10px 90px; border: none; background-color: #A5B0CC; color: #FFFFFF; font-weight:300; font-size:100%; }
#CSB h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link { color: #FFFFFF; }  /* for edit tags */
#CSB h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: #FFFFFF; }  /* for edit tags */
#CSB #toc h2 { padding: 0; border: none; background-color: #f9f9f9; color: #000000; font-weight: 600; font size: 80%} /* repair h2 header in TOC */

/* CSB Table background colors */
#CSB td.sp { padding: 2px; margin: 0px; background-color: #FFFFFF; border: 0; }
#CSB td.sc { padding: 5px; margin: 5px; border: 1px solid #000000; }

#CSB tr.st  { background-color: #327378; color: #FFFFFF; font-weight:bold; }
#CSB tr.sh  { background-color: #70AFB8; color: #FFFFFF; }
#CSB tr.s1  { background-color: #EEEEEE; color: #000000;}
#CSB tr.s2  { background-color: #9BBDCF; color: #000000;}