Template:BU2013
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | |||
<style> | <style> | ||
+ | |||
a{ | a{ | ||
color:#B22222; | color:#B22222; | ||
Line 294: | Line 294: | ||
<link href='http://fonts.googleapis.com/css?family=Signika:300,400' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Signika:300,400' rel='stylesheet' type='text/css'> | ||
+ | |||
<style type="text/css"> | <style type="text/css"> | ||
Line 330: | Line 331: | ||
} | } | ||
- | |||
H4 { | H4 { | ||
font-family: Signika; | font-family: Signika; | ||
Line 346: | Line 346: | ||
body { | body { | ||
background: #FFFFFF; | background: #FFFFFF; | ||
- | font-family: Signika; | + | font-family: Signika; |
} | } | ||
+ | |||
+ | #tracking_nav | ||
+ | { | ||
+ | margin: 0px 0px 0px 900px; | ||
+ | position: fixed; | ||
+ | color:#bababa; | ||
+ | border: 1px solid ##B22222; | ||
+ | background:##B22222; | ||
+ | font-size: 16pt; | ||
+ | padding: 5px; | ||
+ | line-height: 100%; | ||
+ | } | ||
+ | |||
+ | #tracking_nav a { color:#ffffff; text-transform: lowercase;font-size: 16pt;} | ||
+ | #tracking_nav a:hover {background:#bababa;} | ||
#parts_table | #parts_table | ||
Line 374: | Line 389: | ||
{ | { | ||
vertical-align: middle; | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | #nav li { | ||
+ | color: #ffffff; | ||
+ | background-color:#696969; | ||
+ | margin: 0 3px; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | list-style: none; | ||
+ | text-transform:none; | ||
+ | font-size:12pt; | ||
+ | } | ||
+ | |||
+ | /* main level link */ | ||
+ | #nav a { | ||
+ | font-weight: bold; | ||
+ | color: #ffffff; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | padding: 7px 13px; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | #nav a:hover { | ||
+ | background-color: #000000; | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | /* main level link hover */ | ||
+ | #nav .current a, #nav li:hover > a { | ||
+ | color: #ffffff; | ||
+ | background-color: #B22222; | ||
+ | } | ||
+ | |||
+ | /* sub levels link hover */ | ||
+ | #nav ul li:hover a, #nav li:hover li a { | ||
+ | border: solid; | ||
+ | border-color: #000000; | ||
+ | border-width: 1px; | ||
+ | background-color: #B22222; | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | #nav ul a:hover { | ||
+ | background: #fff url(img/gradient.png) repeat-x 0 -100px !important; | ||
+ | color: #B22222 !important; | ||
+ | text-shadow: 0 1px 1px rgba(0,0,0, .1); | ||
+ | } | ||
+ | |||
+ | /* dropdown */ | ||
+ | #nav li:hover > ul { | ||
+ | display: block; | ||
+ | background-color: #fff; | ||
+ | } | ||
+ | |||
+ | /* level 2 list */ | ||
+ | #nav ul { | ||
+ | display: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width: 205px; | ||
+ | position: absolute; | ||
+ | top: 32px; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | #nav ul li { | ||
+ | float: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | #nav ul a { | ||
+ | font-weight: normal; | ||
+ | text-shadow: 0 1px 0 #fff; | ||
+ | } | ||
+ | |||
+ | /* clearfix */ | ||
+ | #nav:after { | ||
+ | content: "."; | ||
+ | display: block; | ||
+ | clear: both; | ||
+ | visibility: hidden; | ||
+ | line-height: 0; | ||
+ | height: 0; | ||
+ | } | ||
+ | |||
+ | #nav { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | html[xmlns] #nav { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | * html #nav { | ||
+ | height: 1%; | ||
} | } | ||
Line 450: | Line 562: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | + | </body> | |
</html> | </html> |
Revision as of 20:29, 22 July 2013