Template:Queens Canada/Header
From 2012.igem.org
(Difference between revisions)
Line 36: | Line 36: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | .kwicks_container | ||
+ | { | ||
+ | width: 1000px; | ||
+ | margin-left: 2.5px; | ||
+ | margin-right: 2.5px; | ||
+ | } | ||
+ | .kwicks { | ||
+ | list-style: none; | ||
+ | position: relative; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width:100%; | ||
+ | height:50px; | ||
+ | z-index:2; | ||
+ | border-width: 10; | ||
+ | -khtml-border-radius: 10px; | ||
+ | -moz-border-radius: 10px; | ||
+ | border-radius: 10px; | ||
+ | } | ||
+ | .kwicks li { | ||
+ | display: block; | ||
+ | float: left; | ||
+ | overflow: hidden; | ||
+ | padding: 0; | ||
+ | cursor: pointer; | ||
+ | width: 500px; | ||
+ | height: 35px; | ||
+ | z-index:2; | ||
+ | cursor:pointer; | ||
+ | border-left-width: 2.5px; | ||
+ | border-left-style: solid; | ||
+ | border-left-color: transparent; | ||
+ | border-right-color: transparent; | ||
+ | border-right-width: 2.5px; | ||
+ | |||
+ | } | ||
+ | .kwicks li a { | ||
+ | background-image:url(images/sprites_menu.png); | ||
+ | background-repeat:no-repeat; | ||
+ | font-family: "Lucida Grande", "Lucida Sans Unicode", Arial; | ||
+ | font-size: 1.5em; | ||
+ | letter-spacing: -0.07em; | ||
+ | color: #ffffff; | ||
+ | height: 40px; | ||
+ | outline:none; | ||
+ | display:block; | ||
+ | z-index:100; | ||
+ | cursor:pointer; | ||
+ | text-transform: uppercase; | ||
+ | font-weight: bold; | ||
+ | line-height: 37px; | ||
+ | margin-left: 5px; | ||
+ | text-decoration: none; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | .kwicks li h3 { | ||
+ | position: absolute; | ||
+ | width: 120px; | ||
+ | font-family: "Lucida Grande", "Lucida Sans Unicode", Arial; | ||
+ | font-size: 10px; | ||
+ | color: #FF6600; | ||
+ | letter-spacing: -0.02em; | ||
+ | outline:none; | ||
+ | z-index:0; | ||
+ | cursor:pointer; | ||
+ | text-transform: uppercase; | ||
+ | font-weight: normal; | ||
+ | margin-left: 5px; | ||
+ | text-decoration: none; | ||
+ | left: 0px; | ||
+ | top: 5px; | ||
+ | right: 0px; | ||
+ | bottom: 0px; | ||
+ | } | ||
+ | #kwick_1, #kwick_2, #kwick_3, #kwick_4, #kwick_5, #kwick_6, #kwick_7 { | ||
+ | |||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | display: inline; | ||
+ | width: 50%; | ||
+ | |||
+ | } | ||
+ | #kwick_1 { | ||
+ | left: 0px; | ||
+ | border-width: 0px 0px 0px 0px; | ||
+ | border-right-color: black; | ||
+ | width: 498px; | ||
+ | background-color: crimson; | ||
+ | |||
+ | -webkit-border-radius: 10px; | ||
+ | -khtml-border-radius: 10px; | ||
+ | -moz-border-radius: 10px; | ||
+ | border-radius: 10px; | ||
+ | } | ||
+ | #kwick_2 { | ||
+ | |||
+ | background-color: coral; | ||
+ | width: 498px; | ||
+ | border-right-width:2.5px; | ||
+ | -webkit-border-radius: 10px; | ||
+ | -khtml-border-radius: 10px; | ||
+ | -moz-border-radius: 10px; | ||
+ | border-radius: 10px; | ||
+ | } | ||
+ | |||
+ | #kwick_1 li a { | ||
+ | background-position:0px 0px; | ||
+ | border-width: 0px 0px 0px 0px; | ||
+ | border-right-color: | ||
+ | } | ||
+ | |||
+ | #kwick_1 li a:hover { | ||
+ | background-position:0px 0px; | ||
+ | border-width: 0px 0px 0px 0px; | ||
+ | border-right-color: black; | ||
+ | } | ||
+ | #kwick_2 li a, a:hover, a:active | ||
+ | { | ||
+ | border-left-color: black; | ||
+ | } | ||
+ | |||
+ | .kwicks a:hover, .kwicks #active { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | .kwicks li a:hover h3, .kwicks li #active h3 { | ||
+ | color: #999999; | ||
+ | } | ||
+ | #kwick_2 a { | ||
+ | background-position:0px -50px; | ||
+ | } | ||
+ | #kwick_3 a { | ||
+ | background-position:0px -192px; | ||
+ | } | ||
+ | #kwick_4 a { | ||
+ | background-position:0px -100px; | ||
+ | } | ||
+ | #kwick_5 a { | ||
+ | background-position:0px -150px; | ||
+ | } | ||
+ | #kwick_6 a { | ||
+ | background-position:0px -250px; | ||
+ | } | ||
+ | #kwick_7 a { | ||
+ | background-position:0px -300px; | ||
+ | } | ||
+ | p fade1 { position:inline; } | ||
+ | ul fade2 { position:inline; | ||
+ | font-size:36px; text-align:center; | ||
+ | color:yellow; background:red; | ||
+ | padding-top:25px; | ||
+ | top:0; left:0; display:none; } | ||
+ | span { display:none; } | ||
#labcontent | #labcontent | ||
{ | { |
Revision as of 00:28, 24 September 2012
Control