Template:Team:Amsterdam/stylesheet

From 2012.igem.org

(Difference between revisions)
 
(193 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
#top-section { height: 0px; margin: 0px; margin-left: auto; margin-right: auto; background-color:black; margin-bottom: 0 !important;}
+
 
-
#menubar.left-menu { background-color:black; width:975px; float:left; border: none;}
+
/* Change Default elements */
-
#menubar.right-menu li a{ background-color:black;}
+
 
-
#menubar.left-menu a {color:white;}
+
html, body, #globalWrapper{
-
#menubar.right-menu a {color:white;}
+
padding: 0;
-
#search-controls {display:none; }
+
margin: 0;
-
#contentgrid {padding-left:25px;padding-right:25px;width:900px;border: 1px solid #529bc7 background-color: black; margin-left:-6px; margin-bottom:-5px; }
+
height: 100%
-
.firstHeading{width: 0px; height: 0px; margin-bottom: 0px; display: none; position: relative; top:0; left:0; margin:0;}
+
-
body {
+
-
text-align: center;
+
-
font-family: Arial, Helvetica, sans-serif;
+
-
font-size: 11px;
+
-
background-color: white;
+
}
}
-
/*Defining the columns */
+
 
-
#total {
+
a{
-
background-color: white;
+
        color: #000DFF;
-
width: 100%;
+
-
margin-right: 0em;
+
-
margin-left: 0em;
+
-
margin-top: 0em;
+
-
text-align: left;
+
-
z-index: 0;
+
}
}
-
#header-left{
+
 
-
float: left;
+
a:visited{
-
height: 150px;
+
        color: #000DFF;
-
width: 25%;
+
-
text-align: center;
+
-
background-color: white;
+
}
}
-
#header-middle{
+
 
-
float: left;
+
#bodyContent a[href^="https://"], .link-https {
-
height: 150px;
+
background: none;
-
width: 50%;
+
padding-right: 0;
-
text-align: center;
+
-
background-color: white;
+
}
}
-
#header-right{
+
 
-
float: left;
+
#contentSub {
-
height: 150px;
+
margin-bottom: 1em;
-
width: 25%;
+
-
text-align: center;
+
-
background-color: white;
+
}
}
-
#menu {
+
 
-
float: left;
+
#content{
-
height: 25px;
+
line-height: 1;
-
width: 75%;
+
min-height: 100%;
-
border: 1px solid black;
+
border-left: 1px solid #919396;
-
text-align: center;
+
border-right: 1px solid #919396;
-
background-color: black;
+
box-shadow: 0 0 5px #000000, 0 0 120px 10px #000000;
 +
</html>{{Template:Team:Amsterdam/ernst/cssgradients/1}}<html>
}
}
-
#centerContent {
+
 
-
float: left;
+
#footer-box, #catlinks, #bodyContent > p, #p-logo{ /* Hide couple of default elements */
-
width: 75%;
+
display: none;
-
border: 1px solid black;
+
-
background-color: grey;
+
 
 +
#top-section {
 +
height: 0px;  
 +
margin: 0px;  
 +
margin-left: auto;
 +
margin-right: auto;
 +
background-color:black;
 +
margin-bottom: 0 !important;
}
}
-
#rightContent {
+
#menubar.left-menu {  
-
float: right;
+
background-color:black;  
-
width: 20%;
+
width:975px;  
-
background-color: white;
+
float:left;
 +
border: none;
}
}
-
#footer {
+
 
-
font-size: 10px;
+
#menubar.right-menu li a{  
-
height: 14px;
+
background-color:black;
-
width: 100%;
+
-
clear:both;
+
-
text-align: center;
+
-
background-color: white;
+
}
}
 +
#menubar.left-menu a {
 +
color:white;
 +
}
 +
 +
#menubar.right-menu a {
 +
color:white;
 +
}
 +
 +
#search-controls {
 +
display:none;
 +
}
 +
 +
#contentgrid {
 +
padding-left:25px;
 +
padding-right:25px;
 +
width:900px;
 +
border: 1px solid #529bc7 background-color: black;
 +
margin-left:-6px;
 +
margin-bottom:-5px;
 +
}
 +
 +
.firstHeading{
 +
width: 0px;
 +
height: 0px;
 +
margin-bottom: 0px;
 +
display: none;
 +
position: relative;
 +
top:0;
 +
left:0;
 +
margin:0;
 +
}
 +
 +
.first{
 +
        display: block;
 +
        text-decoration: none;
 +
        text-align: left;
 +
        font-size: 20px;
 +
        font-weight: bold;
 +
        text-shadow: #AAA 0 0 1.5px;
 +
        width: 210px;
 +
        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;
 +
}
 +
 +
