Template:WUR style.css
From 2012.igem.org
TSlijkhuis (Talk | contribs) |
TSlijkhuis (Talk | contribs) |
||
(4 intermediate revisions not shown) | |||
Line 398: | Line 398: | ||
div.homebuttonsleft > a:hover > h2 { color: #111; } | div.homebuttonsleft > a:hover > h2 { color: #111; } | ||
div.homebuttonsleft > a > p { font-size: 9pt; } | div.homebuttonsleft > a > p { font-size: 9pt; } | ||
+ | |||
+ | #prOv > div > div.hiddentext { | ||
+ | display: none; | ||
+ | } | ||
+ | #prOv > div#prOvText { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | background: red; | ||
+ | width: 370px; | ||
+ | height: 330px; | ||
+ | top: 120px; | ||
+ | left: 0px; | ||
+ | background: rgb(244,244,244); | ||
+ | background: rgba(250,250,250,0.8); | ||
+ | } | ||
+ | #prOv > div#prOvText:hover { | ||
+ | background: rgb(244,244,244); | ||
+ | background: rgba(250,250,250,0.8); | ||
+ | } | ||
/* Project Navigation */ | /* Project Navigation */ | ||
Line 433: | Line 452: | ||
.prNav > div.next { float: right; } | .prNav > div.next { float: right; } | ||
.prNav > div.next > a { background: url(https://static.igem.org/mediawiki/2012/9/9d/PNext.png) right center no-repeat; } | .prNav > div.next > a { background: url(https://static.igem.org/mediawiki/2012/9/9d/PNext.png) right center no-repeat; } | ||
+ | |||
Latest revision as of 11:45, 3 April 2013
/*
- Kleuren:
- - Zwart: 000000
- - Blauw/grijs: 005172, cbd5d8, e3e9ea
- - Groen: 0d623c, 118450, 16ad69
- - Rood: b92c33
- /
/* General */ body { background: white url(); 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; } .twocol { float: right; width: 635px; margin-top: 12px; } .twocol_subcontainer { margin-bottom: 10px; }
.left { float: left; } .right { float: right; }
h2 { border-bottom: 2px solid #005172; } h2.ulc1 { border-color: #0d623c; } h2.ulc2 { border-color: #b92c33; }
/* Slider */
- header_slider {
position: relative; height: 200px; overflow: hidden; background: url() left top no-repeat; }
- header_slider > div.logo {
position: absolute; top: 60px; left: -15px; z-index: 999; }
- header_slider > div.logo a, #header_slider > div.logo img {
height: 150px; width: 250px; border: 0; } .nivo-prevNav, .nivo-nextNav { font-size: 0; display: block; width: 32px; height: 32px; margin: 5px; } .nivo-prevNav { background: url() left center no-repeat; } .nivo-nextNav { background: url() right center no-repeat; }
/* Navigatie / menu */
- navContainer { height: 25px; }
- navContainer ul { list-style: none; padding: 0; margin: 0; float: left; }
- navContainer ul li { float: left; position: relative; z-index: 5; }
- navContainer ul li.hassubitems { background: url() 185px center no-repeat; }
- 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; font-size: 12px; }
- navContainer ul li a:hover, #navContainer ul li strong { text-decoration: none; border-bottom: 2px solid #0d623c; cursor: pointer; }
- navContainer ul li.ulc1 a:hover, #navContainer ul li.ulc1 strong { border-color: #005172; }
- navContainer ul li.ulc2 a:hover, #navContainer ul li.ulc2 strong { border-color: #b92c33; }
- 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; }
- navContainer ul li ul li.ulc1 a:hover, #navContainer ul li ul li.ulc1 strong { border-color: #005172; }
- navContainer ul li ul li.ulc2 a:hover, #navContainer ul li ul li.ulc2 strong { border-color: #b92c33; }
- 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: 210px; opacity: 0; transition: opacity .25s linear; }
- navContainer ul li:hover { z-index: 50; }
- navContainer ul li:hover > ul {
visibility: visible; z-index: 99; opacity: 1; }
- navContainer ul li ul li { z-index: 199; float: none; }
- navContainer > ul > li > ul > li > ul {
position: absolute; top: 0px; left: 200px; z-index: 900; }
- socialmediaicons {
float: right; margin-left: 10px; }
/* Body */
- 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); } a.bPublication { background-image: url(/wiki/images/d/d0/Publication.png); } a.bUrl { background-image: url(/wiki/images/0/05/Url.png); } a.bSource { background-image: url(/wiki/images/b/b0/Source.png); } a.bPoster { background-image: url(/wiki/images/f/fc/Poster.png); }
/* Footer */ .footerbuttons { margin: 10px auto 10px auto; text-align: center; } .footerbuttons > a { margin: 0 12px 0 0; border: 0; text-decoration: none; transition: opacity .5s; } .footerbuttons > a:last-child { margin: 0; } .footerbuttons > a:hover { opacity: 0.8; } .footerbuttons img { border: 0; }
- contentfooter {
width: 965px; clear: both; margin: 10px 0; padding: 20px 0; overflow: hidden; }
- contentfooter .fcol {
float: left; width: 320px; padding-right: 1px; }
- contentfooter hr {
border: 0; margin: 0; padding: 0; height: 2px; width: 100%; background: #b92c33; }
/* 'To Top' button */
- gototop {
position: fixed; height: 30px; line-height: 30px; bottom: 15px; right: 15px; padding: 4px 18px 8px 16px; border: 1px solid #111; border-radius: 3px; background: white; z-index: 99; }
- gototop a {
display: block; background: url() right center no-repeat; font-size: 18px; height: 27px; line-height: 30px; font-weight: bold; text-decoration: none; text-transform: uppercase; color: #111; padding: 2px 36px 2px 2px; }
- gototop a:hover {
text-decoration: underline; color: #333; }
/* Home Overview */ .homeOverview { position: relative; height: 720px; } .homeOverview > div { position: absolute; } .homeOverview > .homeVideo { top: 110px; left: 0; z-index: 5; max-height: 500px; } .homeOverview > .homeAbstract { top: 0; right: 0; width: 530px; z-index: 4; } .homeOverview > .homePO { bottom: 0; right: 0; z-index: 3; } .homeOverview > .homeLB { bottom: 0; left: 0; z-index: 2; }
/* Home Medal Achievements */ .achievement { padding: 3px 3px 3px 45px; border-radius: 3px; background: #dcdcdc url() 5px 5px no-repeat; box-shadow: 2px 2px 5px #666; margin: 0 0 20px 0; cursor: pointer; min-height: 40px; transition: background-color .5s; } .achievement.gold { background: #dcdcdc url() 5px 5px no-repeat; } .achievement.silver { background: #dcdcdc url() 5px 5px no-repeat; } .achievement.bronze { background: #dcdcdc url() 5px 5px no-repeat; } .achievement.software { background: #dcdcdc url() 5px 5px no-repeat; } .achievement.pending { background: #dcdcdc url() 5px 4px no-repeat; } .achievement:hover { background-color: #22ee22; } .achievement.pending:hover { background-color: #555; } .achievement .achievement-desc { display: none; margin-left: -37px; font-style: italic; }
/* Project Overview Graphic */
- projectOverview {
height: 600px; margin-bottom: 20px; background: url(/wiki/images/4/4c/Vlp.png) center top no-repeat; position: relative; }
- projectOverview > div.buttonbox {
position: absolute; width: 221px; height: 106px; background-color: white; border: 1px solid #ccc; border-radius: 3px; }
- projectOverview > div.buttonbox:hover { background: #ccc; cursor: pointer; box-shadow: 1px 1px 3px #999; }
- projectOverview > div.buttonbox a {
text-decoration: none; display: block; padding: 8px; border-radius: 3px; width: 205px; height: 90px; text-align: center; font-size: 18pt; line-height: 45px; color: #555; font-weight: bold; }
- projectOverview > div.buttonbox a:hover { text-decoration: none; }
- projectOverview > div.buttonbox.justoneline a { line-height: 90px; }
- poIntroduction { top: 0px; left: 270px; }
- poPnas { top: 0px; right: 230px; }
- poVLPs { top: 120px; right: 130px; }
- poOutside { top: 240px; right: 30px; }
- poInside { top: 360px; right: 130px; }
- poDetection { top: 480px; right: 230px; }
- poApplications { top: 480px; left: 270px; }
- poTheConstructor { top: 360px; left: 160px; }
- poFinalOverview { top: 240px; left: 60px; }
/*
- poIntroduction { top: 0px; left: 300px; }
- poPnas { top: 0px; right: 200px; }
- poVLPs { top: 120px; right: 100px; }
- poOutside { top: 240px; right: 0px; }
- poInside { top: 360px; right: 100px; }
- poDetection { top: 480px; right: 200px; }
- poApplications { top: 480px; left: 300px; }
- poTheConstructor { top: 360px; left: 100px; }
- poFinalOverview { top: 240px; left: 0px; }
- /
- projectOverview > div p {
margin: 8px 0; padding: 0; }
- poLoading {
position: absolute; display: none; z-index: 999; font-size: 16pt; color: white; font-weight: bold; text-align: center; left: 0; right: 0; top: 0; bottom: 0; padding: 100px; background: #111; background: rgba(0,0,0,0.4); }
- poText {
position: absolute; display: none; top: 20px; bottom: 20px; left: 240px; right: 240px; padding: 20px; background: white; background: rgba(255,255,255,0.9); border: 1px solid #111; overflow: auto; z-index: 998; border-radius: 3px; }
- poTextClose {
position: absolute; display: none; top: 21px; right: 256px; width: 20px; height: 20px; background: #eee; color: #111; font-weight: bold; text-align: center; font-size: 18px; line-height: 20px; z-index: 999; cursor: pointer; border-radius: 3px; }
/* Project Overview Graphic V2 */
- prOv {
width: 635px; height: 600px; position: relative; background: url(/wiki/images/4/4c/Vlp.png) -275px top no-repeat; }
- prOv > div {
position: absolute; padding: 10px; background: rgb(244,244,244); background: rgba(250,250,250,0.8); border: 1px solid #999; border-radius: 3px; }
- prOv > div > a {
display: table-cell; text-align: center; width: 170px; height: 90px; vertical-align: middle; font-size: 18pt; color: #333; }
- prOv > div:hover {
background: rgb(194,194,194); background: rgba(200,200,200,0.8); }
- prOv > div > a:hover { text-decoration: none; }
- prOvIntroduction { top: 0px; left: 0px; }
- prOvPnas { top: 0px; left: 200px; }
- prOvVLPs { top: 0px; left: 400px; }
- prOvOutside { top: 120px; left: 400px; }
- prOvInside { top: 240px; left: 400px; }
- prOvDetection { top: 360px; left: 400px; }
- prOvApplications { top: 480px; left: 400px; }
- prOvTheConstructor { top: 480px; left: 200px; }
- prOvFinalOverview { top: 480px; left: 0px; }
div.homebuttonsleft { padding-top: 12px; } div.homebuttonsleft > a { display: block; /*width: 305px; height: 170px;*/ width: 285px; height: 150px; padding: 10px; border: 1px solid #999; border-radius: 3px; margin: 12px 0px; font-size: 9pt; color: #eee; background: #005172; } div.homebuttonsleft > a:hover { background: #cbd5d8; text-decoration: none; color: #111; } div.homebuttonsleft > a > h2 { font-size: 11pt; border-bottom-color: #999; color: #eee; } div.homebuttonsleft > a:hover > h2 { color: #111; } div.homebuttonsleft > a > p { font-size: 9pt; }
- prOv > div > div.hiddentext {
display: none; }
- prOv > div#prOvText {
display: none; position: absolute; background: red; width: 370px; height: 330px; top: 120px; left: 0px; background: rgb(244,244,244); background: rgba(250,250,250,0.8); }
- prOv > div#prOvText:hover {
background: rgb(244,244,244); background: rgba(250,250,250,0.8); }
/* Project Navigation */ .prNav { clear: both; min-height: 100px; margin-top: 25px; } .prNav > div { height: 75px; width: 250px; padding: 10px; background: rgb(194,194,194); background: rgba(200,200,200,0.8); border: 1px solid #999; border-radius: 3px; text-align: center; } .prNav > div > a { display: table-cell; vertical-align: middle; height: 75px; width: 250px; color: #111; font-weight: bold; font-size: 16pt; text-shadow: 1px 1px 2px #AAA; } .prNav > div > a:hover { text-decoration: none; } .prNav > div:hover { background: rgb(100,100,100); } .prNav > div.prev { float: left; } .prNav > div.prev > a { background: url() left center no-repeat; } .prNav > div.next { float: right; } .prNav > div.next > a { background: url() right center no-repeat; }
/* Team */
- teamScatter { position: relative; overflow: hidden; }
- teamScatter > div.Hover {
position: absolute; float: left; width: 200px; height: 25px; text-align: center; font-size: 20px; line-height: 25px; color: #555; background: white; opacity: 0.9; border-radius: 4px; box-shadow: 1px 1px 3px #666; }
/* 'Hacks' */
- content {
border: 10px solid white; border-top: 2px solid white; padding: 0; margin: 10px auto 0 auto; box-shadow: 0 1px 4px #888; } .firstHeading,
- search-controls,
- catlinks,
- toc,
- p-logo { display: none; }
- top-section { height: 18px; border: 0; }
- 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; }
- footer-box { margin-top: 50px; }
/* Nivo CSS: */ /*
* jQuery Nivo Slider v3.0.1 * http://nivo.dev7studios.com * * Copyright 2012, Dev7studios * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php */
/* The Nivo Slider styles */ .nivoSlider { position:relative; width:100%; height:auto; overflow: hidden; } .nivoSlider img { position:absolute; top:0px; left:0px; } .nivo-main-image { display: block !important; position: relative !important; width: 100% !important; }
/* If an image is wrapped in a link */ .nivoSlider a.nivo-imageLink { position:absolute; top:0px; left:0px; width:100%; height:100%; border:0; padding:0; margin:0; z-index:6; display:none; } /* The slices and boxes in the Slider */ .nivo-slice { display:block; position:absolute; z-index:5; height:100%; top:0; } .nivo-box { display:block; position:absolute; z-index:5; overflow:hidden; } .nivo-box img { display:block; }
/* Caption styles */ .nivo-caption { position:absolute; left:0px; bottom:0px; background:#000; color:#fff; width:100%; z-index:8; padding: 5px 10px; opacity: 0.8; overflow: hidden; display: none; -moz-opacity: 0.8; filter:alpha(opacity=8); -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ } .nivo-caption p { padding:5px; margin:0; } .nivo-caption a { display:inline !important; } .nivo-html-caption {
display:none;
} /* Direction nav styles (e.g. Next & Prev) */ .nivo-directionNav a { position:absolute; top:45%; z-index:9; cursor:pointer; } .nivo-prevNav { left:0px; } .nivo-nextNav { right:0px; } /* Control nav styles (e.g. 1,2,3...) */ .nivo-controlNav { text-align:center; padding: 15px 0; } .nivo-controlNav a { cursor:pointer; } .nivo-controlNav a.active { font-weight:bold; }
/* FancyBox CSS: */
/*! fancyBox v2.1.0 fancyapps.com | fancyapps.com/fancybox/#license */ .fancybox-wrap, .fancybox-skin, .fancybox-outer, .fancybox-inner, .fancybox-image, .fancybox-wrap iframe, .fancybox-wrap object, .fancybox-nav, .fancybox-nav span, .fancybox-tmp { padding: 0; margin: 0; border: 0; outline: none; vertical-align: top; }
.fancybox-wrap { position: absolute; top: 0; left: 0; z-index: 8020; }
.fancybox-skin { position: relative; background: #f9f9f9; color: #444; text-shadow: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.fancybox-opened { z-index: 8030; }
.fancybox-opened .fancybox-skin { -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); }
.fancybox-outer, .fancybox-inner { position: relative; }
.fancybox-inner { overflow: hidden; }
.fancybox-type-iframe .fancybox-inner { -webkit-overflow-scrolling: touch; }
.fancybox-error { color: #444; font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; margin: 0; padding: 15px; white-space: nowrap; }
.fancybox-image, .fancybox-iframe { display: block; width: 100%; height: 100%; }
.fancybox-image { max-width: 100%; max-height: 100%; }
- fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
background-image: url('/wiki/images/5/55/Fancybox_sprite.png'); }
- fancybox-loading {
position: fixed; top: 50%; left: 50%; margin-top: -22px; margin-left: -22px; background-position: 0 -108px; opacity: 0.8; cursor: pointer; z-index: 8060; }
- fancybox-loading div {
width: 44px; height: 44px; background: url('/wiki/images/d/d0/Fancybox_loading.gif') center center no-repeat; }
.fancybox-close { position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; cursor: pointer; z-index: 8040; }
.fancybox-nav { position: absolute; top: 0; width: 40%; height: 100%; cursor: pointer; text-decoration: none; background: transparent url('/wiki/images/c/c0/Blank.gif'); /* helps IE */ -webkit-tap-highlight-color: rgba(0,0,0,0); z-index: 8040; }
.fancybox-prev { left: 0; }
.fancybox-next { right: 0; }
.fancybox-nav span { position: absolute; top: 50%; width: 36px; height: 34px; margin-top: -18px; cursor: pointer; z-index: 8040; visibility: hidden; }
.fancybox-prev span { left: 10px; background-position: 0 -36px; }
.fancybox-next span { right: 10px; background-position: 0 -72px; }
.fancybox-nav:hover span { visibility: visible; }
.fancybox-tmp { position: absolute; top: -9999px; left: -9999px; visibility: hidden; }
/* Overlay helper */
.fancybox-lock { overflow: hidden; }
.fancybox-overlay { position: absolute; top: 0; left: 0; overflow: hidden; display: none; z-index: 8010; background: url('/wiki/images/e/e0/Fancybox_overlay.png'); }
.fancybox-overlay-fixed { position: fixed; bottom: 0; right: 0; }
.fancybox-lock .fancybox-overlay { overflow: auto; overflow-y: scroll; }
/* Title helper */
.fancybox-title { visibility: hidden; font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; position: relative; text-shadow: none; z-index: 8050; }
.fancybox-opened .fancybox-title { visibility: visible; }
.fancybox-title-float-wrap { position: absolute; bottom: 0; right: 50%; margin-bottom: -35px; z-index: 8050; text-align: center; }
.fancybox-title-float-wrap .child { display: inline-block; margin-right: -100%; padding: 2px 20px; background: transparent; /* Fallback for web browsers that doesn't support RGBa */ background: rgba(0, 0, 0, 0.8); -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; text-shadow: 0 1px 2px #222; color: #FFF; font-weight: bold; line-height: 24px; white-space: nowrap; }
.fancybox-title-outside-wrap { position: relative; margin-top: 10px; color: #fff; }
.fancybox-title-inside-wrap { padding-top: 10px; }
.fancybox-title-over-wrap { position: absolute; bottom: 0; left: 0; color: #fff; padding: 10px; background: #000; background: rgba(0, 0, 0, .8); }