Template:Team:Amsterdam/stylesheet

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
/*
+
/* Change Default elements */
-
//html,body { height:100%; }
+
-
 
+
-
#globalWrapper {
+
-
    padding: 0;
+
-
}
+
-
*/
+
-
 
+
html, body, #globalWrapper{
html, body, #globalWrapper{
padding: 0;
padding: 0;
margin: 0;
margin: 0;
height: 100%
height: 100%
 +
}
 +
 +
#bodyContent a[href^="https://"], .link-https {
 +
background: none;
 +
padding-right: 0;
}
}
Line 20: Line 18:
#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 38:
margin-bottom: 0 !important;
margin-bottom: 0 !important;
}
}
-
 
#menubar.left-menu {  
#menubar.left-menu {  
background-color:black;  
background-color:black;  
Line 87: Line 79:
left:0;  
left:0;  
margin:0;
margin:0;
 +
}
 +
 +
/* Text styles */
 +
p {
 +
margin: 15px 0;
 +
}
 +
 +
h1, h2, h3 {
 +
color: #004083;
 +
font-weight: bold;
 +
text-shadow: #AAA 0 0 1.5px;
 +
border-color: #919396;
 +
margin-top: 0;
 +
padding-top: 0;
 +
}
 +
 +
h1 {
 +
font-size: 36px;
 +
}
 +
 +
h2 {
 +
font-size: 26px;
 +
border-bottom-style: dotted;
 +
}
 +
 +
h3 {
 +
font-size: 36px;
 +
font-weight: bold;
 +
margin-top: 0px;
 +
margin-right: 0px;
 +
margin-left: 0px;
 +
padding-top: 10px;
 +
padding-right: 0px;
 +
padding-left: 0px;
 +
}
 +
 +
h4 {
 +
font-size:20px;
 +
}
 +
 +
m1 {
 +
font-size: 36px;
 +
font-weight: bold;
 +
margin-top: 0px;
 +
margin-right: 0px;
 +
margin-bottom: 0px;
 +
margin-left: 0px;
 +
padding-top: 10px;
 +
padding-right: 0px;
 +
padding-bottom: 10px;
 +
padding-left: 0px;
}  
}  
 +
/* Setup for Page Elements */
body {
body {
text-align: center;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
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;
background: #004083 url(https://static.igem.org/mediawiki/2012/thumb/2/23/DNATilingBGv1GrayscaleInverseO25.png/152px-DNATilingBGv1GrayscaleInverseO25.png) repeat;
-
}
 
-
 
-
/*Defining the columns */
 
-
#total {
 
-
background-color: white;
 
-
width: 100%;
 
-
margin-right: 0em;
 
-
margin-left: 0em;
 
-
margin-top: 0em;
 
-
text-align: left;
 
-
z-index: 0;
 
-
}
 
-
 
-
#menu {
 
-
float: left;
 
-
width: 100%;
 
-
text-align: center;
 
-
//background-color: black;
 
-
background-color: #004083;
 
-
padding: 10px 0;
 
}
}
Line 127: Line 149:
}
}
-
#main-bg{
+
#main-area {
float: left;
float: left;
width: 100%;
width: 100%;
//background: rgba(255, 255, 255, 0.5);
//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%);
+
</html>{{Template:Team:Amsterdam/ernst/cssgradients/2}}<html>
-
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)));
+
text-align: justify;
-
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 );
+
 +
#content-area{
 +
display: block;
 +
float: right;
 +
width: 707px;
}
}
-
#main-content{
+
 
 +
#sidebar-area{
display: block;
display: block;
float: left;
float: left;
-
width: 666px;
+
width: 180px;
-
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{
+
#footer {
 +
font-size: 10px;
 +
width:100%;
 +
clear:both;
 +
background-color: #004083;
 +
padding: 5px 0;
 +
}
 +
 
 +
.main-spacer {
 +
height: 35px;
 +
}
 +
 
 +
.clear {
 +
clear: both;
 +
}
 +
 
 +