textarea{
 +
    height: 200px;
 +
}
 +
 +
div.tright{
 +
        border-style: none;
 +
        padding: 10px;
 +
}
 +
 +
div.tleft{
 +
        border-style: none;
 +
        padding: 10px;
 +
}
 +
 +
#toc{
 +
        float: right;
 +
        width: 400px; 
 +
}
/* Text styles */
/* Text styles */
p {
p {
-
padding: 0px;
+
margin: 15px 0;
-
margin-top: 5px;
+
-
margin-right: 0px;
+
-
margin-bottom: 7px;
+
-
margin-left: 0px;
+
}
}
 +
 +
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 {
h3 {
-
font-size: 36px;
+
font-size: 36px;
-
font-weight: bold;
+
font-weight: bold;
-
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-left: 0px;
-
padding-bottom: 10px;
+
-
padding-left: 0px;
+
}
}
 +
 +
h4 {
 +
font-size:20px;
 +
}
 +
m1 {
m1 {
-
font-size: 36px;
+
font-size: 36px;
-
font-weight: bold;
+
font-weight: bold;
-
margin-top: 0px;
+
margin-top: 0px;
-
margin-right: 0px;
+
margin-right: 0px;
-
margin-bottom: 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-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 {
 +
text-align: center;
 +
font-family: Arial, Helvetica, sans-serif;
 +
font-size: 11px;
 +
background: #004083 url(https://static.igem.org/mediawiki/2012/thumb/2/23/DNATilingBGv1GrayscaleInverseO25.png/152px-DNATilingBGv1GrayscaleInverseO25.png) repeat;
 +
}
-
#nav, #nav ul2{
+
#main {
-
    margin:0;
+
overflow: hidden;
-
    padding:0;
+
border-style:solid;
-
    list-style-type:none;
+
border-width:2px 1px;
-
    list-style-position:outside;
+
border-radius: 30px;
-
    position:relative;
+
color: #5A5A5A;
-
    line-height:2em;
+
box-shadow: 0 0 3px 1px #000000;
-
}
+
}
-
#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-area {
-
    background-color:black;
+
float: left;
-
    color:white;
+
width: 100%;
 +
//background: rgba(255, 255, 255, 0.5);
 +
</html>{{Template:Team:Amsterdam/ernst/cssgradients/2}}<html>
 +
text-align: justify;
}
}
-
#nav li2{
+
 
-
    float:left;
+
#content-area{
-
    position:relative;
+
display: block;
-
    width: 8em;
+
float: right;
 +
width: 707px;
}
}
-
#nav ul2 {
+
 
-
    position:absolute;
+
 
-
    width:8em;
+
#sidebar-area{
-
    display:none;
+
display: block;
 +
float: left;
 +
width: 180px;
}
}
-
#nav li2 ul2 a{
+
 
-
    width:100%;
+
#footer {
-
    border:1px solid black;
+
font-size: 10px;
-
    float:left;
+
width:100%;
 +
clear:both;
 +
background-color: #004083;
 +
padding: 5px 0;
}
}
-
#nav ul2 ul2{
 
-
    top:auto;
 
-
}
 
-
#nav li2 ul2 ul2 {
+
.main-spacer {
-
    top: 0.5em;
+
height: 35px;
-
    left:8em;
+
}
-
    margin:0em 0 0 1em;
+
 
-
    }
+
.clear {
 +
clear: both;
 +
}
 +
 
 +
.content-block {
 +
display: block;
 +
float: inherit;
 +
width: 100%;
 +
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;
 +
}
 +
 
 +
.align-left {
 +
float: left;
 +
}
 +
 
 +
.align-center {
 +
float: center;
 +
}
 +
 
 +
/* Navigation Menu */
 +
#navmenu {
 +
margin: -15px;
 +
}
 +
 
 +
#navmenu a {
 +
color: #000000;
 +
}
 +
 
 +
#navmenu h1 {
 +
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);
 +
}
 +
 
 +
#navmenu ul {
 +
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;
 +
}
 +
 
 +
#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;
 +
}
-
#nav li2:hover ul2 ul2, #nav li2:hover ul2 ul2 ul2, #nav li2:hover ul2 ul2 ul2 ul2{
 
-
    display:none;
 
-
    }
 
-
#nav li2:hover ul2, #nav li2 li2:hover ul2, #nav li2 li2 li2:hover ul2, #nav li2 li2 li2 li2:hover ul2{
 
-
    display:block;
 
-
    }
 
</style>
</style>
</html>
</html>

Latest revision as of 03:29, 27 September 2012