Template:Team:Uppsala/styles

From 2013.igem.org

(Difference between revisions)
 
(161 intermediate revisions not shown)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
-
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
+
h1{ border:none;
-
    display: none;
+
padding-top: 10px;
-
}
+
 
-
#top-section {
+
-
    border: none;
+
-
    height: 0px;
+
}
}
-
#content {
+
*{
-
    border: none;
+
margin: 0px;
-
    width: 99.5%;
+
padding: 0px;
-
    height: 99.5%;
+
border: none;
-
    background-image: url("https://static.igem.org/mediawiki/2013/2/26/Background.png");
+
}
-
    position: fixed;
+
-
    overflow: auto;
+
-
    repeat-x;   
+
body{
-
}  
+
 +
width: 100%;
 +
height: 100%;
 +
 +
background-image: url(../image/bakgrund3.png);  
 +
}
-
body {
+
#header {
 +
display: inline-block;
 +
position: relative;
 +
width: 100%;
 +
}
 +
 +
#logo_img{
 +
position: relative;
 +
padding: 10px;
 +
}
 +
 +
#header img.logo{
 +
float: left;
 +
width: 150px;
 +
}
 +
 +
#igem_logo{
 +
position: relative;
 +
padding: 10px;
 +
}
 +
 +
#header img.igem_logo{
 +
width: 400px;
 +
float: right;
 +
}
 +
 +
#navbar {
 +
background-image: url(https://static.igem.org/mediawiki/2013/e/e5/Menubar.png);
 +
background-repeat: no-repeat;
 +
background-position:         center right;
 +
background-size: 93% 55px;
 +
height: 55px;
 +
}
-
background-image: url(https://static.igem.org/mediawiki/2013/2/26/Background.png); /* bakgrund för hela sidan */
+
        #main_content{
-
border: none;
+
        padding: 20px;
-
font-family : Tahoma, sans-serif;
+
        }
-
}
+
 
 +
     
h1 {
h1 {
-
color: #0089d1;
+
        color:#0089d1;
}
}
-
p {
+
h3 {
-
color: #22409a;
+
        color:#0089d1;
}
}
-
#main_frame {
+
#bottom-pic {
-
+
width: 100%;
-
min-height: 1400px;
+
height: 200px;
-
width: 950px;
+
margin-top: 50px;
-
margin-left: auto;
+
}
-
margin-right: auto;
+
 
-
background-color: #fff;
+
#team-div{
-
border: 1px solid light gray;
+
width: 100%;
-
border-radius:                                        15px;
+
-
box-shadow: 0px 0px 30px rgba(110,110,110, .8);
+
-
}
+
-
+
-
#header {
+
-
width:100%;
+
margin-left:auto;
margin-left:auto;
margin-right:auto;
margin-right:auto;
-
}
+
border-top: 1px solid #22409a;
 +
clear: both;
 +
       
-
section {
 
-
min-height: 1300px;
 
-
padding: 20px;
 
}
}
-
header {
+
#team-pic{
-
display: inline-block;
+
position: center;
-
position: relative;
+
/*padding-top: 10px;*/
-
width: 100%;
+
margin-left: 100px;
-
}
+
height:400px;
 +
width:700px;
 +
 +
margin-top:10px;
 +
        margin-bottom:20px;
 +
}
-
#bottom-pic {
+
.team-text {
-
width: 100%;
+
float: right;
-
height: 200px;
+
padding-left: 1px;
-
margin-top: 50px;
+
 
}
}
-
#project-description {
+
 
 +
#profile-div{
width: 100%;
width: 100%;
margin-left:auto;
margin-left:auto;
margin-right:auto;
margin-right:auto;
border-bottom: 1px solid #22409a;
border-bottom: 1px solid #22409a;
-
padding-bottom: 10px;
+
margin-bottom: 0px;
 +
margin-top: 0px;
clear: both;
clear: both;
-
position: relative;
+
       