.content-block {
display: block;
display: block;
-
float: right;
+
float: inherit;
-
width: 240px;
+
width: 100%;
align: center;
align: center;
background-color: white;
background-color: white;
Line 166: Line 196:
border-width:1px;
border-width:1px;
margin: 4px;
margin: 4px;
-
margin-left: 2px;
+
margin-bottom: 0px;
-
padding: 15px 5px;
+
padding: 15px;
-
box-shadow: inset 0 0 1px 0.4px
+
box-shadow: inset 0 0 1px 0.4px;
}
}
-
#footer {
+
.align-right {
-
font-size: 10px;
+
float: right;
-
width:100%;
+
-
clear:both;
+
-
//background-color: black;
+
-
background-color: #004083;
+
-
padding: 5px 0;
+
}
}
-
/* Text styles */
+
.align-left {
-
p {
+
float: left;
-
padding: 0px;
+
-
margin-top: 5px;
+
-
margin-right: 10px;
+
-
margin-bottom: 7px;
+
-
margin-left: 0px;
+
-
        text-align: left;
+
}
}
-
h1, h2, h3 {
+
.align-center {
-
color: #004083;
+
float: center;
-
font-weight: bold;
+
-
text-shadow: #AAA 0 0 1.5px;
+
-
border-color: #919396;
+
-
line-height: 1em;
+
}
}
-
h1 {
+
/* Navigation Menu */
-
font-size: 36px;
+
#navmenu {
 +
margin: -15px;
}
}
-
h2 {
+
#navmenu a {
-
font-size: 26px;
+
color: #000000;
-
border-bottom-style: dotted;
+
}
}
-
h3 {
+
#navmenu h1 {
-
font-size: 36px;
+
font-weight: bold;
font-weight: bold;
-
margin-top: 0px;
+
font-size: 35px;
-
margin-right: 0px;
+
margin-bottom: 0 !important;
-
margin-bottom: 0px;
+
padding-top: 15px;
-
margin-left: 0px;
+
padding-left: 15px;
-
padding-top: 10px;
+
padding-right: 15px;
-
padding-right: 0px;
+
//background-color: #D2D5D9;
-
padding-bottom: 10px;
+
background-color: rgba(0, 0, 0, 0.1);
-
padding-left: 0px;
+
}
}
-
h4 {
+
#navmenu ul {
-
font-size:20px;
+
line-height: 1;
 +
margin: 0;
 +
list-style-type: none;
 +
list-style-image: none;
 +
list-style-position: outside;
 +
margin-top: 1px;
 +
border-top: 1px solid #919396;
}
}
-
m1 {
+
#navmenu ul li{
-
font-size: 36px;
+
margin: 0;
-
font-weight: bold;
+
margin-bottom: 1px;
-
margin-top: 0px;
+
padding: 0;
-
margin-right: 0px;
+
-
margin-bottom: 0px;
+
-
margin-left: 0px;
+
-
padding-top: 10px;
+
-
padding-right: 0px;
+
-
padding-bottom: 10px;
+
-
padding-left: 0px;
+
}
}
-
textarea {
+
#navmenu ul li:last-child{
-
width: 50%;
+
margin-bottom: 0;
-
height: 100px;
+
-
padding: .1em;
+
}
}
-
/* Menu */
+
#navmenu ul a{
-
/*
+
display: block;
-
#nav, #nav ul{
+
text-decoration: none;
-
    display:inline-block;
+
font-size: 20px;
-
    margin:0;
+
font-weight: bold;
-
    padding:0;
+
//color: #004083;
-
    list-style-type:none;
+
text-shadow: #AAA 0 0 1.5px;
-
    list-style-image:none;
+
width: auto;
-
    list-style-position:outside;
+
padding-left: 15px;
-
    position:relative;
+
padding-right: 15px;
-
    line-height:2em;
+
padding-top: 5px;
-
}
+
padding-bottom: 5px;
-
#nav a:link, #nav a:active, #nav a:visited{
+
border-bottom: 1px solid #919396;
-
    display:block;
+
</html>{{Template:Team:Amsterdam/ernst/cssgradients/3}}<html>
-
    padding:0em 0.5em;
+
}
-
    color:white;
+
-
    text-decoration:none;
+
-
    background-color:black;
+
-
}
+
-
#nav a:hover{
+
#navmenu > ul > li:last-child a{
-
    background-color:black;
+
border-bottom: none;
-
    color:white;
+
}
}
-
#nav li{
+
 
-
    float:left;
+
#navmenu ul a:hover{
-
    position:relative;
+
background-color: rgba(0, 0, 0, 0.1);
-
    width: 7em;
+
-
    margin-bottom: 0;
+
}
}
-
#nav ul {
+
 
-
    position:absolute;
+
#navmenu ul ul{
-
    width:7em;
+
border-left: 10px solid #919396;
-
    display:none;
+
}
}
-
#nav li ul a{
+
 
-
    width:100%;
+
#navmenu ul ul a{
-
    border:1px solid black;
+
font-size: 18px;
-
    float:left;
+
font-weight: normal;
}
}
-
#nav ul ul{
 
-
    top:auto;
 
-
}
 
-
#nav li ul ul {
+
#navmenu ul ul ul a{
-
    top: 0.5em;
+
font-size: 15px;
-
    left:7em;
+
font-weight: normal;
-
    margin:0em 0 0 1em;
+
}
-
    }
+
 +
/* Social Feeds */
 +
