Team:Calgary/StyleSheets/Navigation
From 2014.igem.org
Line 104: | Line 104: | ||
#TopBar #LogoLink a { | #TopBar #LogoLink a { | ||
- | padding: 0; | + | padding: 0 !important; |
} | } | ||
#TopBar #LogoLink img { | #TopBar #LogoLink img { | ||
height: 61px; | height: 61px; | ||
- | margin | + | margin: 13px 0; |
} | } |
Revision as of 10:37, 3 October 2014
/*** Name: Wm. Keith van der Meulen Date: Summer 2013 Organization: University of Calgary iGEM Team 2013
---Purpose--- CSS code to define navigation stylings.
Cite: Wm. Keith van der Meulen University of Calgary iGEM 2013 https://2014.igem.org/Team:Calgary/StyleSheets/Navigation?action=raw&ctype=text/css
- /
- TopBar {
background: #231F20; 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: 124px; text-align: center; }
- TopBar li:hover > a {
text-decoration: underline; }
- TopBar a {
display: block; width: 100%; height: 100%; padding: 15px 0; color: #FFFFFF; text-decoration: none; font: 24px Raleway, Arial, san-serif; }
- TopBar > #TopLvlNav > li > a {
padding: 29px 0; }
- TopBar ul ul {
display: none; background: #231F20; 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: 18px; }
- TopBar ul ul ul {
position: absolute; left: 100%; top: 0; margin: 0; }
- TopBar #LogoLink {
width: 350px; }
- TopBar #LogoLink a {
padding: 0 !important; }
- TopBar #LogoLink img {
height: 61px; margin: 13px 0; }