Team:TU-Delft/Templates/Style

From 2013.igem.org

(Difference between revisions)
 
(858 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<style>
+
<style type="text/css">
-
body {
+
@charset "UTF-8";
-
    background: #ADD8E6 url("https://static.igem.org/mediawiki/2013/d/d7/Im04.gif") left no-repeat fixed;
+
-
    font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
-
    text-align: center;
+
-
}
+
-
.firstHeading {
+
-
    display: none;
+
-
}
+
-
 
+
#searchInput {
-
#globalWrapper {
+
display:none;
-
    margin: 0 auto;
+
-
    width: 975px;
+
}
}
 +
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 +
    display:none;}
 +
#top-section {
 +
    border: none;
 +
    height: 0px;}
#content {
#content {
-
    background-color: #D8D5D0;
+
     border: none;}
-
     border: 1px solid black;
+
#top-section{
-
    margin-bottom: 10px;
+
  height: 20px !important;
-
    padding: 0 0 20px;
+
  border: none !important;
-
    width: 975px;
+
  border-top: none;
-
}
+
-
#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 {
+
-
    border: 0 none;
+
-
    height: 18px;
+
}
}
#menubar {
#menubar {
-
    border: medium none;
+
display: table-cell;
-
    float: left;
+
background: transparent;
-
    font-size: 85%;
+
-
    height: 18px;
+
-
    position: fixed;
+
-
    top: 0;
+
}
}
-
#menubar li a {
+
 
-
    color: #868686;
+
#menubar.left-menu {
 +
width: 100%;
}
}
 +
#menubar.right-menu {
#menubar.right-menu {
-
    background-color: #494D51;
+
text-align: right;
-
    border-bottom: 1px solid black;
+
-
    right: auto;
+
-
    text-align: right;
+
-
    width: 977px;
+
-
    z-index: 7;
+
}
}
-
#menubar.left-menu {
+
 
-
    left: auto;
+
#menubar * {
-
    text-align: left;
+
color: transparent !important;
-
    width: auto;
+
background: transparent !important;
-
    z-index: 9;
+
}
}
-
#p-logo {
+
 
-
    display: none;
+
#top-section:hover #menubar * {
 +
color: grey !important;
}
}
-
#search-controls {
+
 
-
    background: none repeat scroll 0 0 transparent;
+
#top-section:hover #menubar.left-menu {
-
    border: 0 none;
+
background: rgba(255, 255, 255, 0.75) !important;
-
    display: block;
+
-
    height: auto;
+
-
    margin: 0;
+
-
    overflow: visible;
+
-
    position: fixed;
+
-
    right: auto;
+
-
    text-align: right;
+
-
    top: 24px;
+
-
    width: 975px;
+
}
}
-
#searchInput {
+
 
-
    border: 0 none;
+
 
-
    color: #555555;
+
html {
-
    font-size: 85%;
+
     
-
    padding-left: 2px;
+
 
-
    padding-right: 2px;
+
width:100%;
-
    width: 100px;
+
height:100%;
 +
background:transparent;
 +
border:none;
 +
margin:0;
 +
 
}
}
-
#searchform {
+
 
-
    margin: 1px;
+
 
 +
