Team:TU-Delft/Templates/Style

From 2013.igem.org

(Difference between revisions)
 
(813 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
-
input.searchButton {
+
@charset "UTF-8";
-
    background: none repeat scroll 0 0 transparent;
+
 
-
    border: medium none;
+
#searchInput {
-
    color: #333333;
+
display:none;
-
    font-size: 100%;
+
-
    font-weight: bold;
+
-
    margin: 1px 10px 0;
+
}
}
-
#search-controls {
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
-
     background: none repeat scroll 0 0 transparent;
+
     display:none;}
-
     display: block;
+
#top-section {
-
     margin-top: 40px;
+
     border: none;
-
     position: absolute;
+
     height: 0px;}
 +
#content {
 +
     border: none;}
 +
#top-section{
 +
  height: 20px !important;
 +
  border: none !important;
 +
  border-top: none;
}
}
-
.left-menu {
+
#menubar {
-
    border: medium none;
+
display: table-cell;
-
    margin-top: -75px;
+
background: transparent;
-
    width: 300px;
+
}
}
-
.left-menu ul {
+
 
-
    border: medium none;
+
#menubar.left-menu {
-
}
+
width: 100%;
-
#searchform {
+
-
    background: none repeat scroll 0 0 transparent;
+
-
    display: block;
+
-
    float: right;
+
}
}
 +
#menubar.right-menu {
#menubar.right-menu {
-
    border: medium none;
+
text-align: right;
-
    display: block;
+
-
    float: left;
+
-
    margin-top: -75px;
+
-
    width: 300px;
+
}
}
-
.right-menu ul {
+
 
-
    border: medium none;
+
#menubar * {
 +
color: transparent !important;
 +
background: transparent !important;
}
}
-
#top-section {
+
 
-
    border: medium none;
+
#top-section:hover #menubar * {
-
    height: 0;
+
color: grey !important;
-
    margin-bottom: 0;
+
-
    margin-left: auto;
+
-
    margin-top: 0;
+
-
    padding: 0;
+
-
    position: relative;
+
-
    width: 970px;
+
}
}
-
#p-logo {
+
 
-
    border: medium none;
+
#top-section:hover #menubar.left-menu {
-
    display: none;
+
background: rgba(255, 255, 255, 0.75) !important;
-
    height: 0;
+
-
    overflow: hidden;
+
-
}
+
-
#footer-box {
+
-
    border: 1px solid #444444;
+
-
    font-size: 11px;
+
-
    margin-left: auto;
+
-
    margin-right: auto;
+
-
    padding: 0;
+
-
    width: 970px;
+
}
}
-
.firstHeading {
+
 
-
    display: none;
+
 
-
}
+
html {
-
ol.references {
+
     
-
    font-size: smaller;
+
 
-
    text-align: left;
+
width:100%;
-
}
+
height:100%;
-
ul.references {
+
background:transparent;
-
    font-size: smaller;
+
border:none;
-
    text-align: left;
+
margin:0;
-
}
+
 
-
p {
+
-
    display: none;
+
-
    margin: 0;
+
-
}
+
-
.editsection {
+
-
    font-size: 100%;
+
-
    font-weight: normal;
+
-
}
+
-
ol.references > li:target {
+
-
    background-color: #DDEEFF;
+
-
}
+
-
#toc {
+
-
    display: none;
+
-
}
+
-
h1 {
+
-
    font-size: 160%;
+
}
}
 +
 +
