Team:TU-Delft/Templates/Style

From 2013.igem.org

(Difference between revisions)
 
(804 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<style>
+
<style type="text/css">
 +
@charset "UTF-8";
-
 
+
#searchInput {
-
/* Removing wiki-like stuff */
+
display:none;
-
/****************************/
+
}
-
/*#contentSub, #search-controls,*/ .firstHeading, /* #footer-box, #catlinks,*/ #p-logo {
+
#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: 976px;
+
-
    z-index: 7;
+
}
}
-
#menubar.left-menu {
+
 
-
    left: auto;
+
#menubar * {
-
    text-align: left;
+
color: transparent !important;
-
    width: auto;
+
background: transparent !important;
-
    z-index: 9;
+
}
}
-
/* Layout */
+
 
-
/**********/
+
#top-section:hover #menubar * {
-
body {
+
color: grey !important;
-
background-color: background: #ADD8E6 url("https://static.igem.org/mediawiki/2013/d/d7/Im04.gif") left no-repeat fixed;
+
-
color:#000000;
+
-
font-family: Verdana, Arial, Helvetica, sans-serif;
+
-
font-size: 12px;
+
-
margin: 30px 30px;
+
-
padding: 0px;
+
}
}
-
.clear{clear:both;}
+
 
-
* {
+
#top-section:hover #menubar.left-menu {
-
margin: 0px;
+
background: rgba(255, 255, 255, 0.75) !important;
-
padding: 0px;
+
}
}
-
#container {
+
 
-
margin: 0px auto;
+
 
-
text-align: left;
+
html {
-
width: 717px;
+
     
 +
 
 +
width:100%;
 +
height:100%;
 +
background:transparent;
 +
border:none;
 +
margin:0;
 +
 
}
}
-
a{
+
 
-
font-size:12px;
+
 
 +
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;
}
}
-
p{
+
#contentbox {
-
margin: 15px 0px;
+
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;
}
}
-
ul { margin:5px 0px; color:#85a157;}
+
 
-
/********************** Header ***************************/
+
#contentboxnew {
-
#header {
+
 
-
margin: 0px 0px 0px 0px;
+
background:white;
-
background-image:url(images/header.jpg);
+
width:800px;
-
width:717px;
+
margin: -10px auto 0 auto;
-
height:288px;
+
padding:20px 50px 50px 50px;
-
position:relative;
+
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
}
}
-
#header ul{
+
 
-
background-color:#85a157;
+
#contentboxnew1 {
-
width:711px;
+
 
-
border: 3px solid #FFFFFF;
+
background:white;
-
display:block;
+
width:800px;
-
top:255px;
+
margin: -10px auto 0 auto;
-
position:absolute;
+
padding:20px 50px 50px 50px;
-
margin: 0px 0px 0px 0px;
+
float: left;
-
height:22px;
+
text-decoration:none;
-
padding:5px 0px 0px 0px;
+
border:none;
-
text-align:center;
+
z-index:800;
}
}
-
#header li{
+
 
-
display:inline;
+
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;
}
}
-
#header ul a{
+
 
-
text-decoration:none;
+
#logo {
-
color:#FFFFFF;
+
position:absolute;
-
margin: 0px 15px;
+
top:20px; left:-150px;
}
}
-
#header ul a:hover{
+
 
-
text-decoration:underline;
+
/* HERE CHANGE THE HEADER */
-
color:#28556b;
+
 
 +
#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;*/
}
}
-
#logo_w1,#logo_w2 {
+
 
-
font-size: 24px;
+
#fb-like-box {
-
font-style:italic;
+
position:absolute;
-
color:#FFFFFF;
+
top:160px; right:-265px;
-
position:absolute;
+
}
}
-
#logo_w1{
+
 
-
    font-size: 30px;
+
#counter {                   /* Add it with zero botom and zero left in order to fix it later */
-
top: 10px;
+
  position:absolute;
-
left:10px;
+
  top:800px; right:-227px;
 +
 
 +
  }
 +
#counter2{
 +
    position:absolute;
 +
    top:800px; right:-187px;
}
}
-
#logo_w2{
+
 
-
top:25px;
+
 
-
left:540px;
+
#menu, #menu ul {
 +
margin: 0;
 +
padding: 0;
 +
list-style: none;
 +
       
}
}
-
#header_text {
+
 
-
top:35px;
+
#menu {
-
left:10px;
+
width: 100%;
-
width:230px;
+
      padding-top:6px;
