Template:WUR style.css

From 2012.igem.org

Revision as of 12:47, 14 September 2012 by TSlijkhuis (Talk | contribs)

/*

  • Kleuren:
  • - Zwart: 000000
  • - Blauw/grijs: 005172, cbd5d8, e3e9ea
  • - Groen: 0d623c, 118450, 16ad69
  • - Rood: b92c33
  • /

/* General */ body { background: white; font-family: Tahoma, Geneva, sans-serif; } .hidden { display: none; }

.cols { clear: both; width: 965px; } .col { width: 305px; padding: 0 25px 0 0; float: left; } .col:last-child { padding: 0; }

.left { float: left; } .right { float: right; }

h2 { border-bottom: 2px solid #005172; } h2.ulc1 { border-color: #0d623c; } h2.ulc2 { border-color: #b92c33; }

/* Slider */

  1. header_slider {

height: 200px; overflow: hidden; }

/* Navigatie / menu */

  1. navContainer { height: 25px; }
  2. navContainer ul { list-style: none; padding: 0; margin: 0; float: left; }
  3. navContainer ul li { float: left; position: relative; z-index: 5; }
  4. navContainer ul li a, #navContainer ul li strong {

display: block; padding: 0 20px 0 5px; text-decoration: none; border-bottom: 2px solid white; height: 25px; line-height: 25px; }

  1. navContainer ul li a:hover, #navContainer ul li strong { text-decoration: none; border-bottom: 2px solid #0d623c; cursor: pointer; }
  2. navContainer ul li.ulc1 a:hover, #navContainer ul li.ulc1 strong { border-color: #005172; }
  3. navContainer ul li.ulc2 a:hover, #navContainer ul li.ulc2 strong { border-color: #b92c33; }
  1. navContainer ul li ul li a:hover, #navContainer ul li.ulc1 ul li a:hover, #navContainer ul li.ulc2 ul li a:hover { border-bottom: 2px solid #0d623c; }
  2. navContainer ul li ul li.ulc1 a:hover, #navContainer ul li ul li.ulc1 strong { border-color: #005172; }
  3. navContainer ul li ul li.ulc2 a:hover, #navContainer ul li ul li.ulc2 strong { border-color: #b92c33; }
  1. navContainer ul li > ul {

visibility: hidden; position: absolute; left: 0px; top: 26px; background: white; box-shadow: 1px 1px 4px #666; z-index: 1; height: auto; min-width: 200px; opacity: 0; transition: opacity .25s linear; }

  1. navContainer ul li:hover { z-index: 50; }
  2. navContainer ul li:hover > ul {

visibility: visible; z-index: 99; opacity: 1; }

  1. navContainer ul li ul li { z-index: 199; float: none; }
  1. socialmediaicons {

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

/* Body */

  1. bodyContent {

width: 965px; padding: 0 0 20px 0; }

a.bigbutton, a.bigbutton:visited { display: block; overflow: hidden; color: #111; text-decoration: none; padding: 10px 10px 10px 80px; border-radius: 4px; min-height: 50px; background-color: #fff; background-repeat: no-repeat; background-position: 10px center; box-shadow: none; transition: all .25s linear; } a.bigbutton:hover { box-shadow: 1px 1px 3px #666; text-decoration: none; background-color: #ccc; } a.bConstructor { background-image: url(/wiki/images/6/61/Constructor.png); } a.bTeam { background-image: url(/wiki/images/b/b8/WURTeam.png); }

/* Footer */

  1. contentfooter {

width: 965px; clear: both; margin: 10px 0; padding: 20px 0; border-top: 2px solid #b92c33; overflow: hidden; }

  1. contentfooter .fcol {

float: left; width: 320px; padding-right: 1px; }

/* Home Intro */

  1. projectIntro {

height: 340px; margin-bottom: 20px; position: relative; }

  1. toProjectOverview {
 position: absolute;
 right: 20px;
 bottom: 10px;

}

  1. toProjectOverview a {
 display: block;
 padding: 8px;
 border-radius: 5px;
 background-color: #eee;
 color: #111;
 transition: background-color .25s;

}

  1. toProjectOverview a:hover {
 background-color: #999;
 text-decoration: none;
 color: #333;

}

/* Project Overview Graphic */

  1. projectOverview {

height: 340px; margin-bottom: 20px; background: url(/wiki/images/4/4c/Vlp.png) center top no-repeat; position: relative; }

  1. projectOverview > div {

position: absolute; width: 200px; height: 80px; padding: 10px; background-color: white; border: 1px solid #ccc; border-radius: 3px; }

  1. projectOverview > div:hover { background: #ccc; cursor: pointer; box-shadow: 1px 1px 3px #999; }
  1. poPnas { top: 50px; left: 0px; }
  2. poVLPs { top: 180px; left: 0px; }
  3. poOutside { top: 10px; right: 0px; }
  4. poInside { top: 120px; right: 0px; }
  5. poApplications { top: 230px; right: 0px; }
  1. projectOverview > div h1 {

font-size: 12pt; font-weight: bold; border: 0; text-decoration: 0; }

/* 'Hacks' */

  1. content { border: 0; padding: 0; }

.firstHeading,

  1. search-controls,
  2. catlinks,
  3. toc,
  4. p-logo { display: none; }
  5. top-section { height: 18px; border: 0; }
  6. menubar {

background: transparent; padding: 0; top: 0; } .left-menu:hover { background: transparent; } .left-menu a, .left-menu:hover a { color: black; } .right-menu li a { background: transparent; color: black; }

  1. footer-box { margin-top: 50px; }