Team:GeorgiaTech/css
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
margin: 0px; | margin: 0px; | ||
background: #fcfaf8; | background: #fcfaf8; | ||
+ | } | ||
+ | #ecoili #indexmenu{ | ||
+ | position:relative; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | width:781px; | ||
+ | height:218px; | ||
+ | background:url(https://static.igem.org/mediawiki/2011/8/80/Ucl-index-menu.jpg); | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #research a{ | ||
+ | position: absolute; | ||
+ | width: 186px; | ||
+ | height: 218px; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #research a:hover{ | ||
+ | background:url(https://static.igem.org/mediawiki/2011/0/04/Ucl-index-menu-research.jpg); | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #manufacturing a{ | ||
+ | position: absolute; | ||
+ | width: 181px; | ||
+ | height: 218px; | ||
+ | top: 0px; | ||
+ | left: 201px; | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #manufacturing a:hover{ | ||
+ | background:url(https://static.igem.org/mediawiki/2011/b/b1/Ucl-index-menu-manufacturing.jpg); | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #medicine a{ | ||
+ | position: absolute; | ||
+ | width: 142px; | ||
+ | height: 218px; | ||
+ | top: 0px; | ||
+ | left: 393px; | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #medicine a:hover{ | ||
+ | background:url(https://static.igem.org/mediawiki/2011/9/99/Ucl-index-menu-medicine.jpg); | ||
+ | } | ||
+ | |||
+ | |||
+ | #ecoili #indexmenu #humanprac a{ | ||
+ | position: absolute; | ||
+ | width: 237px; | ||
+ | height: 218px; | ||
+ | top: 0px; | ||
+ | left: 544px; | ||
+ | } | ||
+ | |||
+ | #ecoili #indexmenu #humanprac a:hover{ | ||
+ | background:url(https://static.igem.org/mediawiki/2011/5/54/Ucl-index-menu-humanpractices.jpg); | ||
} | } |
Revision as of 16:59, 28 September 2011
body{
font-family: 'Josefin Sans', sans-serif;
margin: 0px;
background: #fcfaf8;
}
- ecoili #indexmenu{
position:relative; margin-left:auto; margin-right:auto; width:781px; height:218px; background:url();
}
- ecoili #indexmenu #research a{
position: absolute; width: 186px; height: 218px; top: 0px; left: 0px; }
- ecoili #indexmenu #research a:hover{
background:url();
}
- ecoili #indexmenu #manufacturing a{
position: absolute; width: 181px; height: 218px; top: 0px; left: 201px; }
- ecoili #indexmenu #manufacturing a:hover{
background:url();
}
- ecoili #indexmenu #medicine a{
position: absolute; width: 142px; height: 218px; top: 0px; left: 393px; }
- ecoili #indexmenu #medicine a:hover{
background:url();
}
- ecoili #indexmenu #humanprac a{
position: absolute; width: 237px; height: 218px; top: 0px; left: 544px; }
- ecoili #indexmenu #humanprac a:hover{
background:url();
}