Team:Calgary/StyleSheets/Navigation

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
/***
/***
Name: Wm. Keith van der Meulen
Name: Wm. Keith van der Meulen
-
Date: Summer 2013
+
Date: Summer 2014
-
Organization: University of Calgary iGEM Team 2013
+
Organization: University of Calgary iGEM Team 2014
---Purpose---
---Purpose---
Line 16: Line 16:
#TopBar {
#TopBar {
-
background: #231F20;
+
background: #FFFFFF;
width: 100%;
width: 100%;
min-width: 766px;
min-width: 766px;
Line 31: Line 31:
#TopBar ul {
#TopBar ul {
-
background: #231F20;
+
background: #FFFFFF;
list-style: none;
list-style: none;
position: relative;
position: relative;
Line 60: Line 60:
height: 100%;
height: 100%;
padding: 15px 0;
padding: 15px 0;
-
color: #FFFFFF;
+
color: #1697B5;
text-decoration: none;
text-decoration: none;
font: 24px Raleway, Arial, san-serif;
font: 24px Raleway, Arial, san-serif;
Line 71: Line 71:
#TopBar ul ul {
#TopBar ul ul {
display: none;
display: none;
-
background: #231F20;
+
background: #FFFFFF;
padding: 0 10px;
padding: 0 10px;
position: absolute;
position: absolute;

Revision as of 11:07, 3 October 2014

/*** Name: Wm. Keith van der Meulen Date: Summer 2014 Organization: University of Calgary iGEM Team 2014

---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

      • /
  1. TopBar {

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

  1. TopBar #TopLvlNavLink {

display: none; }

  1. TopBar ul {

background: #FFFFFF; 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: #1697B5; text-decoration: none; font: 24px Raleway, Arial, san-serif; }

  1. TopBar > #TopLvlNav > li > a {

padding: 29px 0; }

  1. TopBar ul ul {

display: none; background: #FFFFFF; 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 #LogoLink {

width: 350px; }

  1. TopBar #LogoLink a {

padding: 0 !important; }

  1. TopBar #LogoLink img {

height: 61px; margin: 13px 0; }