Template:Team:Edinburgh/css/home-page-structure.css

From 2012.igem.org

(Difference between revisions)
(Style sheet for the structure of the home page.)
m
 
(132 intermediate revisions not shown)
Line 1: Line 1:
-
div.mid{
+
<html>
-
float:left;
+
<style type="text/css">
-
margin:0 12% 0 12%;
+
/* header edit*/
 +
#main-menu ul li#home-page:hover ul li.tab-img,
 +
#main-menu ul li#home-page:hover ul li.tab-description{
 +
top:-9000px;left:-9000px;
}
}
-
div.slideshow{
+
/* HOME PAGE */
-
width:50%;
+
#page-navigation{
-
height:270px;
+
border:none;
-
float:right;
+
}
}
-
div.welcome{
+
#page-content{
-
width:40%;
+
border:none;
-
height:100%;
+
-
float:right;
+
-
line-height:150%;
+
-
position:relative;
+
-
top:30px;
+
-
left:-50px;
+
}
}
-
div.welcome p{
+
/* sponsors */
-
padding:10%;
+
#sponsors img{
 +
width:100%;
}
}
-
div.welcome:first-letter{
+
#sponsor-UoE img{
-
font-size:200%;
+
width:120px;
 +
padding-left:30px;
}
}
-
div.slideshow img{
+
#sponsor-SULSA img{
-
width:80%;
+
padding-top:15px;
 +
}
 +
#sponsor-WT img{
 +
padding-top:15px;
 +
}
 +
#sponsor-MathWorks img{
 +
padding-top:20px;
 +
}
 +
#sponsor-SELEX img{
 +
padding-top:5px;
 +
}
 +
#sponsor-erasynbio img{
 +
padding-top:5px;
 +
padding-bottom:5px;
 +
}
 +
/* *** */
 +
#sponsors{
 +
border:1px solid #a8a8a8;
 +
}
 +
#home-page-text{
 +
width:610px;
 +
border:1px solid #a8a8a8;
 +
}
 +
#project-abstract-video{
 +
border:1px solid #a8a8a8;
 +
padding:4px;
 +
}
 +
#edi-twitter-widget{
 +
float: right;
position:relative;
position:relative;
-
top:50px;;
+
right:-5px;
-
left:10%;
+
width:225px;
 +
margin-left:10px;
 +
border:1px solid #a8a8a8;
 +
}
 +
#collaboration-img{
 +
vertical-align:top;
}
}
 +
</style>
 +
</html>

Latest revision as of 16:23, 24 October 2012