-
position:absolute;
+
      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;
}
}
-
#header_text p{
+
#menu:before,
-
font-size: 18px;
+
#menu:after {
-
color:#FFFFFF;
+
content: "";
 +
display: table;
}
}
-
#header_text a{color:#28556b;}
+
 
-
#header_text a:hover{color:#c77e0c;}
+
#menu:after {
-
/********************** Content ***************************/
+
clear: both;
-
#content {
+
-
background-image:url(images/content_bg.gif);
+
-
width:717px;
+
}
}
-
img{
+
 
-
border-width:0px;
+
#menu {
 +
zoom:1;
}
}
-
h1{
+
#menu li {
-
color:#000000;
+
float: left;
-
font-size:14px;
+
border-right: 1px solid #222;
-
margin: 20px 0px 20px 0px;
+
box-shadow: 1px 0 0 #444;
 +
position: relative;
 +
 
}
}
-
h2{
+
#menu a {
-
color:#85a157;
+
 
-
font-size:14px;
+
padding-top:10px;
-
text-align:left;
+
padding-bottom:10px;
-
margin: 10px 0px 10px 0px;
+
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;
}
}
-
h3{
+
 
-
color:#222;
+
#menu li:hover > a {
-
font-size:12px;
+
background-color: #0186ba;
-
text-align:left;
+
background-image: linear-gradient(#04acec, #0186ba);
-
font-weight:bold;
+
color: #fafafa;
-
+
 
}
}
-
.event {
+
 
-
background-color:#efefef;
+
 
-
border:1px dotted #85a157;
+
 
-
padding:10px;
+
 
-
margin:3px;
+
*html #menu li a:hover { /* IE6 only */
 +
 
 +
color: #fafafa;
}
}
-
div.hour {
+
</style>
-
text-align:right;
+
<style>
-
font-size:12px;
+
#menu ul {
-
border-bottom:1px solid #85a157;
+
margin: 20px 0 0 0;
 +
_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; 
 +
 
}
}
-
.path {
+
 
-
text-align:left;
+
 
-
padding:5px 25px;
+
#menu li:hover > ul {
-
font-size:11px;
+
opacity: 1;
-
border:1px solid #efefef;
+
visibility: visible;
 +
margin: 0;
}
}
-
.path a {color:#85a157; font-size:11px;}
+
 
-
.path a:hover {color:#c77e0c; font-size:11px;}
+
#menu ul ul {
-
#left {
+
top: 0;
-
float:left;
+
left: 150px;
-
width:428px;
+
margin: 0 0 0 20px;
-
margin-left:27px;
+
_margin: 0; /*IE6 only*/
-
padding: 0px 10px 30px 0px;
+
box-shadow: -1px 0 0 rgba(255,255,255,.3);
-
display:inline;
+
}
}
-
#left a{color:#28556b;}
+
 
-
#left a:hover{color:#c77e0c;}
+
#menu ul li {
-
#photos a{
+
float: none;
-
margin-right:14px;
+
display: block;
 +
border: 0;
 +
_line-height: 0; /*IE6 only*/
 +
box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}
}
-
#right {
 
-
float:right;
 
-
width:210px;
 
-
padding: 0px 20px 20px 20px;
 
-
margin-top:10px;
 
-
border-left: #FFF 2px solid;
 
 +
#menu ul li:last-child { 
 +
box-shadow: none;   
}
}
-
#right a{
+
 
-
color:#c77e0c;
+
#menu ul a {  
 +
 +
padding: 10px;
 +
width: 180px;
 +
_height: 10px; /*IE6 only*/
 +
display: block;
 +
white-space: nowrap;
 +
float: none;
 +
text-transform: none;
}
}
-
#right a:hover{
+
 
-
color:#85a157;
+
#menu ul a:hover {
 +
background-color: #0186ba;
 +
background-image: linear-gradient(#04acec, #0186ba);
 +
 
}
}
-
/********************** Footer ***************************/
+
 
-
#footerline {
+
#content {
-
clear:both;
+
    background-color: white;
-
background-image:url(images/footer_bg.gif);
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
-
font-size:1px;
+
  /*  border: 1px solid black;*/
-
height:10px;
+
    margin-bottom: 10px;
 +
    padding: 0 0 20px;*/
 +
    width: 100%;
}
}
-
#footer {
+
 
-
width:717px;
+
#content1 {
-
text-align:center;
+
 
-
padding: 20px 0px;
+
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