Team:unitn-trento/iGEM.css
From 2012.igem.org
@import url("color/light.css"); @import url("igem-override.css");
/*Misc*/
body { text-rendering: optimizeLegibility; -moz-transition: all 0.5s ease 0s; -o-transition: all 0.5s ease 0s; -webkit-transition: all 0.5s ease 0s; }
.container_24 {
margin-top: 20px;
font-family: "pt-sans", Helvetica;
}
/*Typography*/
a { text-decoration: none; color: grey; }
a:hover { color: #353535; background-color: rgba(238,168,14,0.4); }
li {
margin-left: 14px;
}
p { font-size: 14px; line-height: 20px; }
h1,h2, h3 { letter-spacing: -1px; font-family: "chippewa-falls"; }
blockquote, blockquote p {
font-size: 15px;
line-height: 20px;
font-style: italic;
letter-spacing: 2px;
color: 0e0e0e;
font-family: "chippewa-falls";
}
blockquote { position: relative; }
.facebook:hover {
background-color: rgba(19,84,238,0.5);
color: white;
text-decoration: underline;
}
/*Header*/
.ribbon { background: url(../img/theme/ribbon_col.png) repeat-x top left; display: block; width: 100%; height: 10px; position: relative; }
.medium_ribbon { background: url(../img/theme/small_ribbon.png) repeat-x top left; display: block; width: 97%; height: 3px; position: relative; left: -2px; margin: -3px 0px 8px; }
.small_ribbon {
background: url(../img/theme/small_ribbon.png) repeat-x top left;
display: block;
width: 90%;
height: 3px;
position: relative;
left: -2px;
margin: -3px 0px 8px;
}
.header{ overflow: hidden; }
.header h1 a{ margin: 10px 10px 15px; float: left; font-size: 32px; color: #f68204; }
.header h1 a:hover { background-color: transparent; }
/*Navigation*/
.nav { float: right; padding-top: 20px; padding-right: 5px; }
.nav ul { font-size: 14px; }
.nav li { display:inline; text-transform: lowercase; color: #353535; margin-left: 11px; }
.nav li a { color: #353535; border-bottom: 1px dashed #d1d1d1; padding-bottom: 1px; }
.nav ul li a:hover{ color: #353535; background-color: rgba(238,168,14,0.4); border-bottom: none; }
.menu { position: relative; }
.menu ul { position: absolute; top: 35px; opacity: 0; -webkit-transition: opacity .25s ease .1s; -moz-transition: opacity .25s ease .1s; -o-transition: opacity .25s ease .1s; -ms-transition: opacity .25s ease .1s; transition: opacity .25s ease .1s; }
.menu ul.labnotes { left: 0px; }
.menu ul.considerations { left: 290px; }
.menu li:hover > ul { opacity: 1; }
.menu ul li { height: 0; overflow: hidden; padding: 0;
-webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; }
.menu li:hover > ul li { height: 36px; overflow: visible; padding: 0; }
.igem img { position: relative; left: -15px; top: -4px; }
.nav ul li a.igem { border-bottom: none; } .nav ul li a.igem:hover { background-color: rgba(238,168,14,0); }
.subpages { text-align: center; padding-right: 5px; margin-bottom: 10px; }
.subpages li { display:inline; text-transform: lowercase; color: #353535; }
.subpages li a { color: #353535; border-bottom: 1px dashed #d1d1d1; padding-bottom: 1px; }
.subpages li a:hover{ color: #353535; background-color: rgba(238,168,14,0.4); border-bottom: none; }
/*Slider*/
.peKenBurns {
width: 960px; height: 230px; }
.nivoSlider {
position:relative; width:960px; /* Change this to your images width */ height:230px; /* Change this to your images height */ background:url(img/theme/cherry.png) no-repeat 50% 50%;
}
.nivoSlider a:hover {background-color:transparent; }
.phrase { width: 500px; position: relative; top: 150px; left:30px; z-index: 10; }
.phrase h2 { color: white; font-weight: normal; font-size: 28px; }
.phrase span { background: rgba(0, 0, 0, .5); padding: 0px 5px; font-weight: normal;
}
/*Main page*/
.main { margin-top: -92px; }
.main h2 { margin-bottom: 10px; }
.main blockquote { top: 10px; } .main blockquote p { padding-left: 30px; }
.main blockquote p:before, .main blockquote p:after { color: #bfbfbf; font-size: 40px; font-style: italic; }
.main blockquote p:first-child:before { content:'“'; position: absolute; top: 5px; left: 0; /* float: left;*/ }
.main blockquote p:last-child:after { content: "”"; float: right; position: absolute; bottom: -5px; right: 10px; }
.social { text-align: center; position: relative; top: 5px; }
.social h4 a { color: #353535; }
.social h4 a:hover { color: #047af6; background-color: transparent; }
.social h4 a span { position: relative; top:2px; left: 3px; }
.fb-like { text-align: center; margin: auto; position: relative; left: 30px; top: 2px; }
.two {
margin-top: -5px;
}
.three { position: relative; left: 10px; }
.sec h3 {
position: relative;
left: 5px;
}
.sec h3 a { color: #353535; }
.sec h3 a:hover { color: #f68204; background-color: transparent; }
.sec h3 a span { position: relative; top:2px; }
.sec p { padding:0 5px; }
.projects { margin-right: 20px; text-align: justify; }
.projects h2 { margin-bottom: 5px; }
/*Project*/
.sidebar { border: 1px solid #f68204; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; /* future proofing */ background-color: #f9e8d2; width: 100px; padding: 5px; position: relative; top: 50px; left: 30px; -webkit-transition: 0.5s ease 0.1s; }
.sidebar h3 { text-align: center; font-size: 15px; }
.sidebar li { list-style: none; text-align: center; margin-left: 0; }
.sidebar a { color: #f68204; border-bottom: 1px dashed #777; padding-bottom: 1px; }
/*Members*/
.member { margin-top: 10px; height: 230px; }
.bitleft {
position: relative;
left: 60px;
}
.member img { margin: 5px; }
.member .desc { width: 520px; margin: 5px 10px; position: relative; top: -200px; left: 260px; }
/*Journal / Blog*/
/*.blog img { max-width: 133%; position: relative; left: -16.5%; margin: 10px; }*/
.notebook_page .grid_12 { margin-left: 0; margin-right: 0; }
.faces { width: 90%; margin: 0 auto 50px; }
.faces h2 { text-align: center; } .faces ul li { list-style: none; display: inline; }
.faces ul li:hover { top: -7px; }
.faces img { height: 100px;
}
.faces ul li { position: relative; -webkit-transition-property: top; -moz-transition-property: top; -ms-transition-property: top; -o-transition-property: top; transition-property: top; -webkit-transition-duration: .08s; -moz-transition-duration: .08s; -ms-transition-duration: .08; -o-transition-duration: .08s; transition-duration: .08s; -webkit-transition-timing-function: linear; -moz-transition-timing-function: linear; -ms-transition-timing-function: linear; -o-transition-timing-function: linear; transition-timing-function: linear; -webkit-transition-delay: 0; -moz-transition-delay: 0; -ms-transition-delay: 0; -o-transition-delay: 0; transition-delay: 0; }
.faces ul li a h3 { font-size: 14px; width: 200px; position: absolute; top: 70px; left: 20px; text-align: center; color: rgb(53, 53, 53); }
- slides {
width: 100%; overflow: hidden; /*border: solid 1px red;*/ display: block; }
- slides ul {
width: 2930px; /*3 items */ }
- slides ul li {
display: inline-block; width: 960px;
}
.nb article { position: relative; margin-bottom: 10px; }
.nb { padding: 0 10px; width: 80%; margin: 0 auto; text-align: justify; }
.nb h3 { text-align: center; } .nb h4 { text-align: center; margin: 0 auto 15px; }
.nb > h2 { text-align: center; margin-bottom: 10px; padding-top: 4px; }
.nb .highlight {
width: 240px;
position: absolute;
top: -65px;
}
.nb .left { left: -240px; }
.nb .right { right: -240px; }
.nb .highlight .line { height: 1px; width: 340px; border-bottom: 1px dashed #333; position: relative; }
.nb .left .line { left: 20px; }
.nb .right .line { right: 120px; }
.nb .highlight h3 {
text-align: center;
font-size: 20px;
}
.nb .highlight h4 {
position: relative;
top: -5px;
text-align: center;
font-size: 16px;
}
.blog article {
margin-left: 40px;
width: 500px;
border-bottom: 1px solid #d1d1d1;
padding-bottom: 0px;
margin-bottom: 25px;
}
.blog article:last-child { border-bottom: none; }
.blog .line {width: 800px}
.blog article h3, .blog article .date { display: inline; }
.blog article .date:before { content: " - "; }
.blog article .date { margin-left: 5px; }
.blog article .author { display: block; margin-top: -6px; margin-left: 12px; margin-bottom: 5px; }
.blog article .author:before { content: "by "; }
.blog .post { text-align: justify; } .blog .post a { border-bottom: 1px solid #404040; color: #353535; }
.blog .post a:hover { border-bottom: none; }
/*Sponsors*/
.gold { border: 1px solid #D1D1D1; height: 100px; }
.gold_desc { margin-left:40px; text-align: justify; }
.gold_desc h3 { position:relative; left:-25px }
.silver_container { position: relative; left: 50px; top:20px; margin-top: 25px; }
.silver_container h3 { position: relative; left: -50px; top: -10px;
}
.silver_container:last-child { margin-bottom: 30px; }
.silver { height:100px; margin-top: 0px; margin-bottom: 10px; border: 1px solid #D1D1D1; }
.silver > img { position: relative; }
/*Footer*/
.news { border-top: 1px solid #d1d1d1; clear: both; border-top: 1px solid #d1d1d1; padding-top: 5px; margin: 5px 0 -5px 0; }
.news h3 { float:left; margin-left:5px; margin-right: 8px; font-size:15px; color:#F68204; }
.rolling { width: 840px; margin-left: 10px; font-size:15px }
.footer { clear: both; border-top: 1px solid #d1d1d1; padding-top: 5px; margin-top: 8px; /*margin-bottom: 100px;*/ }
.footer p { font-size: 11px; line-height: 16px; }
.toggle { color: grey; margin-left: 0; text-indent: 0; }
.toggle:hover { color: #f68204; cursor: pointer; }
.mw { /*margin-top: 3px;*/ }
.mw ul { margin-bottom: 2px; margin-left: -10px; }
.mw li { display: inline; color: grey; margin-left: 15px; font-size: 11px; }
.sponsor { position: relative; top: -50px; left: 580px; width: 400px; } .sponsor img { height: 30px; margin-right: 10px; }
.sponsor a:hover { background-color: transparent; }
.unitn { position: relative; z-index: -10; opacity: 0.15; display: inline; bottom: 358px; left: 690px; }