User:Jenny T Nguyen/monobook.css

From OpenWetWare
Jump to navigationJump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* ************************************************** 
 * Tab support based on http://www.alistapart.com/articles/slidingdoors/
 * ************************************************** */

.tabs {
  float:left;
  width:100%;
  background:#fff;
  font-size:93%;
  line-height:normal;
  margin: 0;
  padding: 0;
}

.tabs ul {
  margin:0;
  padding:10px 10px 0;
  list-style:none;
}
.tabs li {
  float:left;
  background:#fff;
  margin:0;
  padding:0 0 0 9px;
}

/* MediaWiki automatically removes links for the current page and surrounds it with <strong> tags instead */
.tabs a,.tabs strong {
  float:left;
  display:block;
  background:#fff;
  padding:5px 15px 4px 6px;
  text-decoration:none;
  font-weight:bold;
  color:#765;
}
/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
.tabs a {float:none;}
/* End IE5-Mac hack */
.tabs a:hover {
  color:#333;
}

.tabs #current {
  background-image:url("");
}
.tabs #current a,.tabs #current strong {
  background-image:url("");
  color:#333;
  padding-bottom:5px;
}

.tabcontent {
  border: 1px dashed #aa9988;
  padding: 0em 1em 1em 1em;
  border-top: none;
  background-color:#ffffff;
  color:#000;
  clear: both;
}

.tabcontent #prevtab {
  float: left;
  margin-top: -1.5em; 
  background-color: #fff; 
  color: #000; 
  padding: .2em .6em; 
  font-size: 130%; 
  border: 1px solid #765;
}

.tabcontent #nexttab {
  float: right; 
  margin-top: -1.5em; 
  background-color: #fff; 
  color: #000; 
  padding: .2em .6em; 
  font-size: 130%; 
  border: 1px solid #765;
}