Template:Team:Macquarie Australia/css/TopNavBar

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
width: 100%;
width: 100%;
min-width: 766px;
min-width: 766px;
-
height: 69px;
+
height: 75px;
z-index: 10;
z-index: 10;
position: fixed;
position: fixed;
Line 50: Line 50:
#TopBar > #TopLvlNav  > li > a {
#TopBar > #TopLvlNav  > li > a {
-
padding: 14px 0;
+
padding: 15px 0;
}
}

Revision as of 02:13, 22 September 2014

  1. TopBar {

background: #231F20; width: 100%; min-width: 766px; height: 75px; z-index: 10; position: fixed; text-align: center; top: 25px; }

  1. TopBar #TopLvlNavLink {

display: none; }

  1. TopBar ul {

background: #231F20; list-style: none; position: relative; display: inline-table; padding: 0; margin: 0; }

  1. TopBar ul:after {

content: ""; clear: both; display: block; }

  1. TopBar li {

float: left; width: 124px; text-align: center; }

  1. TopBar li:hover > a {

text-decoration: underline; }

  1. TopBar a {

display: block; width: 100%; height: 100%; padding: 15px 0; color: #FFFFFF; text-decoration: none; font: 24px Raleway, Arial, san-serif; }

  1. TopBar > #TopLvlNav > li > a {

padding: 15px 0; }

  1. TopBar ul ul {

display: none; background: #231F20; padding: 0 10px; position: absolute; top: 95%; z-index: 10; margin-left: -10px; }

  1. TopBar ul li:hover > ul {

display: block; }

  1. TopBar ul ul li {

float: none; position: relative; }

  1. TopBar ul ul a {

font-size: 18px; }

  1. TopBar ul ul ul {

position: absolute; left: 100%; top: 0; margin: 0; }

  1. TopBar #LogoItem {

padding: 8px 0; }

  1. TopBarCollapse {

position: fixed; width: 120px; height: 40px; top: 25px; background: orange; z-index: 10; }

  1. TopBarCollapse #TopLvlNavLink {

display: block; width: 100%; height: 100%; }

  1. TopBarCollapse:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse ul {

display: none; list-style: none; padding: 0; }

  1. TopBarCollapse ul:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse li {

float: left; display: block; clear: both; width: 120px; padding: 0; background: green; }

  1. TopBarCollapse li:hover {

background: pink; }

  1. TopBarCollapse a {

color: #FFFFFF; display: block; text-decoration: none; padding: 10px 15px; }

  1. TopBarCollapse #LogoItem {

display: none !important; }