-
top: -50px;
+
}
}
-
.project-text {
+
#profile_pic{
-
padding-top: px;
+
position: left;
 +
float:left;
 +
height:227px;
 +
width:210px;
 +
/*border:solid 3px;*/
 +
margin-top:20px;
}
}
-
.first-background-text {
+
 
-
padding-top: px;
+
#profile_pic_right{
 +
position: right;
 +
/* padding-top: px;*/
 +
float:right;
 +
height:227px;
 +
width:210px;
 +
/*border:solid 3px;*/
 +
margin-top:20px;
 +
 
}
}
-
.second-background-text {
+
#container_right{
-
padding-top: px;
+
height:240px;
 +
padding-top:0px;
 +
width:650px;
 +
/*border:solid 3px;*/
 +
float:right;
 +
margin-top:15px;
}
}
 +
/*section * {border: solid 1px;}*/
 +
 +
 +
#container_left{
 +
height:240px;
 +
padding-top:0px;
 +
width:650px;
 +
/*border:solid 3px;*/
 +
float:left;
 +
margin-top:15px;
 +
}
 +
 +
 +
.profile-text {
 +
float: right;
 +
padding-left: 1px;
 +
 +
}
 +
 +
 +
#project-description {
 +
width: 100%;
 +
border-bottom: 1px solid #22409a;
 +
padding-bottom: 10px;
 +
        clear:both
 +
 +
}
 +
#grid-matrix {
#grid-matrix {
Line 99: Line 179:
float: left;
float: left;
padding-top: 20px;
padding-top: 20px;
 +
        padding-bottom: 20px;
}
}
Line 120: Line 201:
width: 276.5px; float: right;
width: 276.5px; float: right;
height: 276.5px; border: 3px solid;
height: 276.5px; border: 3px solid;
-
         background-image: url(https://static.igem.org/mediawiki/2013/1/18/Vision.png);
+
         background-image: url(https://static.igem.org/mediawiki/2013/f/f1/Vision_%281%29.png);
}
}
Line 135: Line 216:
height: 276.5px; border: 3px solid;
height: 276.5px; border: 3px solid;
margin-top: 20px;
margin-top: 20px;
-
         background-image: url(https://static.igem.org/mediawiki/2013/1/1b/Chassi.png);
+
         background-image: url(https://static.igem.org/mediawiki/2013/6/68/Chassi2_%281%29.png);
}
}
Line 142: Line 223:
height: 276.5px; border: 3px solid;
height: 276.5px; border: 3px solid;
margin-top: 20px;
margin-top: 20px;
-
         background-image: url(https://static.igem.org/mediawiki/2013/f/fd/Society.png);
+
         background-image: url(https://static.igem.org/mediawiki/2013/5/50/Society_and_safety.png);
}
}
Line 149: Line 230:
height: 276.5px; border: 3px solid;
height: 276.5px; border: 3px solid;
margin-top: 20px;
margin-top: 20px;
-
         background-image: url(https://static.igem.org/mediawiki/2013/6/6f/Safty.png);
+
         background-image: url(https://static.igem.org/mediawiki/2013/archive/6/64/20130816124745%21Achievements.png);
}
}
Line 221: Line 302:
}
}
-
 
