Template:Team:Uppsala/styles

From 2013.igem.org

(Difference between revisions)
 
(45 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;
 
-
    width: 99.5%;
 
-
    height: 99.5%;
 
-
    background-image: url("https://static.igem.org/mediawiki/2013/2/26/Background.png");
 
-
    position: fixed;
 
-
    overflow: auto;
 
-
    repeat-x;   
 
-
}
 
-
 
-
#h{
 
-
height:200px;
 
-
width:200px;
 
-
border:solid 3px;
 
-
}
 
*{
*{
Line 79: Line 60:
         }
         }
-
        .home-knapp {
+
     
-
               
+
-
                position: relative;left:15px;top:-72px;
+
-
                margin-bottom:-71px;
+
-
width: 15%;
+
-
float: left;
+
-
z-index: 2; 
+
-
 
+
-
        }
+
-
 
+
-
 
+
-
+
-
.nav-text
+
-
{
+
-
padding-right:         10px;
+
-
z-index: 1;
+
-
+
-
}
+
-
+
-
#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 {
+
-
display: block;
+
-
}
+
-
+
-
#nav ul {
+
-
list-style:    none;
+
-
position: relative;
+
-
        top:            -4px;
+
-
display: inline-table;
+
-
}
+
-
 
+
-
#nav ul:after {
+
-
content: ""; clear: both; display: block;
+
-
}
+
-
+
-
#nav ul li
+
-
{
+
-
padding-top:            0.8%;
+
-
float: left;
+
-
height: 49px;
+
 +
h1 {
 +
        color:#0089d1;
}
}
-
 
-
        #nav ul li a
 
-
        {
 
-
                text-align:                    center;
 
-
display: block;
 
-
}
 
-
.nav-text2{
+
h3 {
-
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
+
-
{
+
-
background: #22409a;
+
-
border-radius:         0px;
+
-
padding: 0px;
+
-
        margin-left:            0px;
+
-
position: absolute;
+
-
top: 90%;
+
-
}
+
-
#nav ul ul li {
+
-
width: 150px;
+
-
float: none;
+
-
position: relative;
+
-
}
+
-
#nav ul ul li a {
+
-
                        padding-top:    8%;
+
-
color: #fff;
+
-
font-weight: bold;
+
-
                        text-decoration: none;
+
-
 
+
-
}
+
-
#nav ul ul li a:hover {
+
-
background: #0089d1;
+
-
}
+
-
 
+
-
h1 {
+
         color:#0089d1;
         color:#0089d1;
}
}
Line 194: Line 80:
margin-left:auto;
margin-left:auto;
margin-right:auto;
margin-right:auto;
-
border-bottom: 1px solid #22409a;
+
border-top: 1px solid #22409a;
clear: both;
clear: both;
 +
       
 +
}
}
Line 204: Line 92:
height:400px;
height:400px;
width:700px;
width:700px;
-
border:solid 3px;
+
margin-top:10px;
margin-top:10px;
 +
        margin-bottom:20px;
}
}
Line 222: Line 111:
margin-right:auto;
margin-right:auto;
border-bottom: 1px solid #22409a;
border-bottom: 1px solid #22409a;
-
margin-bottom: 10px;
+
margin-bottom: 0px;
-
margin-top: 20px;
+
margin-top: 0px;
clear: both;
clear: both;
 +
       
}
}
Line 230: Line 120:
position: left;
position: left;
float:left;
float:left;
-
height:270px;
+
height:227px;
-
width:250px;
+
width:210px;
/*border:solid 3px;*/
/*border:solid 3px;*/
margin-top:20px;
margin-top:20px;
Line 241: Line 131:
/* padding-top: px;*/
/* padding-top: px;*/
float:right;
float:right;
-
height:270px;
+
height:227px;
-
width:250px;
+
width:210px;
/*border:solid 3px;*/
/*border:solid 3px;*/
margin-top:20px;
margin-top:20px;
Line 249: Line 139:
#container_right{
#container_right{
-
height:270px;
+
height:240px;
padding-top:0px;
padding-top:0px;
width:650px;
width:650px;
Line 260: Line 150:
#container_left{
#container_left{
-
height:270px;
+
height:240px;
padding-top:0px;
padding-top:0px;
width:650px;
width:650px;
Line 426: Line 316:
width: 200px;
width: 200px;
}
}
 +
 +
/* CSS parts starts here */
 +
 +
#sub_content_parts{
 +
width:100%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
border-bottom: 1px solid #22409a;
 +
margin-bottom: 10px;
 +
margin-top:10px;
 +
clear:both;
 +
position:relative;
 +
}
 +
 +
#parts_title{
 +
height:30px;
 +
width:200px;
 +
border:solid 3px;
 +
overflow:auto;
 +
}
 +
 +
#parts_text{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 +
#chassi{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 +
#carotenoid{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 +
#resveratrol{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 +
#saffron{
 +
height:270px;
 +
width:800px;
 +
border:solid 3px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
margin-top:10px;
 +
}
 +
 +
#sweetner{
 +
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