Template:Team:Amsterdam/stylesheet

From 2012.igem.org

(Difference between revisions)
 
(120 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
/*
 
-
//html,body { height:100%; }
 
-
#globalWrapper {
+
/* Change Default elements */
-
    padding: 0;
+
-
}
+
-
*/
+
html, body, #globalWrapper{
html, body, #globalWrapper{
Line 13: Line 8:
margin: 0;
margin: 0;
height: 100%
height: 100%
 +
}
 +
 +
a{
 +
        color: #000DFF;
 +
}
 +
 +
a:visited{
 +
        color: #000DFF;
 +
}
 +
 +
#bodyContent a[href^="https://"], .link-https {
 +
background: none;
 +
padding-right: 0;
}
}
Line 20: Line 28:
#content{
#content{
 +
line-height: 1;
min-height: 100%;
min-height: 100%;
border-left: 1px solid #919396;
border-left: 1px solid #919396;
border-right: 1px solid #919396;
border-right: 1px solid #919396;
box-shadow: 0 0 5px #000000, 0 0 120px 10px #000000;
box-shadow: 0 0 5px #000000, 0 0 120px 10px #000000;
-
background: -moz-linear-gradient(left,  rgba(255,255,255,0.75) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(255,255,255,0.75) 100%);
+
</html>{{Template:Team:Amsterdam/ernst/cssgradients/1}}<html>
-
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0.75)), color-stop(25%,rgba(255,255,255,1)), color-stop(75%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0.75)));
+
-
background: -webkit-linear-gradient(left,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 75%,rgba(255,255,255,0.75) 100%);
+
-
background: -o-linear-gradient(left,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 75%,rgba(255,255,255,0.75) 100%);
+
-
background: -ms-linear-gradient(left,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 75%,rgba(255,255,255,0.75) 100%);
+
-
background: linear-gradient(to right,  rgba(255,255,255,0.75) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,1) 75%,rgba(255,255,255,0.75) 100%);
+
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfffffff', endColorstr='#bfffffff',GradientType=1 );
+
}
}
Line 45: Line 48:
margin-bottom: 0 !important;
margin-bottom: 0 !important;
}
}
-
 
#menubar.left-menu {  
#menubar.left-menu {  
background-color:black;  
background-color:black;  
Line 87: Line 89:
left:0;  
left:0;  
margin:0;
margin:0;
-
}
 
-
 
-
body {
 
-
text-align: center;
 
-
font-family: Arial, Helvetica, sans-serif;
 
-
font-size: 11px;
 
-
//font-family: Gill Sans, Gill Sans MT, sans-serif;
 
-
//font-size: 13px;
 
-
background: #004083 url(https://static.igem.org/mediawiki/2012/thumb/2/23/DNATilingBGv1GrayscaleInverseO25.png/152px-DNATilingBGv1GrayscaleInverseO25.png) repeat;
 
}
}
-
/*Defining the columns */
+
.first{
-
#total {
+
        display: block;
-
background-color: white;
+
        text-decoration: none;
-
width: 100%;
+
        text-align: left;
-
margin-right: 0em;
+
        font-size: 20px;
-
margin-left: 0em;
+
        font-weight: bold;
-
margin-top: 0em;
+
        text-shadow: #AAA 0 0 1.5px;
-
text-align: left;
+
        width: 210px;
-
z-index: 0;
+
        padding-left: 15px;
 +
        padding-right: 15px;
 +
        padding-top: 5px;
 +
        padding-bottom: 5px;
 +
        border-bottom: 1px solid #919396;
 +
        background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 75%, transparent 100%);
 +
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0, 0, 0, 0.1)), color-stop(40%,rgba(0, 0, 0, 0.1)), color-stop(75%,transparent), color-stop(100%,transparent));
 +
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#00000000',GradientType=1 );
 +
        list-style-type: none;
 +
list-style-image: none;
 +
list-style-position: outside;
}
}
-
#menu {
+
textarea{
-
float: left;
+
    height: 200px;
-
width: 100%;
+
-
text-align: center;
+
-
//background-color: black;
+
-
background-color: #004083;
+
-
padding: 10px 0;
+
}
}
-
#main {
+
div.tright{
-
overflow: hidden;
+
        border-style: none;
-
border-style:solid;
+
        padding: 10px;
-
border-width:2px 1px;
+
-
border-radius: 30px;
+
-
color: #333333;
+
-
box-shadow: 0 0 3px 1px #000000;
+
}
}
-
#main-bg {
+
div.tleft{
-
float: left;
+
        border-style: none;
-
width: 100%;
+
        padding: 10px;
-
//background: rgba(255, 255, 255, 0.5);
+
-
background: -moz-linear-gradient(top,  rgba(0,64,131,1) 0%, rgba(0,64,131,0) 35%, rgba(0,64,131,0) 65%, rgba(0,64,131,1) 100%);
+
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,64,131,1)), color-stop(35%,rgba(0,64,131,0)), color-stop(65%,rgba(0,64,131,0)), color-stop(100%,rgba(0,64,131,1)));
+
-
background: -webkit-linear-gradient(top,  rgba(0,64,131,1) 0%,rgba(0,64,131,0) 35%,rgba(0,64,131,0) 65%,rgba(0,64,131,1) 100%);
+
-
background: -o-linear-gradient(top,  rgba(0,64,131,1) 0%,rgba(0,64,131,0) 35%,rgba(0,64,131,0) 65%,rgba(0,64,131,1) 100%);
+
-
background: -ms-linear-gradient(top,  rgba(0,64,131,1) 0%,rgba(0,64,131,0) 35%,rgba(0,64,131,0) 65%,rgba(0,64,131,1) 100%);
+
-
background: linear-gradient(to bottom,  rgba(0,64,131,1) 0%,rgba(0,64,131,0) 35%,rgba(0,64,131,0) 65%,rgba(0,64,131,1) 100%);
+
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004083', endColorstr='#004083',GradientType=0 );
+
-
 
