Template:Team:Macquarie Australia/css/TopNavBar
From 2014.igem.org
(91 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
#TopBar { | #TopBar { | ||
- | background: # | + | background: #000; |
width: 100%; | width: 100%; | ||
min-width: 766px; | min-width: 766px; | ||
- | height: | + | height: 89px; |
z-index: 10; | z-index: 10; | ||
position: fixed; | position: fixed; | ||
Line 15: | Line 15: | ||
#TopBar ul { | #TopBar ul { | ||
- | background: #231F20; | + | //background: #231F20; |
list-style: none; | list-style: none; | ||
position: relative; | position: relative; | ||
Line 31: | Line 31: | ||
#TopBar li { | #TopBar li { | ||
float: left; | float: left; | ||
- | width: | + | width: 135px; |
text-align: center; | text-align: center; | ||
} | } | ||
#TopBar li:hover > a { | #TopBar li:hover > a { | ||
- | font-weight: bold; | + | //font-weight: bold; |
+ | text-shadow: 0px 0px 15px white, 0px 1px 15px white; | ||
+ | //text-shadow: 0px -1px 4px white, 0px -2px 10px white, 0px -10px 20px white, 0px -18px 40px yellow; | ||
+ | |||
} | } | ||
Line 44: | Line 47: | ||
height: 100%; | height: 100%; | ||
padding: 15px 0; | padding: 15px 0; | ||
- | color: # | + | color: #FFF; |
+ | //color: #7bc470; | ||
text-decoration: none; | text-decoration: none; | ||
- | font: | + | font: 16px "Trebuchet MS", Helvetica, sans-serif; |
} | } | ||
#TopBar > #TopLvlNav > li > a { | #TopBar > #TopLvlNav > li > a { | ||
- | padding: | + | padding: 29px 0; |
} | } | ||
#TopBar ul ul { | #TopBar ul ul { | ||
display: none; | display: none; | ||
- | background: # | + | background: #000; |
padding: 0 10px; | padding: 0 10px; | ||
position: absolute; | position: absolute; | ||
Line 73: | Line 77: | ||
#TopBar ul ul a { | #TopBar ul ul a { | ||
- | font-size: | + | font-size: 16px; |
} | } | ||
Line 90: | Line 94: | ||
position: fixed; | position: fixed; | ||
width: 120px; | width: 120px; | ||
- | height: | + | height: 60px; |
top: 25px; | top: 25px; | ||
background: orange; | background: orange; |
Latest revision as of 11:57, 14 October 2014
- TopBar {
background: #000; width: 100%; min-width: 766px; height: 89px; z-index: 10; position: fixed; text-align: center; top: 25px; }
- TopBar #TopLvlNavLink {
display: none; }
- TopBar ul {
//background: #231F20; list-style: none; position: relative; display: inline-table; padding: 0; margin: 0; }
- TopBar ul:after {
content: ""; clear: both; display: block; }
- TopBar li {
float: left; width: 135px; text-align: center; }
- TopBar li:hover > a {
//font-weight: bold; text-shadow: 0px 0px 15px white, 0px 1px 15px white; //text-shadow: 0px -1px 4px white, 0px -2px 10px white, 0px -10px 20px white, 0px -18px 40px yellow;
}
- TopBar a {
display: block; width: 100%; height: 100%; padding: 15px 0; color: #FFF; //color: #7bc470; text-decoration: none; font: 16px "Trebuchet MS", Helvetica, sans-serif; }
- TopBar > #TopLvlNav > li > a {
padding: 29px 0; }
- TopBar ul ul {
display: none; background: #000; padding: 0 10px; position: absolute; top: 95%; z-index: 10; margin-left: -10px; }
- TopBar ul li:hover > ul {
display: block; }
- TopBar ul ul li {
float: none; position: relative; }
- TopBar ul ul a {
font-size: 16px; }
- TopBar ul ul ul {
position: absolute; left: 100%; top: 0; margin: 0; }
- TopBar #LogoItem {
padding: 8px 0; }
- TopBarCollapse {
position: fixed; width: 120px; height: 60px; top: 25px; background: orange; z-index: 10; }
- TopBarCollapse #TopLvlNavLink {
display: block; width: 100%; height: 100%; }
- TopBarCollapse:after {
content: ""; clear: both; display: block; }
- TopBarCollapse ul {
display: none; list-style: none; padding: 0; }
- TopBarCollapse ul:after {
content: ""; clear: both; display: block; }
- TopBarCollapse li {
float: left; display: block; clear: both; width: 120px; padding: 0; background: green; }
- TopBarCollapse li:hover {
background: pink; }
- TopBarCollapse a {
color: #FFFFFF; display: block; text-decoration: none; padding: 10px 15px; }
- TopBarCollapse #LogoItem {
display: none !important; }