Team:UCLA/Template/css

From 2013.igem.org

Revision as of 06:45, 25 September 2013 by Dewalgupta (Talk | contribs)

html{

 font-size: 18px; font-family: "Trebuchet MS", sans-serif;

}


/* Full page formatting */ body#bg { background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/82/SEM_blood_cells.jpg");

 background-attachment: fixed; 
 background-repeat: repeat;
}
  1. top-section { position: relative; height: 20px; width: 970px; }
  2. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
  3. container { margin: 15px 0px auto auto; width: 975px; }
  1. top-panel { height: 200px; background-color: yellow; background-image: url("Ucla_header.png"); }
  2. top-panel { border-radius: -20px 0px 0px 0px; box-shadow: 0px -2px 6px 2px #222; margin: -20px 5px 0px -5px}


  1. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo{
 display:none; 

}

  1. container{
 margin: 15px 0px auto auto; 
 width: 975px; 

}

  1. globalwrapper{
 margin: 0px 0px auto auto; 

}

p{

 margin: 5px;
 font-family: Verdana;

}

h4{

 margin: 5px;

}


  1. nav { font-family: "Bubbler One", serif; font-size: 17px; color: white;}
  2. nav { background-color: #0070B0; width: 1000px; list-style: none; }
  3. nav { float: left; margin: 0px 0px auto -17px; z-index: 5; }
  4. nav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
  5. nav a { display: block; padding: 5px 15px; text-decoration: none; color: white; border-style: none; }
  6. nav a:hover { color: #D6D615; }
  1. nav ul{ background-color: #0070B0; }
  2. nav ul li: hover ul.noJS{ display: block; }
  1. subnav { font-family: "Raleway", serif; font-size: 12px; color: black;}
  2. subnav { background-color: #FFD700; width: 1000px; list-style: none; }
  3. subnav { float: left; margin: 0px 0px auto -17px; z-index: 5; }
  4. subnav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
  5. subnav a { display: block; padding: 5px 15px; text-decoration: none; color: black; border-style: none; }
  6. subnav a:hover { color: #536895; }
  1. current { font-weight:900;}

menu ul ul { background: #5f6975; border-radius: 0px; padding: 0; position: absolute; top: 100%; } menu ul ul li { float: none; border-top: 1px solid #6b727c; border-bottom: 1px solid #575f6a; position: relative; } menu ul ul li a { padding: 15px 40px; color: #fff; } menu ul ul li a:hover { background: #4b545f; }