Team:TU-Delft/Templates/Style

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <style> body { background-color: #494D51; font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif; text-align: center; } .firstHeading { ...")
Line 2: Line 2:
<style>
<style>
body {
body {
-
     background-color: #494D51;
+
     background: #ADD8E6 url("https://static.igem.org/mediawiki/2013/d/d7/Im04.gif") left no-repeat;
     font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
     font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
     text-align: center;
     text-align: center;
-
}
 
-
.firstHeading {
 
-
    display: none;
 
-
}
 
-
#globalWrapper {
 
-
    margin: 0 auto;
 
-
    width: 975px;
 
-
}
 
-
#content {
 
-
    background-color: #D8D5D0;
 
-
    border: 1px solid black;
 
-
    margin-bottom: 10px;
 
-
    padding: 0 0 20px;
 
-
    width: 975px;
 
-
}
 
-
#contentSub {
 
-
    margin: 0;
 
-
}
 
-
#footer-box {
 
-
    background-color: #D8D5D0;
 
-
}
 
-
p {
 
-
    text-align: justify;
 
-
}
 
-
.bordertable td {
 
-
    background-color: #FFFFFF;
 
-
    border-color: black;
 
-
    border-style: solid;
 
-
    border-width: 0 0 1px 1px;
 
-
    margin: 0;
 
-
}
 
-
.bordertable th {
 
-
    background-color: #D8D5D0;
 
-
    border-color: black;
 
-
    border-style: solid;
 
-
    border-width: 0 0 1px 1px;
 
-
    margin: 0;
 
-
}
 
-
.bordertable {
 
-
    border-color: black;
 
-
    border-spacing: 0;
 
-
    border-style: solid;
 
-
    border-width: 2px 2px 1px 1px;
 
-
}
 
-
table {
 
-
    background: none repeat scroll 0 0 transparent;
 
-
}
 
-
.wiki_div {
 
-
    text-align: justify;
 
-
}
 
-
h2, h3, h4, h5, h6 {
 
-
    border: 0 none;
 
-
    font-weight: bold;
 
-
}
 
-
h1, h2, h3, h4, h5, h6 {
 
-
    font-family: Tahoma;
 
-
    padding-bottom: 0;
 
-
    text-align: center;
 
-
}
 
-
h1 {
 
-
    font-size: 140%;
 
-
}
 
-
h2 {
 
-
    font-size: 115%;
 
-
}
 
-
h3 {
 
-
    font-size: 110%;
 
-
}
 
-
h4 {
 
-
    font-size: 100%;
 
-
}
 
-
h5 {
 
-
    font-size: 95%;
 
-
}
 
-
a {
 
-
    color: #0065BD;
 
-
}
 
-
a:active {
 
-
    color: #0065BD;
 
-
}
 
-
a:visited {
 
-
    color: #0065BD;
 
-
}
 
-
a:hover {
 
-
    color: #0065BD;
 
}
}
#top-section {
#top-section {
Line 120: Line 35:
     z-index: 9;
     z-index: 9;
}
}
-
#p-logo {
+
/* Layout */
-
     display: none;
+
/**********/
 +
body, #heading, #innercontent {
 +
    background: url("https://static.igem.org/mediawiki/2011/b/ba/DTU-Denmark2011-bg2.jpg") repeat #D7D7D7;}
 +
    background: gray;
 +
}
 +
/*#content, #globalWrapper {
 +
     border: none;
 +
    width: 75%;
 +
    margin: 0;
 +
    padding: 0;
 +
}*/
 +
#globalWrapper {
 +
    margin: 0 auto;
 +
    width: 975px;
 +
}
 +
#content {
 +
    background-color: #D8D5D0;
 +
    border: 1px solid black;
 +
    margin-bottom: 10px;
 +
    padding: 0 0 20px;
 +
    width: 975px;
 +
}
 +
 
 +
#contentSub {
 +
    margin: 0;
}
}
#search-controls {
#search-controls {
Line 147: Line 86:
     margin: 1px;
     margin: 1px;
}
}
 +
 +
#footer-box {
 +
    background-color: #D8D5D0;
 +
}
 +
input.searchButton {
input.searchButton {
     color: #FFFFFF;
     color: #FFFFFF;
Line 156: Line 100:
     padding-right: 2px;
     padding-right: 2px;
}
}
-
.editsection {
+
#header {
-
     color: #555555;
+
     background: url("https://static.igem.org/mediawiki/2011/2/2d/DTU-Denmark2011-5element.png") no-repeat right -30px #990000;
-
     font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
-
     font-size: 12.5px;
+
     -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* for the Safari browser */
-
     font-weight: normal;
+
     height: 100px;
-
     text-decoration: none;
+
    width: 100%;
 +
    border-top: 1px solid #660000;
 +
     border-bottom: 1px solid #660000;}
 +
 
 +
#menu, #menu ul {
 +
margin: 0;
 +
padding: 0;
 +
list-style: none;
}
}
-
.editsection a {
+
 
-
    color: #555555;
+
#menu {
 +
width: 960px;
 +
margin: 60px auto;
 +
border: 1px solid #222;
 +
background-color: #111;
 +
background-image: linear-gradient(#444, #111);
 +
border-radius: 6px;
 +
box-shadow: 0 1px 1px #777;
}
}
-
.editsection a:hover {
+
#menu:before,
-
    color: #000000;
+
#menu:after {
 +
content: "";
 +
display: table;
}
}
-
.editsection a:visited {
+
 
-
    color: #555555;
+
#menu:after {
 +
clear: both;
}
}
-
.editsection a:active {
+
 
-
    color: #555555;
+
#menu {
 +
zoom:1;
}
}
-
div.thumb, div.tright, div.tleft, div.center {
+
#menu li {
-
    background: none repeat scroll 0 0 transparent;
+
float: left;
-
    border: 0 none;
+
border-right: 1px solid #222;
-
    margin: 3px;
+
box-shadow: 1px 0 0 #444;
-
    text-align: justify;
+
position: relative;
}
}
-
div.thumbinner div.thumbcaption {
+
 
-
    text-align: justify;
+
#menu a {
 +
float: left;
 +
padding: 12px 30px;
 +
color: #999;
 +
text-transform: uppercase;
 +
font: bold 10px Arial, Helvetica;
 +
text-decoration: none;
 +
text-shadow: 0 1px 0 #000;
}
}
-
a[name] {
+
 
-
    display: block;
+
#menu li:hover > a {
-
    position: relative;
+
color: #fafafa;
-
    top: -225px;
+
}
}
-
#toctable .toclevel-1 {
+
 
