User:Macowell/resultsbox.css

From 2007.igem.org

< User:Macowell(Difference between revisions)
m
 
(11 intermediate revisions not shown)
Line 1: Line 1:
#ResultsBox {
#ResultsBox {
-
width: 637px;
+
  position: relative;
-
margin: 2em auto;
+
  width: 618px;
-
//padding: 16px 16px;
+
  margin: 4px 16px 8px 16px;
-
background: url(results-overview-bg.gif) repeat-x #f5f5f5;
+
  //padding: 16px 16px;
-
border: 1px solid #e8e8e8;
+
  //background: url(https://static.igem.org/mediawiki/2007/9/9c/Results-overview-bg.gif) repeat-x #f5f5f5;
-
float:right; //expands bottom edge to include other floated elements, may not work in what brosers??
+
  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 a{ font-weight: normal; }
-
#ResultsBox h2 {text-align: center;}
+
#ResultsBox h2 {text-align: center; color:#666; font-weight: bold;}
#ResultsBox img { float: left; }
#ResultsBox img { float: left; }
#ResultsBox p {
#ResultsBox p {
-
font-family: serif;
+
  font-family: serif;
-
color: #444;
+
  font-size: 12pt;
-
line-height: 1.4em;
+
  color: #444;
-
text-align: justify;
+
  line-height: 1.2em;
-
padding: 8px;
+
  text-align: justify;
 +
  padding: 8px;
}
}
#ResultsBox ul {
#ResultsBox ul {
-
width: 260px;
+
  width: 260px;
-
float: right;
+
  float: right;
-
margin:8px 16px 0 0;
+
  margin:8px 16px 0 0;
-
padding:0 16px 0 0;
+
  padding:0 16px 0 0;
-
list-style-type: none;
+
  list-style-type: none;
}
}
#ResultsBox ul li {
#ResultsBox ul li {
-
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
+
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
-
color:#333;
+
  font-size: 12pt;
-
margin-bottom:12px;
+
  color:#333;
-
padding-bottom: 6px;
+
  margin-bottom:12px;
-
border-bottom: 1px solid #e8e8e8;
+
  padding-bottom: 6px;
 +
  border-bottom: 1px solid #e8e8e8;
}
}
Line 42: Line 45:
.stats{
.stats{
-
float:left;
+
  //float:left;
-
width: 260px;
+
  width: 260px;
-
margin: 0 0 0 40px;
+
  margin: 0 0 0 40px;
-
padding:0;
+
  padding:0;
}  
}  
Line 54: Line 57:
.stats dt{  
.stats dt{  
-
font-family: serif;  
+
  font-family: serif;  
-
line-height: 15pt;  
+
  line-height: 18pt;  
-
font-size: 14pt;  
+
  font-size: 18pt;  
-
font-weight: bold;  
+
  font-weight: bold;  
-
float: left;
+
  float: left;
-
clear:left;
+
  clear:left;
-
margin-right: .2em;
+
  margin: 0 .2em 0 0;
-
color: #60b838;
+
  color: #60b838;
}
}
.stats dd{  
.stats dd{  
-
font-weight: bold;
+
  font-weight: bold;
-
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
+
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
-
color: #555;
+
  color: #555;
-
font-size: 12pt;
+
  font-size: 12pt;
-
line-height: 15pt;
+
  line-height: 18pt;
-
margin-left:0;
+
  margin:0;
}
}

Latest revision as of 22:19, 7 September 2008

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