Template:Team:Berkeley/header
From 2011.igem.org
(Difference between revisions)
(104 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<style = "text/css" media="screen"> | <style = "text/css" media="screen"> | ||
- | |||
- | |||
Line 10: | Line 8: | ||
ul.topnav { | ul.topnav { | ||
list-style: none; | list-style: none; | ||
- | padding: | + | padding: 0px 0px; |
- | margin: | + | margin: 0px 0px 0px -22px; |
width:1000px; | width:1000px; | ||
float: left; | float: left; | ||
Line 21: | Line 19: | ||
font-family: 'Georgia', Times, serif; | font-family: 'Georgia', Times, serif; | ||
font-weight: 150; | font-weight: 150; | ||
- | font-size: 1. | + | font-size: 1.65em; |
float: left; | float: left; | ||
- | margin: 0px; | + | margin:0px 0px 0px 0px; |
- | opacity:. | + | opacity:.8; |
- | padding: | + | padding: 2px 6px 10px 12px; |
- | position: | + | position: 0px 0px; /*--Declare X and Y axis base for sub navigation--*/ |
} | } | ||
ul.topnav li a{ | ul.topnav li a{ | ||
- | padding: 18px 8px | + | padding: 18px 8px 10px 10px; |
color: white; | color: white; | ||
display: block; | display: block; | ||
Line 40: | Line 38: | ||
ul.topnav li a:hover{ | ul.topnav li a:hover{ | ||
background-color:black; | background-color:black; | ||
- | padding: 18px 8px | + | padding: 18px 8px 10px 10px; |
font-color: white; | font-color: white; | ||
Line 55: | Line 53: | ||
list-style: none; | list-style: none; | ||
position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ | position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ | ||
- | left: | + | left: 3px; top: 55px; |
background: #333; | background: #333; | ||
margin: 0; padding: 3px; | margin: 0; padding: 3px; | ||
Line 105: | Line 103: | ||
padding: 0px; | padding: 0px; | ||
width: 1000px; | width: 1000px; | ||
- | background: # | + | background: #BABABA; |
font-family:Georgia ,Helvetica,sans-serif; | font-family:Georgia ,Helvetica,sans-serif; | ||
border: none; | border: none; | ||
Line 152: | Line 150: | ||
#spacer3 { | #spacer3 { | ||
- | height: | + | height: .4em; |
} | } | ||
Line 182: | Line 180: | ||
.nivoSlider { | .nivoSlider { | ||
position:relative; | position:relative; | ||
+ | effect: 'fade' | ||
} | } | ||
.nivoSlider img { | .nivoSlider img { | ||
Line 242: | Line 241: | ||
} | } | ||
.nivo-prevNav { | .nivo-prevNav { | ||
- | left: | + | left:15px; |
} | } | ||
.nivo-nextNav { | .nivo-nextNav { | ||
- | right: | + | right:15px; |
} | } | ||
/* Control nav styles (e.g. 1,2,3...) */ | /* Control nav styles (e.g. 1,2,3...) */ | ||
+ | .theme-default .nivo-controlNav { | ||
+ | position:absolute; left:100%; bottom:-42px; | ||
+ | margin-left: -1000px; | ||
+ | } | ||
+ | |||
.nivo-controlNav a { | .nivo-controlNav a { | ||
position:relative; | position:relative; | ||
Line 253: | Line 257: | ||
cursor:pointer; | cursor:pointer; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
.nivo-controlNav a.active { | .nivo-controlNav a.active { | ||
font-weight:bold; | font-weight:bold; | ||
Line 258: | Line 265: | ||
.theme-default #slider { | .theme-default #slider { | ||
- | margin:0px auto | + | margin:0px auto 0px auto; |
width:618px; /* Make sure your images are the same size */ | width:618px; /* Make sure your images are the same size */ | ||
- | height: | + | height:464px; /* Make sure your images are the same size */ |
} | } | ||
Latest revision as of 20:07, 28 September 2011