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 { ...")
 
(861 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<style>
+
<style type="text/css">
-
body {
+
@charset "UTF-8";
-
    background-color: #494D51;
+
 
-
    font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
#searchInput {
-
    text-align: center;
+
display:none;
-
}
+
-
.firstHeading {
+
-
    display: none;
+
-
}
+
-
#globalWrapper {
+
-
    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 {
+
#menubar {
-
    margin: 0;
+
display: table-cell;
 +
background: transparent;
}
}
-
#footer-box {
+
 
-
    background-color: #D8D5D0;
+
#menubar.left-menu {
 +
width: 100%;
}
}
-
p {
+
 
-
    text-align: justify;
+
#menubar.right-menu {
 +
text-align: right;
}
}
-
.bordertable td {
+
 
-
    background-color: #FFFFFF;
+
#menubar * {
-
    border-color: black;
+
color: transparent !important;
-
    border-style: solid;
+
background: transparent !important;
-
    border-width: 0 0 1px 1px;
+
-
    margin: 0;
+
}
}
-
.bordertable th {
+
 
-
    background-color: #D8D5D0;
+
#top-section:hover #menubar * {
-
    border-color: black;
+
color: grey !important;
-
    border-style: solid;
+
-
    border-width: 0 0 1px 1px;
+
-
    margin: 0;
+
}
}
-
.bordertable {
+
 
-
    border-color: black;
+
#top-section:hover #menubar.left-menu {
-
    border-spacing: 0;
+
background: rgba(255, 255, 255, 0.75) !important;
-
    border-style: solid;
+
-
    border-width: 2px 2px 1px 1px;
+
}
}
-
table {
+
 
-
    background: none repeat scroll 0 0 transparent;
+
 
 +
html {
 +
     
 +
 
 +
width:100%;
 +
height:100%;
 +
background:transparent;
 +
border:none;
 +
margin:0;
 +
 
}
}
-
.wiki_div {
+
 
-
    text-align: justify;
+
 
 +
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;
}
}
-
h2, h3, h4, h5, h6 {
+
#contentbox {
-
    border: 0 none;
+
width: 85%;
-
    font-weight: bold;
+
position: relative;
 +
background:white;
 +
width:850px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 25px;
 +
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
h1, h2, h3, h4, h5, h6 {
+
 
-
    font-family: Tahoma;
+
#contentboxnew {
-
    padding-bottom: 0;
+
 
-
    text-align: center;
+
background:white;
 +
width:800px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
h1 {
+
 
-
    font-size: 140%;
+
#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;
}
}
-
h2 {
+
 
-
    font-size: 115%;
+
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;
}
}
-
h3 {
+
 
-
    font-size: 110%;
+
#logo {
 +
position:absolute;
 +
top:20px; left:-150px;
}
}
-
h4 {
+
 
-
    font-size: 100%;
+
/* 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;*/
}
}
-
h5 {
+
 
-
    font-size: 95%;
+
#fb-like-box {
 +
position:absolute;
 +
top:160px; right:-265px;
}
}
-
a {
+
 
-
    color: #0065BD;
+
#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:active {
+
 
-
    color: #0065BD;
+
 
 +
#menu, #menu ul {
 +
margin: 0;
 +
padding: 0;
 +
list-style: none;
 +
       
}
}
-
a:visited {
+
 
-
    color: #0065BD;
+
#menu {
 +
width: 100%;
 +
      padding-top:6px;
 +
      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;
}
}
-
a:hover {
+
#menu:before,
-
    color: #0065BD;
+
#menu:after {
 +
content: "";
 +
display: table;
}
}
-
#top-section {
+
 
-
    border: 0 none;
+
#menu:after {
-
    height: 18px;
+
clear: both;
}
}
-
#menubar {
+
 
-
    border: medium none;
+
#menu {
-
    float: left;
+
zoom:1;
-
    font-size: 85%;
+
-
    height: 18px;
+
-
    position: fixed;
+
-
    top: 0;
+
}
}
-
#menubar li a {
+
#menu li {
-
    color: #868686;
+
float: left;
 +
border-right: 1px solid #222;
 +
box-shadow: 1px 0 0 #444;
 +
position: relative;
 +
 
}
}
-
#menubar.right-menu {
+
 
-
    background-color: #494D51;
+
#menu a {
-
    border-bottom: 1px solid black;
+
 
-
    right: auto;
+
padding-top:10px;
-
    text-align: right;
+
padding-bottom:10px;
-
    width: 977px;
+
padding-right:12px;
-
    z-index: 7;
+
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;
}
}
-
#menubar.left-menu {
+
 
-
    left: auto;
+
#menu li:hover > a {
-
    text-align: left;
+
background-color: #0186ba;
-
    width: auto;
+
background-image: linear-gradient(#04acec, #0186ba);
-
    z-index: 9;
+
color: #fafafa;
 +
 
}
}
-
#p-logo {
+
 
-
    display: none;
