User:Macowell/resultsbox.css

From 2007.igem.org

< User:Macowell
Revision as of 22:12, 7 September 2008 by Randy (Talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh); Konqueror: click Reload or press F5; Opera: clear the cache in Tools → Preferences; Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

#ResultsBox {
  position: relative;
  width: 618px;
  margin: 4px 16px 8px 16px;
  //padding: 16px 16px;
  //background: url(https://static.igem.org/mediawiki/2007/9/9c/Results-overview-bg.gif) repeat-x #f5f5f5;
  border: 1px solid #444444; //#e8e8e8;
  //float:right;  //expands bottom edge to include other floated elements, may not work in what brosers??
}

#ResultsBox a{ font-weight: normal; }

#ResultsBox h2 {text-align: center; color:#666; font-weight: bold;}

#ResultsBox img { float: left; }

#ResultsBox p {
  font-family: serif;
  font-size: 12pt; 
  color: #444;
  line-height: 1.2em;
  text-align: justify;
  padding: 8px;
}

#ResultsBox ul {
  width: 260px;
  float: right;
  margin:8px 16px 0 0;
  padding:0 16px 0 0;
  list-style-type: none;
}

#ResultsBox ul li {
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
  font-size: 12pt; 
  color:#333;
  margin-bottom:12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e8e8e8;
}

#ResultsBox ul img {float: none; margin-bottom:-8px;}


.stats{
  float:left;
  width: 260px;
  margin: 0 0 0 40px;
  padding:0;
} 

.stats h2{ text-align: left !important; }


.stats dl{ margin:0 0 0 16px; }

.stats dt{ 
  font-family: serif; 
  line-height: 18pt; 
  font-size: 18pt; 
  font-weight: bold; 
  float: left;
  clear:left;
  margin: 0 .2em 0 0;
  color: #60b838;
}

.stats dd{ 
  font-weight: bold;
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
  color: #555;
  font-size: 12pt;
  line-height: 18pt;
  margin:0;
}