Template:Team:Edinburgh/css/header-structure.css
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(113 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | + | #header{ | |
- | + | height:158px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | # | + | |
- | height: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
width:100%; | width:100%; | ||
+ | border-bottom: 2px solid #182e46; | ||
} | } | ||
- | + | #banner{ | |
- | + | width:1085px; | |
- | + | margin-left: auto; | |
- | + | margin-right: auto; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | margin: | + | |
height:120px; | height:120px; | ||
} | } | ||
- | + | #team-name{ | |
- | width: | + | width:25%; |
height:100%; | height:100%; | ||
float:left; | float:left; | ||
} | } | ||
- | + | #team-name img{ | |
- | + | height:120px; | |
} | } | ||
- | + | #logo{ | |
float:left; | float:left; | ||
- | width: | + | width:35%; |
height:100%; | height:100%; | ||
} | } | ||
- | + | #logo img{ | |
+ | height:100px; | ||
position:relative; | position:relative; | ||
- | top: | + | top:10px; |
- | + | ||
- | + | ||
} | } | ||
- | + | #follow{ | |
float:left; | float:left; | ||
width:40%; | width:40%; | ||
height:100%; | height:100%; | ||
} | } | ||
- | + | #follow ul{ | |
margin-top:50px; | margin-top:50px; | ||
margin-left:30px; | margin-left:30px; | ||
} | } | ||
- | + | #follow li{ | |
display:inline; | display:inline; | ||
- | padding-left: | + | padding-left:15px; |
+ | padding-right:15px; | ||
float:right; | float:right; | ||
} | } | ||
- | + | #follow li:first-child{ | |
+ | padding-right: 0px; | ||
+ | } | ||
+ | #follow img{ | ||
height:30px; | height:30px; | ||
} | } | ||
- | + | .link-details{ | |
- | margin: | + | position: relative; |
+ | top: -300px; left: -300px; | ||
+ | width: 1px; | ||
+ | height: 1px; | ||
+ | } | ||
+ | #gmail:hover p{ | ||
+ | top: -45px; left: 3px; | ||
+ | } | ||
+ | #youtube:hover p{ | ||
+ | top: -65px; left: -10px; | ||
+ | } | ||
+ | #gplus:hover p{ | ||
+ | top: -45px; left: -10px; | ||
+ | } | ||
+ | #twitter:hover p{ | ||
+ | top: -45px; left: -5px; | ||
+ | } | ||
+ | #facebook:hover p{ | ||
+ | top: -45px; left: -10px; | ||
+ | } | ||
+ | #blogger:hover p{ | ||
+ | top: -45px; left: -5px; | ||
+ | } | ||
+ | #main-menu{ | ||
+ | width:1085px; | ||
+ | margin-left: auto; | ||
+ | margin-right:auto; | ||
height:40px; | height:40px; | ||
+ | list-style:none; | ||
text-align:center; | text-align:center; | ||
} | } | ||
- | + | #main-menu ul{ | |
height:100%; | height:100%; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | list-style:none; | ||
} | } | ||
- | + | #main-menu ul li{ | |
float:left; | float:left; | ||
- | width: | + | width:10%; |
height:100%; | height:100%; | ||
} | } | ||
- | + | #main-menu ul li ul a{ | |
- | width: | + | display: block; |
+ | height:100%; | ||
+ | width:100%; | ||
+ | padding:0; | ||
} | } | ||
- | + | #main-menu ul li ul a p{ | |
+ | padding-top: 6px; | ||
+ | } | ||
+ | #main-menu ul li#human-practices-page ul a p{ | ||
+ | padding-top: 4px; | ||
+ | } | ||
+ | #main-menu ul li ul{ | ||
+ | padding:0; | ||
+ | height:40px; | ||
+ | } | ||
+ | #main-menu ul li ul li{ | ||
+ | padding:0px; | ||
+ | padding:2px; | ||
+ | border-bottom:1px dashed #f2f2f2; | ||
+ | margin:0px; | ||
+ | width:100%; | ||
position:relative; | position:relative; | ||
- | top: | + | top:-9000px; |
+ | height:auto; | ||
+ | } | ||
+ | #main-menu ul li ul li:nth-last-child(2){ | ||
+ | border-bottom:none; | ||
+ | } | ||
+ | #main-menu ul li:hover ul li{ | ||
+ | top:0px; | ||
+ | } | ||
+ | #main-menu ul li ul li a, | ||
+ | #main-menu ul li ul li img{ | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | width:100%; | ||
+ | display:block; | ||
+ | } | ||
+ | #main-menu ul li ul li a{ | ||
+ | margin-top:3px; | ||
+ | border:none; | ||
+ | display:block; | ||
+ | } | ||
+ | #main-menu ul li ul li.no-show{ | ||
+ | display:none; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 21:41, 24 October 2012