+
 
 +
 
 +
 
 +
*html #menu li a:hover { /* IE6 only */
 +
 
 +
color: #fafafa;
}
}
-
#search-controls {
+
</style>
-
    background: none repeat scroll 0 0 transparent;
+
<style>
-
    border: 0 none;
+
#menu ul {
-
    display: block;
+
margin: 20px 0 0 0;
-
    height: auto;
+
_margin: 0; /*IE6 only*/
-
    margin: 0;
+
opacity: 0;
-
    overflow: visible;
+
visibility: hidden;
-
    position: fixed;
+
position: absolute;
-
    right: auto;
+
top: 28px;
-
    text-align: right;
+
left: 0;
-
    top: 24px;
+
z-index: 1;  
-
    width: 975px;
+
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;
 +
 
}
}
-
#searchInput {
+
 
-
    border: 0 none;
+
 
-
    color: #555555;
+
#menu li:hover > ul {
-
    font-size: 85%;
+
opacity: 1;
-
    padding-left: 2px;
+
visibility: visible;
-
    padding-right: 2px;
+
margin: 0;
-
    width: 100px;
+
}
}
-
#searchform {
+
 
-
    margin: 1px;
+
#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);
}
}
-
input.searchButton {
+
 
-
    color: #FFFFFF;
+
#menu ul li {
-
    cursor: pointer;
+
float: none;
-
    font-size: 80%;
+
display: block;
-
    font-weight: normal;
+
border: 0;
-
    margin: 0;
+
_line-height: 0; /*IE6 only*/
-
    padding-left: 2px;
+
box-shadow: 0 1px 0 #111, 0 2px 0 #666;
-
    padding-right: 2px;
+
}
}
-
.editsection {
+
 
-
    color: #555555;
+
#menu ul li:last-child { 
-
    font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
+
box-shadow: none;  
-
    font-size: 12.5px;
+
-
    font-weight: normal;
+
-
    text-decoration: none;
+
}
}
-
.editsection a {
+
 
-
    color: #555555;
+
#menu ul a {  
 +
 +
padding: 10px;
 +
width: 180px;
 +
_height: 10px; /*IE6 only*/
 +
display: block;
 +
white-space: nowrap;
 +
float: none;
 +
text-transform: none;
}
}
-
.editsection a:hover {
+
 
-
    color: #000000;
+
#menu ul a:hover {
 +
background-color: #0186ba;
 +
background-image: linear-gradient(#04acec, #0186ba);
 +
 
}
}
-
.editsection a:visited {
+
 
-
    color: #555555;
+
#content {
-
}
+
     background-color: white;
-
.editsection a:active {
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
-
    color: #555555;
+
  /*  border: 1px solid black;*/
-
}
+
     margin-bottom: 10px;
-
div.thumb, div.tright, div.tleft, div.center {
+
     padding: 0 0 20px;*/
-
     background: none repeat scroll 0 0 transparent;
+
     width: 100%;
-
    border: 0 none;
+
-
    margin: 3px;
+
-
    text-align: justify;
+
-
}
+
-
div.thumbinner div.thumbcaption {
+
-
    text-align: justify;
+
-
}
+
-
a[name] {
+
-
    display: block;
+
-
    position: relative;
+
-
    top: -225px;
+
-
}
+
-
#toctable .toclevel-1 {
+
-
    float: left;
+
-
    list-style-type: none;
+
-
    margin-left: 0;
+
-
    margin-right: 20px;
+
-
}
+
-
.wiki_div .toclevel-1 {
+
-
    float: left;
+
-
    list-style-type: none;
+
-
    margin-left: 0;
+
-
    margin-right: 20px;
+
-
    width: 30%;
+
-
}
+
-
#toctitle {
+
-
    display: none;
+
-
}
+
-
#toc {
+
-
    background: none repeat scroll 0 0 transparent;
+
-
    border: 0 none;
+
-
    padding: 0;
+
-
}
+
-
#toc ul {
+
-
    margin: 0;
+
-
}
+
-
#toctable p {
+
-
    margin: 0;
+
-
}
+
-
.toclevel-1 a span {
+
-
    color: #000000;
+
-
    font-size: 13px;
+
-
    font-weight: bold;
+
-
    text-decoration: none;
+
-
}
+
-
.toclevel-1 a:active span {
+
-
    color: #000000;
+
-
    font-size: 13px;
+
-
    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");
+
#content1 {
-
    background-position: left center;
+
 
-
    background-repeat: no-repeat;
+
position: absolute;
-
    float: left;
+
     top: 0px;
-
     padding-left: 17px;
+
     right: 0px;
-
     text-align: left;
+
}
}
-
div.toggle_container {
+
 
-
    border-left: 1px solid #4E9D20;
+
#box {
-
    margin-bottom: 25px;
+
border: 1px solid #888;
-
    margin-left: 5px;
+
padding: 0px;
-
    padding-left: 7px;
+
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