Team:TU-Delft/Templates/Style

From 2013.igem.org

(Difference between revisions)
 
(808 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;
+
#searchInput {
-
    text-align: center;
+
display:none;
}
}
-
 
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
-
/* Removing wiki-like stuff */
+
-
/****************************/
+
-
/*#contentSub, #search-controls,*/ .firstHeading, /* #footer-box, #catlinks,*/ #p-logo {
+
     display:none;}
     display:none;}
-
 
-
/* Redesigning the topmenu */
 
-
/***************************/
 
-
 
#top-section {
#top-section {
-
     border: 0 none;
+
     border: none;
-
     height: 30px;
+
     height: 0px;}
 +
#content {
 +
    border: none;}
 +
#top-section{
 +
  height: 20px !important;
 +
  border: none !important;
 +
  border-top: none;
}
}
#menubar {
#menubar {
-
    border: medium none;
+
display: table-cell;
-
    float: left;
+
background: transparent;
-
    font-size: 85%;
+
-
    height: 18px;
+
-
    position: top;
+
-
    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;
+
}
}
-
/* Layout */
 
-
/**********/
 
-
body {
 
-
background: #ADD8E6 url("https://static.igem.org/mediawiki/2013/d/d7/Im04.gif") left no-repeat fixed;
 
-
width: auto;
+
#top-section:hover #menubar * {
-
text-align: justify;
+
color: grey !important;
-
font-family: Verdana, Arial, Helvetica, sans-serif;
+
-
color: #333333;
+
}
}
-
h1, h2, h3, h4, h5, h6 {
+
#top-section:hover #menubar.left-menu {
-
font-family: Georgia, "Times New Roman", Times, serif;
+
background: rgba(255, 255, 255, 0.75) !important;
-
color: #000000;
+
}
}
-
a {
+
 
-
font-weight: bold;
+
html {
-
text-decoration: none;
+
     
-
color: #484848 ;
+
 
 +
width:100%;
 +
height:100%;
 +
background:transparent;
 +
border:none;
 +
margin:0;
 +
 
}
}
-
a:visited {
+
 
-
font-weight: bold;
+
body {
-
text-decoration: none;
+
width:100%;
-
color: #303030;
+
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;
 +
}
 +
#contentbox {
 +
width: 85%;
 +
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:hover {
+
#contentboxnew {
-
text-decoration: underline;
+
 
-
color: #484848 ;
+
background:white;
 +
width:800px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
/*------HEADER---------*/
+
#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;
 +
}
 +
 
 +
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;
 +
}
-
#header {
 
-
width: 970px;
 
-
border-top: 1px solid #444444;
 
-
height: 140px;
 
-
    background: url("https://static.igem.org/mediawiki/2010/0/03/Bannière_last-01.jpg") repeat scroll 0 0 #FFFBFD;
 
 +
#frog {
 +
position:absolute;
 +
top:350px; left:-260px;
}
}
-
#header h1 {
+
#logo {
-
margin: 0px;
+
position:absolute;
-
padding: 0px 0px 0px 10px;
+
top:20px; left:-150px;
-
text-align: left;
+
-
color: #3399FF;
+
-
font-size: 3em;
+
-
text-transform: uppercase;
+
}
}
-
#header h2 {
+
/* HERE CHANGE THE HEADER */
-
margin: 0px;
+
 
-
padding: 0px 0px 0px 20px;
+
#header{
-
text-align: left;
+
        background:url("https://static.igem.org/mediawiki/2013/9/97/Horizontal-banner-2.jpg");
-
font-size: 1.5em;
+
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;*/
}
}
-
#logo_left .plainlinks a {
+
#fb-like-box {
-
    width: 240px;
+
position:absolute;
-
    height: 80px;
+
top:160px; right:-265px;
-
    z-index: 100;
+
-
    position: absolute;
+
-
    top: 32px;
+
-
    left: 45px;
+
-
    text-decoration: none;
+
-
    background: transparent;
+
-
    padding: 0;
+
}
}
 +
#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;
 +
}
Line 122: Line 169:
padding: 0;
padding: 0;
list-style: none;
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 132: 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 151: 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 164: 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;
}
}
Line 178: 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 184: 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 214: 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 227: Line 296:
background-color: #0186ba;
background-color: #0186ba;
background-image: linear-gradient(#04acec, #0186ba);
background-image: linear-gradient(#04acec, #0186ba);
 +
}
}
 +
 +
#content {
 +
    background-color: white;
 +
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
 +
  /*  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