Team:Freiburg Bioware/css homepage

From 2010.igem.org

(Difference between revisions)
 
(34 intermediate revisions not shown)
Line 13: Line 13:
padding:10px;
padding:10px;
background: transparent  
background: transparent  
-
url(https://static.igem.org/mediawiki/2010/c/cf/Freiburg_10_Box2_rand.png) no-repeat scroll center 0px;
+
url(https://static.igem.org/mediawiki/2010/e/eb/Freiburg10_Box_Home.png) no-repeat scroll center 0px;
}
}
div.box_home:hover {
div.box_home:hover {
background: transparent  
background: transparent  
-
url(https://static.igem.org/mediawiki/2010/c/cf/Freiburg_10_Box2_rand.png) no-repeat scroll center 0px;
+
url(https://static.igem.org/mediawiki/2010/e/eb/Freiburg10_Box_Home.png) no-repeat scroll center 0px;
}
}
div.box_home div.img {
div.box_home div.img {
width:140px;
width:140px;
 +
}
 +
.box_home h2 {
 +
width:265px;
}
}
div.box_home_small {
div.box_home_small {
Line 29: Line 32:
padding:10px;
padding:10px;
background: transparent  
background: transparent  
-
url(https://static.igem.org/mediawiki/2010/e/ec/Freiburg10_Box_small_border.png) no-repeat scroll center 0px;
+
url(https://static.igem.org/mediawiki/2010/f/f0/Freiburg10_Box_Small.png) no-repeat scroll center 0px;
}
}
div.box_home_small:hover {
div.box_home_small:hover {
background: transparent  
background: transparent  
-
url(https://static.igem.org/mediawiki/2010/7/7c/Freiburg10_Box_klein.png) no-repeat scroll center 0px;
+
url(https://static.igem.org/mediawiki/2010/f/f0/Freiburg10_Box_Small.png) no-repeat scroll center 0px;
}
}
Line 40: Line 43:
float:right;
float:right;
margin:0 10px 10px 0;
margin:0 10px 10px 0;
 +
}
 +
.box_home_small h2 {
 +
width:110px;
 +
}
 +
 +
div.box_long {
 +
margin:15px;
 +
float:left;
 +
width:400px;
 +
height:95px;
 +
padding:10px;
 +
background: transparent
 +
url(https://static.igem.org/mediawiki/2010/7/72/Freiburg10_Box_Long.png) no-repeat scroll center 0px;
 +
}
 +
 +
div.box_long img {
 +
max-width: 100px;
 +
max-height:100px;
 +
float:right;
 +
margin:0 10px 10px 0;
 +
}
 +
 +
div.box_long h2  {
 +
width: 335px;
}
}
div.div_home {
div.div_home {
width: 590px;
width: 590px;
-
margin:15px;
+
margin:0 15px 15px;
float:left;
float:left;
}
}
Line 50: Line 77:
div.virus {
div.virus {
height:260px;
height:260px;
-
margin: 15px;
+
margin: 0 15px 15px;
float:right;
float:right;
}
}
 +
 +
 +
/* labjournal css */
 +
 +
.box_labjournal_195 a {
 +
margin: 5px 0px 5px 25px;
 +
float: left;
 +
width: 195px;
 +
height: 260px;
 +
background: transparent url(https://static.igem.org/mediawiki/2010/f/f0/Freiburg10_Box_Small.png) no-repeat scroll center 0px;
 +
}
 +
.box_labjournal_195 a:hover {
 +
background: transparent url(https://static.igem.org/mediawiki/2010/7/7c/Freiburg10_Box_klein.png) no-repeat scroll center 0px;
 +
text-decoration: none;
 +
}
 +
 +
.image_labjournal {
 +
width: 195px;
 +
height: auto;
 +
margin: 0px 0px 0px 0px;
 +
}
 +
 +
.boxes_labjournal_day {
 +
font-family: verdana,arial,helvetica,geneva,sans-serif;
 +
font-size: 12px;
 +
text-align: left
 +
margin: 10px 0px 0px 5px;
 +
color: #333;
 +
}
 +
 +
.boxes_labjournal_text {
 +
font-family: verdana,arial,helvetica,geneva,sans-serif;
 +
font-size: 12px;
 +
text-align: center;
 +
margin: 5px 0px 0px 0px;
 +
color: #333;
 +
}
 +
 +
/*labjournal style ends here */
#logo {
#logo {
Line 64: Line 130:
img.logoright {
img.logoright {
-
margin: 20px 50px 50px 150px;
+
margin: 5px;
float: right;
float: right;
}
}
Line 78: Line 144:
         list-style-image: none;
         list-style-image: none;
border: none;
border: none;
-
background: #fff;
+
background: transparent;
-
padding: 3px;
+
padding: 0;
margin: 0;
margin: 0;
 +
        top:-30px;
 +
}
 +
.news p {
 +
margin:0;
 +
position:relative;
 +
top:45px;
 +
font-size:1em;
 +
text-align:center;
 +
left:-10px;
 +
padding:0 5px;
 +
}
 +
 +
.news {
 +
position:relative;
 +
top:-30px;
 +
}
 +
 +
div.box_long_news a h2 {
 +
width: 275px;
 +
}
 +
 +
/* go to the top */
 +
 +
#to_top {
 +
position: fixed;
 +
bottom: 50px;
 +
right: 10px;
 +
height: 110px;
 +
width: 40px;
 +
background: transparent url("http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/c/cb/To_the_top_image.png") no-repeat scroll center center;
 +
/*border: 1px solid black;*/
}
}
</style>
</style>
</html>
</html>

Latest revision as of 16:41, 5 January 2011