Team:Dundee/common.css
From 2012.igem.org
Line 1: | Line 1: | ||
+ | @CHARSET "ISO-8859-1"; | ||
+ | |||
body | body | ||
{ | { | ||
- | font-family: "Segoe UI Light", | + | background: #FFFFFF url('bg.png') repeat left top; |
- | + | color: black; | |
- | + | font: x-small sans-serif; | |
- | + | margin: 0; | |
- | + | padding: 0; | |
- | + | font-family: "Segoe UI Light","Segoe UI",Verdana,"DejaVu Sans","Trebuchet MS","Liberation Sans",Tahoma,Candara,"Bitstream Vera Sans",sans-serif; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
font-size: 0.8em; | font-size: 0.8em; | ||
} | } | ||
- | + | h1, h2, h3, h4, h5 | |
{ | { | ||
- | + | font-weight: bolder; | |
+ | margin: 1% 0px 1% 0px; | ||
} | } | ||
- | + | h1{font-size: 1.8em;} | |
- | { | + | h2{font-size: 1.6em;} |
- | + | h3{font-size: 1.4em; line-height: 1em;} | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | { | + | |
- | + | ||
- | + | ||
- | } | + | |
- | # | + | #globalWrapper |
{ | { | ||
- | + | width: 100%; | |
- | + | position: relative; | |
- | + | padding: 0 0 10px 0; | |
- | + | margin: 0px; | |
- | + | font-size: 1.2em; | |
- | + | background-color: transparent; | |
} | } | ||
#top-section | #top-section | ||
{ | { | ||
- | + | margin: 0 auto; | |
- | + | position: relative; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | position: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
width: 975px; | width: 975px; | ||
- | height: | + | height: 200px; |
- | + | padding: 0px; | |
- | + | background-image: url('https://static.igem.org/mediawiki/igem.org/d/d9/Dundee12bannerbg.png'); | |
- | + | background-repeat: no-repeat; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #content |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
{ | { | ||
+ | background: none repeat scroll 0 0 white; | ||
+ | color: #555555; | ||
+ | line-height: 1.5em; | ||
+ | margin: 0px auto 30px auto; | ||
+ | padding: 10px 20px 10px 20px; | ||
position: relative; | position: relative; | ||
- | width: | + | width: 935px; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #igemlogo |
{ | { | ||
- | + | float: right; | |
- | + | position: relative; | |
- | + | max-width: 150px; | |
- | + | min-width: 150px; | |
- | + | height: 100px; | |
- | + | top:100px; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #medialinks |
{ | { | ||
- | + | position: fixed; | |
- | + | padding:10px; | |
+ | margin-left: 0px; | ||
+ | left: 0px; | ||
+ | top:240px; | ||
+ | width:45px; | ||
+ | background-color: #EEEEEE; | ||
+ | border-color: #aaaaaa; | ||
+ | border-width: 1px 1px 1px 0px; | ||
+ | border-style: solid; | ||
+ | border-radius: 0px 10px 10px 0px; | ||
+ | -moz-border-bottom-colors: none; | ||
+ | -moz-border-image: none; | ||
+ | -moz-border-left-colors: none; | ||
+ | -moz-border-right-colors: none; | ||
+ | -moz-border-top-colors: none; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | /* Colour & Shape Styles */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | .boxOuter | |
{ | { | ||
- | + | margin: 10px 0px 10px 0px; | |
+ | position: relative; | ||
+ | border: 1px #DDD solid; | ||
+ | background-color: #EEEEEE; | ||
} | } | ||
- | . | + | .boxOuter h3 |
- | { | + | { |
- | + | margin-left: 2%; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | . | + | .boxInner |
{ | { | ||
- | + | margin: 1% auto 1% auto; | |
- | + | width:95%; | |
- | + | padding: 1%; | |
- | + | background-color: #FFFFFF; | |
- | + | position: relative; | |
- | + | text-align: justify; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 211: | Line 122: | ||
.full | .full | ||
{ | { | ||
- | width: | + | width: 935px; |
font-size 1.2em; | font-size 1.2em; | ||
} | } | ||
- | . | + | .black |
{ | { | ||
- | + | color: #000; | |
} | } | ||
- | . | + | .white |
{ | { | ||
- | + | color: #fff; | |
} | } | ||
- | . | + | .rounded |
{ | { | ||
- | + | border-radius: 10px; | |
+ | -moz-border-bottom-colors: none; | ||
+ | -moz-border-image: none; | ||
+ | -moz-border-left-colors: none; | ||
+ | -moz-border-right-colors: none; | ||
+ | -moz-border-top-colors: none; | ||
} | } | ||
- | . | + | .blueBorder |
{ | { | ||
- | + | background-image: url('bluegrad.png'); | |
- | + | background-repeat: repeat-x; | |
- | + | ||
} | } | ||
- | + | .blackBorder | |
{ | { | ||
- | + | background-image: url('blackgrad.png'); | |
- | + | background-repeat: repeat-x; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | . | + | .caption |
{ | { | ||
- | + | font-size: 0.8em; | |
- | + | line-height: 120%; | |
- | + | text-align: center; | |
- | + | width: 410px; | |
- | + | ||
- | text-align: | + | |
- | + | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* -- CLEARFIX -- */ | ||
.clearfix:after | .clearfix:after | ||
Line 284: | Line 198: | ||
} | } | ||
- | . | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* -- DROP SHADOW -- */ | ||
+ | |||
+ | .drop-shadow | ||
{ | { | ||
- | width: | + | background: none repeat scroll 0 0 #FFFFFF; |
- | float:left; | + | box-shadow: 0 0 8px 10px rgba(0, 0, 0, 0.9), 0 0 5px 10px #000 inset; |
- | + | margin: 2em 10px 4em; | |
- | + | padding: 1em; | |
- | font-size: | + | position: relative; |
- | + | } | |
- | -moz- | + | |
- | - | + | .drop-shadow:before, .drop-shadow:after |
- | -moz- | + | { |
- | + | content: ""; | |
- | + | position: absolute; | |
- | border-color: | + | z-index: -2; |
+ | } | ||
+ | |||
+ | .raised | ||
+ | { | ||
+ | box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.1) inset; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* -- MENU ITEMS ---- */ | ||
+ | |||
+ | #menuDiv ul { margin: 0; padding: 0;} | ||
+ | #menuDiv li { margin: 0; padding: 0;} | ||
+ | #menuDiv a { margin: 0; padding: 0;} | ||
+ | #menuDiv ul {list-style: none; z-index:999;} | ||
+ | #menuDiv a {text-decoration: none;} | ||
+ | #menuDiv | ||
+ | { | ||
+ | position: relative; | ||
+ | height: 40px; | ||
+ | width:975px; | ||
+ | left: -20px; | ||
+ | top: -10px; | ||
+ | background-color: #eeeeee; | ||
+ | background-repeat: repeat-x; | ||
+ | box-shadow: 0px 2px 3px rgba(0,0,0,.4); | ||
+ | margin-bottom:20px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menuDiv > ul > li { | ||
+ | float: left; | ||
+ | margin-left: 15px; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #menuDiv > ul > li > a { | ||
+ | color: #777777; | ||
+ | font-family: Verdana, 'Lucida Grande'; | ||
+ | font-size: 15px; | ||
+ | line-height: 40px; | ||
+ | padding: 11px 20px; | ||
+ | -webkit-transition: color .15s; | ||
+ | -moz-transition: color .15s; | ||
+ | -o-transition: color .15s; | ||
+ | transition: color .15s; | ||
+ | } | ||
+ | |||
+ | #menuDiv > ul > li > a:hover {color: #333333; background-color: #FFFFFF;} | ||
+ | |||
+ | |||
+ | #menuDiv > ul > li > ul | ||
+ | { | ||
+ | opacity: 0; | ||
+ | visibility: hidden; | ||
+ | padding: 16px 0 20px 0; | ||
+ | background-color: rgb(250,250,250); | ||
+ | text-align: left; | ||
+ | position: absolute; | ||
+ | top: 55px; | ||
+ | left: 50%; | ||
+ | margin-left: -90px; | ||
+ | width: 180px; | ||
+ | -webkit-transition: all .3s .1s; | ||
+ | -moz-transition: all .3s .1s; | ||
+ | -o-transition: all .3s .1s; | ||
+ | transition: all .3s .1s; | ||
+ | -webkit-border-radius: 5px; | ||
+ | -moz-border-radius: 5px; | ||
+ | border-radius: 5px; | ||
+ | -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | ||
+ | -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | ||
+ | box-shadow: 0px 1px 3px rgba(0,0,0,.4); | ||
+ | } | ||
+ | |||
+ | #menuDiv > ul > li:hover > ul | ||
+ | { | ||
+ | opacity: 1; | ||
+ | top: 65px; | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | #menuDiv > ul > li > ul:before | ||
+ | { | ||
+ | content: ''; | ||
+ | display: block; | ||
+ | border-color: transparent transparent rgb(250,250,250) transparent; | ||
border-style: solid; | border-style: solid; | ||
- | border-width: | + | border-width: 10px; |
- | + | position: absolute; | |
- | margin- | + | top: -20px; |
+ | left: 50%; | ||
+ | margin-left: -10px; | ||
} | } | ||
- | + | #menuDiv > ul ul > li { position: relative;} | |
+ | |||
+ | #menuDiv ul ul a | ||
{ | { | ||
+ | color: rgb(50,50,50); | ||
+ | font-family: Verdana, 'Lucida Grande'; | ||
+ | font-size: 13px; | ||
+ | background-color: rgb(250,250,250); | ||
+ | padding: 5px 8px 7px 16px; | ||
display: block; | display: block; | ||
- | + | -webkit-transition: background-color .1s; | |
- | + | -moz-transition: background-color .1s; | |
- | + | -o-transition: background-color .1s; | |
+ | transition: background-color .1s; | ||
} | } | ||
- | + | #menuDiv ul ul a:hover {background-color: rgb(240,240,240);} | |
+ | |||
+ | |||
+ | #menuDiv ul ul ul | ||
{ | { | ||
- | + | visibility: hidden; | |
- | + | opacity: 0; | |
- | + | position: absolute; | |
- | text-align: | + | top: -16px; |
+ | left: 206px; | ||
+ | padding: 16px 0 20px 0; | ||
+ | background-color: rgb(250,250,250); | ||
+ | text-align: left; | ||
+ | width: 160px; | ||
+ | -webkit-transition: all .3s; | ||
+ | -moz-transition: all .3s; | ||
+ | -o-transition: all .3s; | ||
+ | transition: all .3s; | ||
+ | -webkit-border-radius: 5px; | ||
+ | -moz-border-radius: 5px; | ||
+ | border-radius: 5px; | ||
+ | -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | ||
+ | -moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | ||
+ | box-shadow: 0px 1px 3px rgba(0,0,0,.4); | ||
+ | } | ||
+ | |||
+ | |||
+ | #menuDiv ul ul > li:hover > ul { opacity: 1; left: 196px; visibility: visible;} | ||
+ | |||
+ | |||
+ | #menuDiv ul ul a:hover | ||
+ | { | ||
+ | background-color: rgb(205,44,36); | ||
+ | color: rgb(240,240,240); | ||
} | } |
Revision as of 12:14, 24 July 2012
@CHARSET "ISO-8859-1";
body {
background: #FFFFFF url('bg.png') repeat left top; color: black; font: x-small sans-serif; margin: 0; padding: 0; font-family: "Segoe UI Light","Segoe UI",Verdana,"DejaVu Sans","Trebuchet MS","Liberation Sans",Tahoma,Candara,"Bitstream Vera Sans",sans-serif; font-size: 0.8em;
}
h1, h2, h3, h4, h5 { font-weight: bolder; margin: 1% 0px 1% 0px; }
h1{font-size: 1.8em;} h2{font-size: 1.6em;} h3{font-size: 1.4em; line-height: 1em;}
- globalWrapper
{ width: 100%; position: relative; padding: 0 0 10px 0; margin: 0px; font-size: 1.2em; background-color: transparent; }
- top-section
{ margin: 0 auto;
position: relative; width: 975px; height: 200px; padding: 0px;
background-image: url('https://static.igem.org/mediawiki/igem.org/d/d9/Dundee12bannerbg.png'); background-repeat: no-repeat; }
- content
{ background: none repeat scroll 0 0 white;
color: #555555; line-height: 1.5em; margin: 0px auto 30px auto; padding: 10px 20px 10px 20px; position: relative; width: 935px;
}
- igemlogo
{ float: right; position: relative; max-width: 150px; min-width: 150px; height: 100px; top:100px;
}
- medialinks
{ position: fixed; padding:10px; margin-left: 0px; left: 0px; top:240px; width:45px; background-color: #EEEEEE; border-color: #aaaaaa; border-width: 1px 1px 1px 0px; border-style: solid; border-radius: 0px 10px 10px 0px; -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; }
/* Colour & Shape Styles */
.boxOuter { margin: 10px 0px 10px 0px; position: relative; border: 1px #DDD solid; background-color: #EEEEEE; }
.boxOuter h3 { margin-left: 2%; }
.boxInner { margin: 1% auto 1% auto; width:95%; padding: 1%; background-color: #FFFFFF; position: relative; text-align: justify; }
.half {
width: 440px; font-size 1.2em;
}
.full {
width: 935px; font-size 1.2em;
}
.black { color: #000; }
.white { color: #fff; }
.rounded { border-radius: 10px; -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; }
.blueBorder { background-image: url('bluegrad.png'); background-repeat: repeat-x; }
.blackBorder { background-image: url('blackgrad.png'); background-repeat: repeat-x; }
.caption {
font-size: 0.8em; line-height: 120%; text-align: center; width: 410px;
}
/* -- CLEARFIX -- */
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
- html .clearfix
{ height: 1%; }
/* -- DROP SHADOW -- */
.drop-shadow {
background: none repeat scroll 0 0 #FFFFFF; box-shadow: 0 0 8px 10px rgba(0, 0, 0, 0.9), 0 0 5px 10px #000 inset; margin: 2em 10px 4em; padding: 1em; position: relative;
}
.drop-shadow:before, .drop-shadow:after {
content: ""; position: absolute; z-index: -2;
}
.raised {
box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
/* -- MENU ITEMS ---- */
- menuDiv ul { margin: 0; padding: 0;}
- menuDiv li { margin: 0; padding: 0;}
- menuDiv a { margin: 0; padding: 0;}
- menuDiv ul {list-style: none; z-index:999;}
- menuDiv a {text-decoration: none;}
- menuDiv
{ position: relative; height: 40px; width:975px; left: -20px; top: -10px; background-color: #eeeeee; background-repeat: repeat-x; box-shadow: 0px 2px 3px rgba(0,0,0,.4); margin-bottom:20px; }
- menuDiv > ul > li {
float: left; margin-left: 15px; position: relative;
}
- menuDiv > ul > li > a {
color: #777777; font-family: Verdana, 'Lucida Grande'; font-size: 15px; line-height: 40px; padding: 11px 20px;
-webkit-transition: color .15s;
-moz-transition: color .15s; -o-transition: color .15s; transition: color .15s;
}
- menuDiv > ul > li > a:hover {color: #333333; background-color: #FFFFFF;}
- menuDiv > ul > li > ul
{
opacity: 0; visibility: hidden; padding: 16px 0 20px 0; background-color: rgb(250,250,250); text-align: left; position: absolute; top: 55px; left: 50%; margin-left: -90px; width: 180px;
-webkit-transition: all .3s .1s;
-moz-transition: all .3s .1s; -o-transition: all .3s .1s; transition: all .3s .1s;
-webkit-border-radius: 5px;
-moz-border-radius: 5px; border-radius: 5px;
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); box-shadow: 0px 1px 3px rgba(0,0,0,.4);
}
- menuDiv > ul > li:hover > ul
{
opacity: 1; top: 65px; visibility: visible;
}
- menuDiv > ul > li > ul:before
{
content: ; display: block; border-color: transparent transparent rgb(250,250,250) transparent; border-style: solid; border-width: 10px; position: absolute; top: -20px; left: 50%; margin-left: -10px;
}
- menuDiv > ul ul > li { position: relative;}
- menuDiv ul ul a
{
color: rgb(50,50,50); font-family: Verdana, 'Lucida Grande'; font-size: 13px; background-color: rgb(250,250,250); padding: 5px 8px 7px 16px; display: block;
-webkit-transition: background-color .1s;
-moz-transition: background-color .1s; -o-transition: background-color .1s; transition: background-color .1s;
}
- menuDiv ul ul a:hover {background-color: rgb(240,240,240);}
- menuDiv ul ul ul
{
visibility: hidden; opacity: 0; position: absolute; top: -16px; left: 206px; padding: 16px 0 20px 0; background-color: rgb(250,250,250); text-align: left; width: 160px;
-webkit-transition: all .3s;
-moz-transition: all .3s; -o-transition: all .3s; transition: all .3s;
-webkit-border-radius: 5px;
-moz-border-radius: 5px; border-radius: 5px;
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); box-shadow: 0px 1px 3px rgba(0,0,0,.4);
}
- menuDiv ul ul > li:hover > ul { opacity: 1; left: 196px; visibility: visible;}
- menuDiv ul ul a:hover
{
background-color: rgb(205,44,36); color: rgb(240,240,240);
}