+
/* Hover effect in grid pictures end
 +
Grid pictures styling begin */
.top {
.top {
Line 235: Line 317:
}
}
-
/* Grid pictures styling ends */
+
/* CSS parts starts here */
-
+
#sub_content_parts{
-
+
width:100%;
-
*{
+
margin-left:auto;
-
margin: 0px;
+
margin-right:auto;
-
padding: 0px;
+
border-bottom: 1px solid #22409a;
-
border: none;
+
margin-bottom: 10px;
-
}
+
margin-top:10px;
-
+
clear:both;
-
+
position:relative;
-
section, footer, nav{
+
}
-
display: block;
+
-
}
+
-
+
-
body{
+
-
+
-
width: 100%;
+
-
height: 100%;
+
-
+
-
background-image: url(../image/bakgrund3.png); /* bakgrund för hela sidan */
+
-
}
+
-
+
-
#main_frame {
+
-
min-height: 1600px;
+
-
width: 950px;
+
-
margin: 20px auto;
+
-
border: 1px solid ligth gray;
+
-
border-radius: 15px;
+
-
box-shadow: 0px 0px 30px rgba(110,110,110, .8);
+
-
background: white;
+
-
+
-
}
+
-
header {
+
#parts_title{
-
display: inline-block;
+
height:30px;
-
position: relative;
+
width:200px;
-
width: 100%;
+
border:solid 3px;
-
}
+
overflow:auto;
-
+
}
-
#logo_img{
+
-
position: relative;
+
-
padding: 10px;
+
-
}
+
-
+
-
#header img.logo{
+
-
float: left;
+
-
width: 150px;
+
-
}
+
-
+
-
#igem_logo{
+
-
position: relative;
+
-
padding: 10px;
+
-
}
+
-
+
-
#header img.igem_logo{
+
-
width: 400px;
+
-
float: right;
+
-
}
+
-
+
-
#navbar {
+
-
background-image: url(https://static.igem.org/mediawiki/2013/e/e5/Menubar.png);
+
-
background-repeat: no-repeat;
+
-
background-position: center right;
+
-
background-size: 93% 55px;
+
-
height: 55px;
+
-
}
+
-
+
-
+
-
section
+
-
{
+
-
min-height: 1300px;
+
-
padding: 20px;
+
-
}
+
-
+
-
footer
+
-
{
+
-
padding: 20px;
+
-
height: 100px;
+
-
}
+
-
+
-
.home-knapp
+
-
{
+
-
position: relative;left:15px;top:-74px;
+
-
width: 15%;
+
-
float: left;
+
-
z-index: 2;
+
-
}
+
-
+
-
.nav-text
+
-
{
+
-
padding-right: 10px;
+
-
z-index: 1;
+
-
/*-webkit-transition: -webkit-transform 0.1s, background 0.1s;*/
+
-
}
+
-
+
-
#list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;}
+
-
+
-
nav ul ul {
+
-
display: none;
+
-
z-index: 1;
+
-
}
+
-
nav ul li:hover > ul {
+
#parts_text{
-
display: block;
+
height:270px;
-
}
+
width:800px;
-
+
border:solid 3px;
-
nav ul {
+
margin-left:auto;
-
list-style: none;
+
margin-right:auto;
-
position: relative;
+
margin-top:10px;
-
display: inline-table;
+
}
-
}
+
-
nav ul:after {
+
#chassi{
-
content: ""; clear: both; display: block;
+
height:270px;
-
}
+
width:800px;
-
+
border:solid 3px;
-
nav ul li
+
margin-left:auto;
-
{
+
margin-right:auto;
-
padding-top: 1.0%;
+
margin-top:10px;
-
float: left;
+
}
-
height: 50px;
+
-
}
+
#carotenoid{
-
+
height:270px;
-
nav ul li a {
+
width:800px;
-
text-align: center;
+
border:solid 3px;
-
display: block;
+
margin-left:auto;
-
text-decoration:         none;
+
margin-right:auto;
-
}
+
margin-top:10px;
-
.nav-text2{
+
}
-
width: 90px;
+
-
position: relative;
+
-
top: -30px;
+
-
z-index: 1;
+
-
}
+
-
+
-
nav ul li:hover
+
-
{
+
-
background: #0089d1;
+
-
}
+
-
nav ul li:hover img.nav-text2{
+
-
background: none;
+
-
z-index: 3;
+
-
}
+
-
nav ul li:hover li .nav-text
+
-
{
+
-
background: #0089d1;
+
-
+
-
}
+
-
nav ul ul
+
#resveratrol{
-
{
+
height:270px;
-
background: #22409a;  
+
width:800px;
-
border-radius: 0px;  
+
border:solid 3px;
-
padding: 0px;  
+
margin-left:auto;
-
position: absolute;  
+
margin-right:auto;
-
top: 100%;
+
margin-top:10px;
-
}
+
}
-
nav ul ul li {
+
 
-
padding-top: 10px;
+
#saffron{
-
width: 150px;
+
height:270px;
-
float: none;  
+
width:800px;
-
position: relative;
+
border:solid 3px;
-
}
+
margin-left:auto;
-
nav ul ul li a {
+
margin-right:auto;
-
color: #fff;
+
margin-top:10px;
-
font-weight: bold;
+
}
-
}
+
 