body {
body {
-
    background: #ADD8E6 url("https://static.igem.org/mediawiki/2013/d/d7/Im04.gif") left no-repeat fixed;
+
width:100%;
-
    color: #333333;
+
height:100%;
-
    font-family: Verdana,Arial,Helvetica,sans-serif;
+
background:url("https://static.igem.org/mediawiki/2013/3/32/BackroundDelft.jpg");
-
    text-align: justify;
+
        background-repeat:no-repeat;
-
    width: auto;
+
        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;
}
}
-
h1, h2, h3, h4, h5, h6 {
+
#contentbox {
-
    color: #000000;
+
width: 85%;
-
    font-family: Georgia,"Times New Roman",Times,serif;
+
position: relative;
 +
background:white;
 +
width:850px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 25px;
 +
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
a {
+
 
-
    color: #484848;
+
#contentboxnew {
-
    font-weight: bold;
+
 
-
    text-decoration: none;
+
background:white;
 +
width:800px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
a:visited {
+
 
-
    color: #303030;
+
#contentboxnew1 {
-
    font-weight: bold;
+
 
-
    text-decoration: none;
+
background:white;
 +
width:800px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
a:hover {
+
 
-
    color: #484848;
+
table#tbtext
-
    text-decoration: underline;
+
{  
 +
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;
}
}
-
#header {
+
 
-
    background: url("https://static.igem.org/mediawiki/2013/2/2d/HeaderDelft.png") repeat scroll 0 0 #FFFBFD;
+
#logo {
-
    border-top: 1px solid #444444;
+
position:absolute;
-
    height: 140px;
+
top:20px; left:-150px;
-
    width: 970px;
+
}
}
-
#header h1 {
+
 
-
    color: #3399FF;
+
/* HERE CHANGE THE HEADER */
-
    font-size: 3em;
+
 
-
    margin: 0;
+
#header{
-
     padding: 0 0 0 10px;
+
        background:url("https://static.igem.org/mediawiki/2013/9/97/Horizontal-banner-2.jpg");
-
     text-align: left;
+
background-repeat:no-repeat;
-
     text-transform: uppercase;
+
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;*/
}
}
-
#header h2 {
+
 
-
    font-size: 1.5em;
+
#fb-like-box {
-
    margin: 0;
+
position:absolute;
-
    padding: 0 0 0 20px;
+
top:160px; right:-265px;
-
    text-align: left;
+
-
    text-transform: uppercase;
+
}
}
-
#logo_left .plainlinks a {
+
 
-
    background: none repeat scroll 0 0 transparent;
+
#counter {                   /* Add it with zero botom and zero left in order to fix it later */
-
    height: 80px;
+
  position:absolute;
-
    left: 45px;
+
  top:800px; right:-227px;
-
    padding: 0;
+
 
-
     position: absolute;
+
  }
-
    text-decoration: none;
+
#counter2{
-
     top: 32px;
+
     position:absolute;
-
    width: 240px;
+
     top:800px; right:-187px;
-
    z-index: 100;
+
}
}
 +
 +
 +
#menu, #menu ul {
 +
margin: 0;
 +
padding: 0;
 +
list-style: none;
 +
       
 +
}
 +
#menu {
#menu {
-
width: 960px;
+
width: 100%;
-
margin: 60px auto;
+
      padding-top:6px;
 +
      padding-bottom:6px;
border: 1px solid #222;
border: 1px solid #222;
background-color: #111;
background-color: #111;
Line 155: Line 181:
border-radius: 6px;
border-radius: 6px;
box-shadow: 0 1px 1px #777;
box-shadow: 0 1px 1px #777;
 +
margin-top: 0px;
 +
margin-right:0px;
}
}
#menu:before,
#menu:before,
Line 174: Line 202:
box-shadow: 1px 0 0 #444;
box-shadow: 1px 0 0 #444;
position: relative;
position: relative;
 +
 
}
}
#menu a {
#menu a {
-
float: left;
+
 
-
padding: 12px 17px;
+
padding-top:10px;
 +
padding-bottom:10px;
 +
padding-right:12px;
 +
padding-left:12px;
 +
width:100%;
 +
/*float: left;*/
 +
width: 100px;
 +
 
