Template:Team:BostonU/CSS
From 2014.igem.org
(Difference between revisions)
(21 intermediate revisions not shown) | |||
Line 85: | Line 85: | ||
a:link { | a:link { | ||
color: #F79042; | color: #F79042; | ||
+ | font-weight=500; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
a:visited { | a:visited { | ||
text-decoration: none; | text-decoration: none; | ||
+ | font-weight=500; | ||
color: #F79042; | color: #F79042; | ||
} | } | ||
Line 159: | Line 161: | ||
maincontent{ | maincontent{ | ||
+ | font-weight:100; | ||
+ | font-size:14px; | ||
text-align:justify; | text-align:justify; | ||
} | } | ||
Line 213: | Line 217: | ||
#tracking_nav a { color:#ffffff; text-transform: lowercase;font-size: 16pt;} | #tracking_nav a { color:#ffffff; text-transform: lowercase;font-size: 16pt;} | ||
#tracking_nav a:hover {background:#bababa;} | #tracking_nav a:hover {background:#bababa;} | ||
- | |||
ul#nav { | ul#nav { | ||
Line 257: | Line 260: | ||
color: #ffffff;*/ | color: #ffffff;*/ | ||
} | } | ||
+ | |||
/* main level link hover */ | /* main level link hover */ | ||
Line 265: | Line 269: | ||
/* sub levels link hover */ | /* sub levels link hover */ | ||
- | #nav ul li:hover a, #nav li:hover li a { | + | #nav ul li:hover a , #nav li:hover li a{ |
border: none; | border: none; | ||
background-image:url(https://static.igem.org/mediawiki/2014/3/3a/Orangemenubkgd_bu14.png); | background-image:url(https://static.igem.org/mediawiki/2014/3/3a/Orangemenubkgd_bu14.png); | ||
Line 271: | Line 275: | ||
color:#FFF; | color:#FFF; | ||
} | } | ||
- | |||
#nav ul a:hover { | #nav ul a:hover { | ||
color: #353535 !important; | color: #353535 !important; | ||
Line 279: | Line 282: | ||
+ | /* dropdown */ | ||
+ | #nav li:hover > ul { | ||
+ | display: block; | ||
+ | opacity:1; | ||
+ | margin:0; | ||
+ | background-color: none; | ||
+ | z-index:0; | ||
+ | } | ||
/* level 2 list */ | /* level 2 list */ | ||
#nav ul { | #nav ul { | ||
- | + | display: none; | |
opacity:0; | opacity:0; | ||
margin: 20px 0 0 0; | margin: 20px 0 0 0; |
Latest revision as of 01:10, 18 October 2014