-
nav ul ul li a:hover {
+
#sweetner{
-
background: #0089d1;
+
height:270px;
-
}
+
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 
 +
#chromoprotein_collection{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 
 +
#parts_table{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 
 +
/* CSS for parts ends here */
 +
 
 +
 
 +
/* CSS for the button instructors & supervisors in team starts here */
 +
 
 +
#sub_content_advisor{
 +
width:100%;
 +
height:4000px;
 +
border:solid 3px;
 +
}
 +
 
 +
#advisor_title{
 +
height:50px;
 +
width:800px;
 +
/*border:solid 3px;*/
 +
overflow:auto;
 +
float:left;
 +
}
 +
 
 +
#advisor1{
 +
height:270;
 +
width:250;
 +
float:left;
 +
border:solid 3px;
 +
clear:both;
 +
margin-left:100px;
 +
margin-top:10px;
 +
}
 +
 
 +
#advisor2{
 +
height:270;
 +
width:250;
 +
float:right;
 +
margin-top:10px;
 +
border:solid 3px;
 +
margin-right:100px;
 +
}
 +
 +
#advisor_text1{
 +
height:270;
 +
width:350;
 +
float:left;
 +
border:solid 3px;
 +
clear:both;
 +
margin-left:50px;
 +
margin-top:10px;
 +
}
 +
 
 +
#advisor_text2{
 +
height:270;
 +
width:350;
 +
float:right;
 +
border:solid 3px;
 +
margin-right:50px;
 +
margin-top:10px;
 +
}
 +
 
 +
#sub_content_instructor{
 +
width:100%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
border-bottom: 1px solid #22409a;
 +
margin-bottom: 10px;
 +
margin-top:10px;
 +
clear:both;
 +
position:relative;
 +
/*border: yellow solid 3px;*/
 +
}
 +
 
 +
#instructor_title{
 +
height:50px;
 +
width:800px;
 +
border: solid 3px;
 +
overflow:auto;
 +
float:left;
 +
margin-top:10px;
 +
}
 +
 
 +
#instructor_left{
 +
height:270;
 +
width:250;
 +
float:left;
 +
border:solid 3px;
 +
clear:both;
 +
margin-top:10px;
 +
}
 +
 
 +
#instructor_text_right{
 +
height:270px;
 +
width:645px;
 +
float:right;
 +
margin-top:10px;
 +
border:solid 3px;
 +
}
 +
 
 +
#instructor_right{
 +
height:270;
 +
width:250;
 +
float:right;
 +
border:solid 3px;
 +
margin-top:20px;
 +
}
 +
 
 +
#instructor_text_left{
 +
height:270;
 +
width:640;
 +
float:left;
 +
border:solid 3px;
 +
margin-top:20px;
 +
}
 +
 
 +
/* CSS for the button instructors & supervisors in team ends here */
 +
 
 +
/* CSS for attribution starts here*/
 +
 
 +
#attribution_title{
 +
height:30px;
 +
width:800px;
 +
border:solid 3px;
 +
float:left;
 +
overflow:auto;
 +
}
 +
 
 +
#sub_cont{
 +
width:100%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
border-bottom: 1px solid #22409a;
 +
margin-bottom: 10px;
 +
margin-top:10px;
 +
clear:both;
 +
position:relative;
 +
/*border: yellow solid 3px;*/
 +
}
 +
 
 +
#attribution1{
 +
height:270px;
 +
width:250px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:110px;
 +
}
 +
 
 +
#attribution1_text{
 +
height:270px;
 +
width:640px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 
 +
#attribution2{
 +
height:270px;
 +
width:250px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 
 +
#attribution2_text{
 +
height:270px;
 +
width:640px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 
 +
/* CSS for attribution ends here*/

Latest revision as of 16:43, 10 September 2013