body {
 +
width:100%;
 +
height:100%;
 +
background:url("https://static.igem.org/mediawiki/2013/3/32/BackroundDelft.jpg");
 +
        background-repeat:no-repeat;
 +
        background-size: 100% 100%;
 +
        background-size: auto, cover;
 +
        background-position:absolute;
 +
border:none;
 +
padding-top:20px;
 +
        padding-right:0px;
 +
        padding-bottom:20px;
 +
        padding-left:0px;
 +
        font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
 +
        font-size: small;
 +
z-index:800;
}
}
-
input.searchButton {
+
#contentbox {
-
    color: #FFFFFF;
+
width: 85%;
-
    cursor: pointer;
+
position: relative;  
-
    font-size: 80%;
+
background:white;
-
    font-weight: normal;
+
width:850px;
-
    margin: 0;
+
margin: -10px auto 0 auto;
-
    padding-left: 2px;
+
padding:20px 50px 50px 25px;
-
    padding-right: 2px;
+
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
.editsection {
+
 
-
    color: #555555;
+
#contentboxnew {
-
    font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
 
-
    font-size: 12.5px;
+
background:white;
-
    font-weight: normal;
+
width:800px;
-
    text-decoration: none;
+
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
.editsection a {
+
 
-
    color: #555555;
+
#contentboxnew1 {
 +
 
 +
background:white;
 +
width:800px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
.editsection a:hover {
+
 
-
    color: #000000;
+
table#tbtext
 +
{  
 +
width:400px;
 +
font-weight:400;
 +
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
font-size: 10px;
 +
text-align: left;
 +
padding-left: 3px;
 +
text-align: justify;
 +
}
 +
 
 +
 
 +
#frog {
 +
position:absolute;
 +
top:350px; left:-260px;
}
}
-
.editsection a:visited {
+
 
-
    color: #555555;
+
#logo {
 +
position:absolute;
 +
top:20px; left:-150px;
}
}
-
.editsection a:active {
+
 
-
     color: #555555;
+
/* HERE CHANGE THE HEADER */
 +
 
 +
#header{
 +
        background:url("https://static.igem.org/mediawiki/2013/9/97/Horizontal-banner-2.jpg");
 +
background-repeat:no-repeat;
 +
background-position: left bottom;
 +
 
 +
background-size: 100% 100%;
 +
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
 +
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* for the Safari browser */
 +
width: 100%;
 +
height: 150px; 
 +
    /*border-top: 1px solid #660000;
 +
     border-bottom: 1px solid #660000;*/
}
}
-
div.thumb, div.tright, div.tleft, div.center {
+
 
-
    background: none repeat scroll 0 0 transparent;
+
#fb-like-box {
-
    border: 0 none;
+
position:absolute;
-
    margin: 3px;
+
top:160px; right:-265px;
-
    text-align: justify;
+
}
}
-
div.thumbinner div.thumbcaption {
+
 
-
    text-align: justify;
+
#counter {                   /* Add it with zero botom and zero left in order to fix it later */
 +
  position:absolute;
 +
  top:800px; right:-227px;
 +
 
 +
  }
 +
#counter2{
 +
    position:absolute;
 +
    top:800px; right:-187px;
}
}
-
a[name] {
+
 
-
    display: block;
+
 
-
    position: relative;
+
#menu, #menu ul {
-
    top: -225px;
+
margin: 0;
 +
padding: 0;
 +
list-style: none;
 +
       
}
}
-
#toctable .toclevel-1 {
+
 
-
    float: left;
+
#menu {
-
    list-style-type: none;
+
width: 100%;
-
    margin-left: 0;
+
      padding-top:6px;
-
    margin-right: 20px;
+
      padding-bottom:6px;
 +
border: 1px solid #222;
 +
background-color: #111;
 +
background-image: linear-gradient(#444, #111);
 +
border-radius: 6px;
 +
box-shadow: 0 1px 1px #777;
 +
margin-top: 0px;
 +
margin-right:0px;
}
}
-
.wiki_div .toclevel-1 {
+
#menu:before,
-
    float: left;
+
#menu:after {
-
    list-style-type: none;
+
content: "";
-
    margin-left: 0;
+
display: table;
-
    margin-right: 20px;
+
-
    width: 30%;
+
}
}
-
#toctitle {
+
 
-
    display: none;
+
#menu:after {
 +
clear: both;
}
}
-
#toc {
+
 
-
    background: none repeat scroll 0 0 transparent;
+
#menu {
-
    border: 0 none;
+
zoom:1;
-
    padding: 0;
+
}
}
-
#toc ul {
+
#menu li {
-
    margin: 0;
+
float: left;
 +
border-right: 1px solid #222;
 +
box-shadow: 1px 0 0 #444;
 +
position: relative;
 +
 
}
}
-
#toctable p {
+
 
-
    margin: 0;
+
#menu a {
 +
 
 +
padding-top:10px;
 +
padding-bottom:10px;
 +
padding-right:12px;
 +
padding-left:12px;
 +
width:100%;
 +
/*float: left;*/
 +
width: 100px;
 +
 
 +
color: #999;
 +
text-transform: uppercase;
 +
font: bold 11px Arial, Helvetica;
 +
text-decoration: none;
 +
