Team:Calgary/static/basicpagedesktop.css

From 2012.igem.org

Revision as of 21:14, 5 September 2012 by Pjwu (Talk | contribs)

/*====== Desktop Styling ======*/

/***Nav styling***/ header{ position: relative; top: -45px; }

  1. nav-wrap{

height: 0px; margin-top: -45px; }

  1. nav, #nav ul{

list-style: none; margin: 0; padding: 0; width: 965px; height: 100%; display: table;


}

/*To be moved to JQ block*/

  1. menu-icon{

display: none; }

/*menu*/

  1. nav li{

height: auto; padding: 0; list-style: none; float: left; width: auto; margin: 0; background: #333333; position: relative; } #nav > li a{ padding: 0 15px; } #nav > li{ background: transparent; }

/*submenu*/

  1. nav li ul {

position: absolute; width: 200px; display: none; } #nav li:hover ul { display: block; } /*sub-submenu*/

  1. nav li ul ul{

margin-left: 230px; margin-top: -15px; } #nav li:hover ul ul{ display: none; }

  1. nav li:hover ul, #nav li li:hover ul{

display: block; }

  1. nav a{

display: block; font-family: Myriad Pro, Gill Sans MT, Trebuchet MS, Arial, Sans-Serif; color: white; } #nav li a{ line-height: 1.4em; /*centers the text vertically*/ font-size: 2em; } #nav ul li > a{ width: 200px; } /*color change after rollover*/ #nav li a:hover, #nav li li a.drop:hover::after{ display: block; text-decoration: none; color: #43bbff; }

  1. nav li ul li ul{

margin-top: -35px; position: absolute; } /*submenu and sub-submenu*/ #nav li ul li ul li a, #nav li ul li a{ font-size: 1.8em; }

  1. nav li li a.drop:after{

content: '>'; padding-left: 20px; color: #BBB; display: inline; float: right; }

/***End nav styling***/

/***Headerimage***/

  1. headerimage{

width: 968px; position: relative; margin-left: 0px; margin-bottom: 10px; top: 0px; }

  1. css-full{

display: none; }

  1. css-mobi{

display: block; top: 0px; }

/***Logo styling***/

  1. logo{

position: relative; top: -145px; right: 20px; float: right; }

#logo img{ width: 260px; }

/***Body styling***/ h1{ font-size: 2.3em; } h2{ font-size: 1.8em; }

  1. bodycontainer p{

font-size: 1.1em; }

  1. pagetitle{

border-bottom: 2px solid black; padding-bottom: 10px; padding-left: 10px; }

  1. bodycontainer h2, #bodycontainer p{

margin-left: 10px; margin-right: 10px; }