User:Macowell/resultsbox.css

From 2007.igem.org

(Difference between revisions)
m
m
Line 1: Line 1:
#ResultsBox {
#ResultsBox {
-
width: 621px;
+
  width: 621px;
-
margin: 8px 16px;
+
  margin: 4px 16px 8px 16px;
-
//padding: 16px 16px;
+
  //padding: 16px 16px;
-
background: url(https://static.igem.org/mediawiki/2007/9/9c/Results-overview-bg.gif) repeat-x #f5f5f5;
+
  background: url(https://static.igem.org/mediawiki/2007/9/9c/Results-overview-bg.gif) repeat-x #f5f5f5;
-
border: 1px solid #e8e8e8;
+
  border: 1px solid #e8e8e8;
-
float:right; //expands bottom edge to include other floated elements, may not work in what brosers??
+
  float:right; //expands bottom edge to include other floated elements, may not work in what brosers??
}
}
Line 15: Line 15:
#ResultsBox p {
#ResultsBox p {
-
font-family: serif;
+
  font-family: serif;
-
font-size: 12pt;  
+
  font-size: 12pt;  
-
color: #444;
+
  color: #444;
-
line-height: 1.2em;
+
  line-height: 1.2em;
-
text-align: justify;
+
  text-align: justify;
-
padding: 8px;
+
  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;
-
font-size: 12pt;  
+
  font-size: 12pt;  
-
color:#333;
+
  color:#333;
-
margin-bottom:12px;
+
  margin-bottom:12px;
-
padding-bottom: 6px;
+
  padding-bottom: 6px;
-
border-bottom: 1px solid #e8e8e8;
+
  border-bottom: 1px solid #e8e8e8;
}
}
Line 44: Line 44:
.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 56: Line 56:
.stats dt{  
.stats dt{  
-
font-family: serif;  
+
  font-family: serif;  
-
line-height: 18pt;  
+
  line-height: 18pt;  
-
font-size: 18pt;  
+
  font-size: 18pt;  
-
font-weight: bold;  
+
  font-weight: bold;  
-
float: left;
+
  float: left;
-
clear:left;
+
  clear:left;
-
margin: 0 .2em 0 0;
+
  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: 18pt;
+
  line-height: 18pt;
-
margin:0;
+
  margin:0;
}
}

Revision as of 02:31, 21 December 2007

#ResultsBox {
  width: 621px;
  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;
}