+
}
}
-
#main-content{
+
#toc{
-
display: block;
+
        float: right;
-
float: left;
+
        width: 400px;
-
width: 666px;
+
-
background-color: white;
+
-
background-color: rgba(255, 255, 255, 0.90);
+
-
border-style:solid;
+
-
border-width:1px;
+
-
margin: 4px;
+
-
margin-right: 2px;
+
-
padding: 15px;
+
-
text-align:justify;
+
-
box-shadow: inset 0 0 1px 0.4px
+
}
}
-
 
-
#main-sidebar-right{
 
-
display: block;
 
-
float: right;
 
-
width: 240px;
 
-
align: center;
 
-
background-color: white;
 
-
background-color: rgba(255, 255, 255, 0.90);
 
-
border-style:solid;
 
-
border-width:1px;
 
-
margin: 4px;
 
-
margin-left: 2px;
 
-
padding: 15px 5px;
 
-
box-shadow: inset 0 0 1px 0.4px
 
-
}
 
-
 
-
#footer {
 
-
font-size: 10px;
 
-
width:100%;
 
-
clear:both;
 
-
//background-color: black;
 
-
background-color: #004083;
 
-
padding: 5px 0;
 
-
}
 
-
 
/* Text styles */
/* Text styles */
p {
p {
-
padding: 0px;
+
margin: 15px 0;
-
margin-top: 5px;
+
-
margin-right: 10px;
+
-
margin-bottom: 7px;
+
-
margin-left: 0px;
+
-
        text-align: left;
+
}
}
Line 195: Line 140:
text-shadow: #AAA 0 0 1.5px;
text-shadow: #AAA 0 0 1.5px;
border-color: #919396;
border-color: #919396;
-
line-height: 1em;
+
margin-top: 0;
 +
padding-top: 0;
}
}
Line 212: Line 158:
margin-top: 0px;
margin-top: 0px;
margin-right: 0px;
margin-right: 0px;
-
margin-bottom: 0px;
 
margin-left: 0px;
margin-left: 0px;
padding-top: 10px;
padding-top: 10px;
padding-right: 0px;
padding-right: 0px;
-
padding-bottom: 10px;
 
padding-left: 0px;
padding-left: 0px;
}
}
Line 235: Line 179:
padding-bottom: 10px;
padding-bottom: 10px;
padding-left: 0px;
padding-left: 0px;
 +
}
 +
table,th, td
 +
{
 +
        padding: 5px;
 +
        margin: 10px;
 +
}
 +
table
 +
{
 +
        border: 1px solid black;
 +
        border-collapse:collapse;
 +
}
 +
