User:Macowell/resultsbox.css

From 2007.igem.org

(Difference between revisions)
m
m
Line 1: Line 1:
#ResultsBox {
#ResultsBox {
-
   width: 621px;
+
   width: 618px;
   margin: 4px 16px 8px 16px;
   margin: 4px 16px 8px 16px;
   //padding: 16px 16px;
   //padding: 16px 16px;

Revision as of 02:46, 21 December 2007

#ResultsBox {
  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 #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;
}