-
    float: left;
+
*html #menu li a:hover { /* IE6 only */
-
    list-style-type: none;
+
color: #fafafa;
-
    margin-left: 0;
+
-
    margin-right: 20px;
+
}
}
-
.wiki_div .toclevel-1 {
+
</style>
-
    float: left;
+
<style>
-
    list-style-type: none;
+
#menu ul {
-
    margin-left: 0;
+
margin: 20px 0 0 0;
-
    margin-right: 20px;
+
_margin: 0; /*IE6 only*/
-
    width: 30%;
+
opacity: 0;
 +
visibility: hidden;
 +
position: absolute;
 +
top: 38px;
 +
left: 0;
 +
z-index: 1;  
 +
background: #444;
 +
background: linear-gradient(#444, #111);
 +
box-shadow: 0 -1px 0 rgba(255,255,255,.3);
 +
border-radius: 3px;
 +
transition: all .2s ease-in-out;
}
}
-
#toctitle {
+
 
-
    display: none;
+
#menu li:hover > ul {
 +
opacity: 1;
 +
visibility: visible;
 +
margin: 0;
}
}
-
#toc {
+
 
-
    background: none repeat scroll 0 0 transparent;
+
#menu ul ul {
-
    border: 0 none;
+
top: 0;
-
    padding: 0;
+
left: 150px;
 +
margin: 0 0 0 20px;
 +
_margin: 0; /*IE6 only*/
 +
box-shadow: -1px 0 0 rgba(255,255,255,.3);
}
}
-
#toc ul {
+
 
-
    margin: 0;
+
#menu ul li {
 +
float: none;
 +
display: block;
 +
border: 0;
 +
_line-height: 0; /*IE6 only*/
 +
box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}
}
-
#toctable p {
+
 
-
    margin: 0;
+
#menu ul li:last-child {  
 +
box-shadow: none;  
}
}
-
.toclevel-1 a span {
+
 
-
    color: #000000;
+
#menu ul a {  
-
    font-size: 13px;
+
padding: 10px;
-
    font-weight: bold;
+
width: 130px;
-
    text-decoration: none;
+
_height: 10px; /*IE6 only*/
-
}
+
display: block;
-
.toclevel-1 a:active span {
+
white-space: nowrap;
-
    color: #000000;
+
float: none;
-
    font-size: 13px;
+
text-transform: none;
-
    font-weight: bold;
+
-
    text-decoration: none;
+
-
}
+
-
.toclevel-1 a:hover span {
+
-
    color: #000000;
+
-
    font-size: 13px;
+
-
    font-weight: bold;
+
-
    text-decoration: underline;
+
-
}
+
-
.toclevel-2 {
+
-
    display: none;
+
-
}
+
-
.toclevel-3 {
+
-
    display: none;
+
-
}
+
-
.tocnumber {
+
-
    display: none;
+
-
}
+
-
p.trigger {
+
-
    background-image: url("https://static.igem.org/mediawiki/2010/1/10/Team_TU_Munich2010_Images_Arrow_small.jpg");
+
-
    background-position: left center;
+
-
    background-repeat: no-repeat;
+
-
    padding-left: 17px;
+
-
}
+
-
p.activeToggle {
+
-
    background-image: url("https://static.igem.org/mediawiki/2010/5/56/Team_TU_Munich2010_Images_Arrow_close_small.jpg");
+
-
    background-position: left center;
+
-
    background-repeat: no-repeat;
+
-
    padding-left: 17px;
+
-
}
+
-
a.toggle_close {
+
-
    background-image: url("https://static.igem.org/mediawiki/2010/5/5d/Team_TU_Munich2010_Images_Cross_small.jpg");
+
-
    background-position: left center;
+
-
    background-repeat: no-repeat;
+
-
    float: left;
+
-
    padding-left: 17px;
+
-
    text-align: left;
+
}
}
-
div.toggle_container {
+
 
-
    border-left: 1px solid #4E9D20;
+
#menu ul a:hover {
-
    margin-bottom: 25px;
+
background-color: #0186ba;
-
    margin-left: 5px;
+
background-image: linear-gradient(#04acec, #0186ba);
-
    padding-left: 7px;
+
}
}
 +
 +
</style>
</style>
</html>
</html>

Revision as of 10:04, 18 April 2013