th
 +
{
 +
        background-color:#339966;
 +
        color:white;
}
}
-
/* Menu */
+
/* Setup for Page Elements */
-
/*
+
body {
-
#nav, #nav ul{
+
text-align: center;
-
    display:inline-block;
+
font-family: Arial, Helvetica, sans-serif;
-
    margin:0;
+
font-size: 11px;
-
    padding:0;
+
background: #004083 url(https://static.igem.org/mediawiki/2012/thumb/2/23/DNATilingBGv1GrayscaleInverseO25.png/152px-DNATilingBGv1GrayscaleInverseO25.png) repeat;
-
    list-style-type:none;
+
}
-
    list-style-image:none;
+
-
    list-style-position:outside;
+
-
    position:relative;
+
-
    line-height:2em;
+
-
}
+
-
#nav a:link, #nav a:active, #nav a:visited{
+
-
    display:block;
+
-
    padding:0em 0.5em;
+
-
    color:white;
+
-
    text-decoration:none;
+
-
    background-color:black;
+
-
}
+
-
#nav a:hover{
+
#main {
-
    background-color:black;
+
overflow: hidden;
-
    color:white;
+
border-style:solid;
 +
border-width:2px 1px;
 +
border-radius: 30px;
 +
color: #5A5A5A;
 +
box-shadow: 0 0 3px 1px #000000;
}
}
-
#nav li{
+
 
-
    float:left;
+
#main-area {
-
    position:relative;
+
float: left;
-
    width: 8em;
+
width: 100%;
-
    margin-bottom: 0;
+
//background: rgba(255, 255, 255, 0.5);
 +
</html>{{Template:Team:Amsterdam/ernst/cssgradients/2}}<html>
 +
text-align: justify;
}
}
-
#nav ul {
+
 
-
    position:absolute;
+
#content-area{
-
    width:8em;
+
display: block;
-
    display:none;
+
float: right;
 +
width: 707px;
}
}
-
#nav li ul a{
+
 
-
    width:100%;
+
 
-
    border:1px solid black;
+
#sidebar-area{
-
    float:left;
+
display: block;
 +
float: left;
 +
width: 180px;
}
}
-
#nav ul ul{
 
-
    top:auto;
 
-
}
 
-
#nav li ul ul {
+
#footer {
-
    top: 0.5em;
+
font-size: 10px;
-
    left:8em;
+
width:100%;
-
    margin:0em 0 0 1em;
+
clear:both;
-
    }
+
background-color: #004083;
 +
padding: 5px 0;
 +
}
 +
.main-spacer {
 +
height: 35px;
 +
}
 +
.clear {
 +
clear: both;
 +
}
-
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
+
.content-block {
-
    display:none;
+
display: block;
-
    }
+
float: inherit;
-
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
+
width: 100%;
-
    display:block;
+
align: center;
-
    }
+
background-color: white;
 +
background-color: rgba(255, 255, 255, 0.90);
 +
border-style:solid;
 +
border-width:1px;
 +
margin: 4px;
 +
margin-bottom: 0px;
 +
padding: 15px;
 +
box-shadow: inset 0 0 1px 0.4px;
 +
}
-
*/
+
.align-right {
 +
float: right;
 +
}
-
#nav, #nav ul, #nav li{
+
.align-left {
-
    margin: 0;
+
float: left;
-
    list-style-type:none;
+
-
    list-style-image:none;
+
-
    list-style-position:outside;
+
}
}
-
#nav{
+
.align-center {
-
    display: inline-block;
+
float: center;
-
    position:relative;
+
-
    line-height:2em;
+
}
}
-
#nav li{
+
/* Navigation Menu */
-
    //display: block;
+
#navmenu {
-
    float: left;
+
margin: -15px;
-
    width: 120px;
+
}
}
-
#nav a{
+
#navmenu a {
-
    text-decoration: none;
+
color: #000000;
-
    text-align: left;
+
-
    display: block;
+
-
    width: 100%;
+
-
    font-size: 20px;
+
-
    font-weight: bold;
+
-
    color: #000000
+
}
}
-
#nav li li a{
+
#navmenu h1 {
-
    position: absolute;
+
font-weight: bold;
 +
font-size: 35px;
 +
margin-bottom: 0 !important;
 +
padding-top: 15px;
 +
padding-left: 15px;
 +
padding-right: 15px;
 +
//background-color: #D2D5D9;
 +
background-color: rgba(0, 0, 0, 0.1);
}
}
-
.form-checkbox
+
#navmenu ul {
-
{
+
line-height: 1;
-
    float:left;
+
margin: 0;
 +
list-style-type: none;
 +
list-style-image: none;
 +
list-style-position: outside;
 +
margin-top: 1px;
 +
//border-top: 1px solid #919396;
}
}
 +
 +
#navmenu ul li{
 +
margin: 0;
 +
margin-bottom: 1px;
 +
        padding: 0px;
 +
}
 +
 +
#navmenu ul li:last-child{
 +
margin-bottom: 0;
 +
}
 +
 +
#navmenu ul a{
 +
text-align:left;
 +
display: block;
 +
text-decoration: none;
 +
font-size: 20px;
 +
font-weight: bold;
 +
//color: #004083;
 +
text-shadow: #AAA 0 0 1.5px;
 +
width: auto;
 +
padding-left: 15px;
 +
padding-right: 15px;
 +
padding-top: 5px;
 +
padding-bottom: 5px;
 +
border-bottom: 1px solid #919396;
 +
</html>{{Template:Team:Amsterdam/ernst/cssgradients/3}}<html>
 +
}
 +
 +
#navmenu > ul > li:last-child > a{
 +
border-bottom: none;
 +
}
 +
 +
#navmenu ul a:hover{
 +
background-color: rgba(0, 0, 0, 0.1);
 +
}
 +
 +
#navmenu ul ul{
 +
border-left: 10px solid #919396;
 +
border-top: 1px solid #919396;
 +
}
 +
 +
#navmenu ul ul a{
 +
font-size: 17px;
 +
font-weight: normal;
 +
}
 +
 +
#navmenu ul ul ul a{
 +
font-size: 15px;
 +
font-weight: normal;
 +
}
 +
</style>
</style>
</html>
</html>

Latest revision as of 03:29, 27 September 2012