color: #999;
color: #999;
text-transform: uppercase;
text-transform: uppercase;
-
font: bold 10px Arial, Helvetica;
+
font: bold 11px Arial, Helvetica;
text-decoration: none;
text-decoration: none;
text-shadow: 0 1px 0 #000;
text-shadow: 0 1px 0 #000;
Line 187: Line 223:
#menu li:hover > a {
#menu li:hover > a {
 +
background-color: #0186ba;
 +
background-image: linear-gradient(#04acec, #0186ba);
color: #fafafa;
color: #fafafa;
 +
}
}
 +
 +
 +
*html #menu li a:hover { /* IE6 only */
*html #menu li a:hover { /* IE6 only */
 +
color: #fafafa;
color: #fafafa;
}
}
-
 
+
</style>
 +
<style>
#menu ul {
#menu ul {
margin: 20px 0 0 0;
margin: 20px 0 0 0;
Line 200: Line 244:
visibility: hidden;
visibility: hidden;
position: absolute;
position: absolute;
-
top: 38px;
+
top: 28px;
left: 0;
left: 0;
z-index: 1;     
z-index: 1;     
Line 206: Line 250:
background: linear-gradient(#444, #111);
background: linear-gradient(#444, #111);
box-shadow: 0 -1px 0 rgba(255,255,255,.3);
box-shadow: 0 -1px 0 rgba(255,255,255,.3);
-
border-radius: 3px;
+
border-radius: 4px;
-
transition: all .2s ease-in-out;   
+
      transition: all .10s ease-in-out;   
 +
 
}
}
 +
#menu li:hover > ul {
#menu li:hover > ul {
Line 236: Line 282:
}
}
-
#menu ul a {  
+
#menu ul a {  
 +
padding: 10px;
padding: 10px;
-
width: 130px;
+
width: 180px;
_height: 10px; /*IE6 only*/
_height: 10px; /*IE6 only*/
display: block;
display: block;
Line 249: Line 296:
background-color: #0186ba;
background-color: #0186ba;
background-image: linear-gradient(#04acec, #0186ba);
background-image: linear-gradient(#04acec, #0186ba);
 +
}
}
#content {
#content {
-
     font-size: 13px;
+
     background-color: white;
-
     margin: 0 auto;
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
-
     padding: 0;
+
  /*  border: 1px solid black;*/
-
     width: 970px;
+
     margin-bottom: 10px;
 +
     padding: 0 0 20px;*/
 +
     width: 100%;
}
}
-
#content h2, #content h3, #content h4, #content h5, #content h6 {
+
 
-
     font-weight: normal;
+
#content1 {
 +
 
 +
position: absolute;
 +
    top: 0px;
 +
     right: 0px;
}
}
-
#content p, #content ul, #content ol {
+
 
-
    line-height: 150%;
+
#box {
-
}
+
border: 1px solid #888;
-
#page p {
+
padding: 0px;
-
    display: block;
+
margin-bottom: 10px;
-
}
+
        margin-left:40px;
-
#frame {
+
        margin-right:40px;
-
    background: none repeat scroll 0 0 #FFFFFF;
+
        margin: 0 auto;  
-
    float: left;
+
-moz-border-radius: 10px;
-
    padding: 20px 29px 40px;
+
border-radius: 10px;
-
    width: 910px;
+
-moz-box-shadow: 0 0 8px #888;
-
}
+
-webkit-box-shadow: 0 0 8px #888;
-
.leftcolumn {
+
box-shadow: 0 0 8px #888;
-
    display: inline;
+
        width:50%;
-
    float: left;
+
-
    margin: 0 10px 10px 20px;
+
-
    width: 80px;
+
-
}
+
-
.rightcolumn {
+
-
    display: inline;
+
-
    float: right;
+
-
    margin: 0 10px 10px 20px;
+
-
    text-align: justify;
+
-
    width: 630px;
+
-
}
+
-
.spacer {
+
-
    clear: both;
+
}
}
 +
 +
 +
</style>
</style>
</html>
</html>

Latest revision as of 08:44, 2 October 2013