text-shadow: 0 1px 0 #000;
}
}
-
.toclevel-1 a span {
+
 
-
    color: #000000;
+
#menu li:hover > a {
-
    font-size: 13px;
+
background-color: #0186ba;
-
    font-weight: bold;
+
background-image: linear-gradient(#04acec, #0186ba);
-
    text-decoration: none;
+
color: #fafafa;
 +
 
}
}
-
.toclevel-1 a:active span {
+
 
-
    color: #000000;
+
 
-
    font-size: 13px;
+
 
-
    font-weight: bold;
+
 
-
    text-decoration: none;
+
*html #menu li a:hover { /* IE6 only */
 +
 
 +
color: #fafafa;
}
}
-
.toclevel-1 a:hover span {
+
</style>
-
    color: #000000;
+
<style>
-
    font-size: 13px;
+
#menu ul {
-
    font-weight: bold;
+
margin: 20px 0 0 0;
-
    text-decoration: underline;
+
_margin: 0; /*IE6 only*/
 +
opacity: 0;
 +
visibility: hidden;
 +
position: absolute;
 +
top: 28px;
 +
left: 0;
 +
z-index: 1;   
 +
background: #444;
 +
background: linear-gradient(#444, #111);
 +
box-shadow: 0 -1px 0 rgba(255,255,255,.3);
 +
border-radius: 4px;
 +
      transition: all .10s ease-in-out;
 +
 
}
}
-
.toclevel-2 {
+
 
-
    display: none;
+
 
 +
#menu li:hover > ul {
 +
opacity: 1;
 +
visibility: visible;
 +
margin: 0;
}
}
-
.toclevel-3 {
+
 
-
    display: none;
+
#menu ul ul {
 +
top: 0;
 +
left: 150px;
 +
margin: 0 0 0 20px;
 +
_margin: 0; /*IE6 only*/
 +
box-shadow: -1px 0 0 rgba(255,255,255,.3);
}
}
-
.tocnumber {
+
 
-
    display: none;
+
#menu ul li {
 +
float: none;
 +
display: block;
 +
border: 0;
 +
_line-height: 0; /*IE6 only*/
 +
box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}
}
-
p.trigger {
+
 
-
    background-image: url("https://static.igem.org/mediawiki/2010/1/10/Team_TU_Munich2010_Images_Arrow_small.jpg");
+
#menu ul li:last-child { 
-
    background-position: left center;
+
box-shadow: none;  
-
    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");
+
#menu ul a {  
-
    background-position: left center;
+
-
    background-repeat: no-repeat;
+
padding: 10px;
-
    padding-left: 17px;
+
width: 180px;
 +
_height: 10px; /*IE6 only*/
 +
display: block;
 +
white-space: nowrap;
 +
float: none;
 +
text-transform: none;
}
}
-
a.toggle_close {
+
 
-
    background-image: url("https://static.igem.org/mediawiki/2010/5/5d/Team_TU_Munich2010_Images_Cross_small.jpg");
+
#menu ul a:hover {
-
    background-position: left center;
+
background-color: #0186ba;
-
    background-repeat: no-repeat;
+
background-image: linear-gradient(#04acec, #0186ba);
-
    float: left;
+
 
-
    padding-left: 17px;
+
-
    text-align: left;
+
}
}
-
div.toggle_container {
+
 
-
     border-left: 1px solid #4E9D20;
+
#content {
-
     margin-bottom: 25px;
+
     background-color: white;
-
     margin-left: 5px;
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
-
     padding-left: 7px;
+
  /*  border: 1px solid black;*/
 +
     margin-bottom: 10px;
 +
     padding: 0 0 20px;*/
 +
     width: 100%;
}
}
 +
 +
#content1 {
 +
 +
position: absolute;
 +
    top: 0px;
 +
    right: 0px;
 +
}
 +
 +
#box {
 +
border: 1px solid #888;
 +
padding: 0px;
 +
margin-bottom: 10px;
 +
        margin-left:40px;
 +
        margin-right:40px;
 +
        margin: 0 auto; 
 +
-moz-border-radius: 10px;
 +
border-radius: 10px;
 +
-moz-box-shadow: 0 0 8px #888;
 +
-webkit-box-shadow: 0 0 8px #888;
 +
box-shadow: 0 0 8px #888;
 +
        width:50%;
 +
}
 +
 +
 +
 +
</style>
</style>
</html>
</html>

Latest revision as of 08:44, 2 October 2013