#social-feeds {
 +
margin: -15px;
 +
overflow: hidden;
 +
}
 +
#feed-selection a {
 +
width: 50%;
 +
display: block;
 +
float: left;
 +
padding-left: 15px;
 +
margin-right: -16px;
 +
padding-top: 10px;
 +
padding-bottom: 10px;
 +
border-left: 1px solid #919396;
 +
border-bottom: 1px solid #919396;
 +
}
-
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
+
#feed-selection a:first-child {
-
    display:none;
+
border-left: none;
-
    }
+
}
-
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
+
-
    display:block;
+
-
    }
+
-
*/
+
#feed-fb {
 +
float: left;
 +
width: 100%;
 +
}
-
#nav, #nav ul, #nav li{
+
#feed-fb .rssHeader{
-
    margin: 0;
+
padding: 0 15px;
-
    list-style-type:none;
+
-
    list-style-image:none;
+
-
    list-style-position:outside;
+
}
}
-
#nav{
+
#feed-fb .rssHeader img{
-
    display: inline-block;
+
float: left;
-
    position:relative;
+
-
    line-height:2em;
+
}
}
-
#nav li{
+
#feed-fb .rssHeader a{
-
    //display: none;
+
display: block;
-
    float: left;
+
-
    width: 110px;
+
-
    background-color: #004083;
+
}
}
-
#nav a{
+
#feed-fb #extraborder{
-
    text-decoration: none;
+
border-top: 1px solid #919396;
-
    text-align: center;
+
margin-bottom: 1px;
-
    display: block;
+
-
    //width: 90%;
+
-
    font-size: 18px;
+
-
    font-weight: bold;
+
-
    color: #000000
+
}
}
-
#nav li ul{
+
#feed-fb .rssBody{
-
    //display: none;
+
padding: 0 5px 0 15px;
-
    width: 110px;
+
overflow-y: scroll;
-
    position:absolute;
+
overflow-x: hidden;
-
    line-height:2em;
+
height: 500px;
 +
clear: both;
 +
border-top: 1px solid #919396;
 +
border-bottom: 1px solid #919396;
 +
margin-bottom: 1px;
}
}
-
#nav li li{
+
#feed-fb .rssBody ul {
-
   
+
line-height: 1;
 +
margin: 0;
 +
list-style-type: none;
 +
list-style-image: none;
 +
list-style-position: outside;
}
}
-
#nav li li a{
+
#feed-fb .fb_iframe_widget {
-
   
+
position: static;
 +
display: block;
 +
clear: both;
}
}
-
#nav li li ul{
+
#feed-fb .fb_edge_widget_with_comment {
-
    //display: none;
+
position: static;
-
    //margin-left: 120px;
+
padding: 0 15px;
-
    left: 110px;
+
-
    margin-top: -25px;
+
-
    //top: -20px;
+
-
    display: block;
+
-
    width: 110px;  
+
}
}
-
.form-checkbox
+
#feed-fb .fb_iframe_widget span {
-
{
+
position: static;
-
    float:left;
+
display: block;
 +
width: auto !important;
}
}
 +
 +
#feed-fb .fb_iframe_widget iframe {
 +
position: static;
 +
width: 100% !important;
 +
}
 +
 +
</style>
</style>
</html>
</html>

Revision as of 09:49, 14 September 2012