Team:TU-Delft/CSSLaksh

From 2012.igem.org

(Difference between revisions)
 
(17 intermediate revisions not shown)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
@charset "UTF-8";
@charset "UTF-8";
-
/*CSS Document */
 
-
 
/*CSS Document */
/*CSS Document */
Line 26: Line 24:
}
}
-
/*CSS Document */
 
-
/* colors #2ab117; is the intense green that our background has
+
 
-
#357c24; is more dark green
+
 
-
#000000; is black
+
 
-
#ffffff; is white
+
 
-
#10143a; is the dark blue we had at first */
+
 
-
+
 
-
/* colors lab notebook */
+
 
-
.day-empty {
+
 
-
    color: red;
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
html {
 +
width:100%;
 +
height:100%;
 +
background:none;
 +
/*background-image:url('https://static.igem.org/mediawiki/igem.org/7/73/Backgroundextra.jpg');*/
 +
border:none;
 +
margin:0;
 +
padding:0;
}
}
-
.day-active {
+
 
-
    color: green;
+
 
 +
 
 +
.dropdown
 +
{
 +
color: #555;
 +
margin: 3px -22px 0 0;
 +
width: 143px;
 +
position: relative;
 +
height: 17px;
 +
text-align:left;
 +
}
 +
.submenu
 +
{
 +
background: #fff;
 +
position: absolute;
 +
top: -12px;
 +
left: -20px;
 +
z-index: 100;
 +
width: 135px;
 +
display: none;
 +
margin-left: 10px;
 +
padding: 40px 0 5px;
 +
border-radius: 6px;
 +
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
 +
}
 +
.dropdown li a
 +
{
 +
color: #555555;
 +
display: block;
 +
font-family: arial;
 +
font-weight: bold;
 +
padding: 6px 15px;
 +
cursor: pointer;
 +
text-decoration:none;
}
}
-
*{
+
.dropdown li a:hover
-
border:0;
+
{
-
margin:0;
+
background:#155FB0;
 +
color: #FFFFFF;
 +
text-decoration: none;
 +
}
 +
a.account
 +
{
 +
font-size: 11px;
 +
line-height: 16px;
 +
color: #555;
 +
position: absolute;
 +
z-index: 110;
 +
display: block;
 +
padding: 11px 0 0 20px;
 +
height: 28px;
 +
width: 121px;
 +
margin: -11px 0 0 -10px;
 +
text-decoration: none;
 +
background: url(icons/arrow.png) 116px 17px no-repeat;
 +
cursor:pointer;
 +
}
 +
.root
 +
{
 +
list-style:none;
 +
margin:0px;
 +
padding:0px;
 +
font-size: 11px;
 +
padding: 11px 0 0 0px;
 +
border-top:1px solid #dedede;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
body {
 +
width:100%;
 +
height:100%;
 +
/*background:#10143a;*/
 +
border:none;
padding:0;
padding:0;
 +
z-index:800;
 +
}
 +
 +
#contentboxnew {
 +
 +
background:white;
 +
width:800px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
 +
}
 +
 +
#contentboxnew1 {
 +
 +
background:white;
 +
width:1000px;
 +
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;
 +
}
 +
td#tdunderline{border-bottom: green solid thin;}
 +
 +
h1 {
 +
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
font-size:18px;
 +
text-transform:uppercase;
 +
letter-spacing:1px;
 +
/*border-bottom:2px solid #2ab117; */
 +
text-decoration:  none;
 +
color: #2ab117;
 +
}
 +
 +
 +
h2{
 +
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
font-size:16px;
 +
text-transform:uppercase;
 +
letter-spacing:1px;
 +
border-bottom:2px solid  #000000;
 +
text-decoration:  none;
 +
color:  #000000;
 +
}
 +
 +
h3{
 +
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
font-variant: small-caps;
 +
font-stretch: ultra-expanded;
 +
color:  #2ab117;
 +
font-size:12px;
 +
font-weight:bold;
 +
line-height:18px;
 +
letter-spacing:1px;
 +
}
 +
h6{
 +
color: #357c24;
 +
font-size:11px;
}
}
Line 59: Line 218:
color:#2ab117;
color:#2ab117;
}
}
 +
#content {
 +
background: #2ab117;
 +
padding:0;
 +
width:100%;
 +
border:0;
 +
}
 +
#bodyContent{
 +
margin:0 auto;
 +
padding:0;
 +
width:625px;
 +
border:0;
 +
background:white;
 +
z-index:800;
 +
}
 +
 +
#contentbox {
 +
background:white;
 +
width:590px;
 +
margin: -10px auto 0 auto;
 +
padding:20px 50px 50px 50px;
 +
float: left;
 +
text-decoration:none;
 +
border:none;
 +
z-index:800;
 +
}
 +
img.bg_team {
img.bg_team {
Line 111: Line 296:
       background-image:url('https://static.igem.org/mediawiki/2012/6/64/TUDelftLogo_igem_color.png');
       background-image:url('https://static.igem.org/mediawiki/2012/6/64/TUDelftLogo_igem_color.png');
}
}
 +
 +
#twitter_widget{
 +
position:fixed;
 +
width:155px;
 +
height:240px;
 +
background:white;
 +
padding:10px 0 0 0;
 +
bottom:90px;
 +
left:0px;
 +
z-index:1001;
 +
}
 +
 +
#social_linkall{
 +
position:fixed;
 +
bottom:48px;
 +
left:10px;
 +
width:120px;
 +
height:35px;
 +
z-index:1001;
 +
border:0;
 +
}
 +
 +
#social_icons{
 +
position:fixed;
 +
bottom:15px;
 +
left:20px;
 +
width:110px;
 +
height:24px;
 +
z-index:1001;
 +
}
 +
/*
 +
#video-container{
 +
position:relative;
 +
z-index:800;
 +
}
 +
*/
#nav { /*main menu css*/
#nav { /*main menu css*/
position:fixed;
position:fixed;
width:1300px;
width:1300px;
-
bottom:10px;
+
top:30px;
-
left:30%;
+
left:40%;
-
right:70%;
+
right:60%;
margin: 0 0 0 -330px;
margin: 0 0 0 -330px;
padding: 0;
padding: 0;
Line 126: Line 347:
letter-spacing:1px;
letter-spacing:1px;
text-transform:uppercase;
text-transform:uppercase;
-
}
 
-
#nav ul{
 
-
width: 630px;
 
-
background: white;
 
-
text-align:center;
 
-
margin: 0 auto;
 
-
}
 
-
#nav li.on ul, #nav li.off ul {
 
-
margin: 0;
 
-
padding: 0;
 
-
}
 
-
#nav a {
 
-
text-decoration: none;
 
-
}
 
-
#nav li { /*float the main list items*/
 
-
margin: 0;
 
-
float: left;
 
-
display: inline;
 
-
padding:0 3px;
 
-
background:white ;
 
-
text-align:center;
 
-
}
 
-
#nav li ul {
 
-
display: none;
 
 +
        height: 17px;
 +
        text-align:left;
}
}
-
#nav li.off ul, #nav li.on ul { /*put the subnav above*/
 
-
position:absolute;
 
-
/*width:1300px;*/
 
-
bottom:100%;
 
-
/*left:30px;
 
-
right:50%;*/
 
-
/*margin: 0 0 0 -343px;*/
 
-
padding: 0 0 5px 0;
 
-
background:white;
 
-
/*text-align:center;*/
 
-
}
 
-
#nav li a {
+
/* common styling */
-
color: #000000;   /*the main menu letters color but home*/
+
#nav ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#000;width:104px; height:20px; text-align:center; color:#fff; border:1px solid #fff; background:#710069; line-height:14px; font-size:11px; overflow:hidden;}
-
font-weight: bold;
+
#nav ul {padding:0; margin:0; list-style: none;}
-
display: block;
+
#nav ul li {float:left; position:relative;}
-
height: 15px;
+
#nav ul li ul {display: none;}
-
width: auto;
+
 
-
border-bottom:0;
+
/* specific to non IE browsers */
-
margin: 5px;
+
#nav ul li:hover a {color:#fff; background:#36f;}
-
padding: 0 0 5px 0;
+
#nav ul li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px;}
-
}
+
#nav ul li:hover ul li a.hide {background:#6a3; color:#fff;}
 +
#nav ul li:hover ul li:hover a.hide {background:#6fc; color:#000;}
 +
#nav ul li:hover ul li ul {display: none;}
 +
#nav ul li:hover ul li a {display:block; background:#ddd; color:#000;}
 +
#nav ul li:hover ul li a:hover {background:#6fc; color:#000;}
 +
#nav ul li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;}
 +
#nav ul li:hover ul li:hover ul.left {left:-105px;}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
-
#nav li a span { /*i dont know what this is about*/
 
-
color: #FFD109;
 
-
}
 
-
#nav li a span span{ /*i dont know what this is about*/
 
-
color: #FFD109;
 
-
}
 
-
#nav li a span span span{ /*i dont know what this is about*/
 
-
color: #FFD109;
 
-
}
 
-
#nav li.on a {
 
-
border-bottom: 2px solid black;
 
-
color: #000000;  /*the color of HOME by default*/
 
-
}
 
-
#nav li.on2 a {    /*i dont know what this is about*/
 
-
border-bottom: 2px solid blue;
 
-
color: aqua;
 
-
}
 
-
#nav li.on a:hover {
 
-
color: #2ab117;
 
-
}
 
-
#nav li.on a:hover span{
 
-
color:#2ab117;
 
-
}
 
-
#nav li.on ul a, #nav li.off ul a {
 
-
/*float: center; ie doesn't inherit the float*/
 
-
border: 0;
 
-
font-size:12px;
 
-
color:  #2ab117;
 
-
width: auto;
 
-
margin-right: 0px;
 
-
/*text-align: center;*/
 
-
}
 
-
#nav li.on ul {
 
-
display: block;
 
-
}
 
-
#nav li.off:hover ul {
 
-
display: inline;
 
-
z-index: 6000;
 
-
}
 
-
#nav li.off a:hover, #nav li:hover a {
 
-
background:white;
 
-
color: black;
 
-
}
 
-
#nav li.off a:hover span, #nav li:hover a {
 
-
background: white;
 
-
color: #2ab117;
 
-
}
 
.third{
.third{
Line 278: Line 431:
}
}
 +
#siteSub {
 +
display:none;
 +
}
-
/* OVERRIDING */
+
#search-controls {
-
body {
+
display:none;
-
/* format main-background C0C5CA*/
+
}
-
background-color: #2ab117;
+
-
}
+
-
#bodyContent a{
+
-
/* format link color*/
+
-
}
+
-
#content {
+
-
/* format global document body */
+
-
font-family:"Verdana",Arial,sans-serif;
+
-
background-color: #FFFFFF;
+
-
                border: none;
+
-
}
+
-
        #contentSub, #catlinks {
+
-
                display:none;
+
-
                }
+
-
.firstHeading {
+
.firstHeading {
-
/* removes pagename */
+
display:none;
-
display: none;
+
}
-
}
+
-
#top-section {
+
-
    background-color: black;
+
-
    height: 0;
+
-
    border: none;}
+
-
#p-logo {
+
#search-controls {
-
/* removes iGEM logo */
+
display:none;
-
display: none;
+
}
-
}
+
-
 
+
-
#menubar {
+
-
/* format top menubar */
+
-
top: 0px;
+
-
float: left;
+
-
border: none;
+
-
font-family:"Trebuchet MS","Verdana",Arial,sans-serif;
+
-
font-size:85%;
+
-
height: 24px;
+
-
}
+
-
#menubar li a {
+
-
color: #2ab117;
+
-
}
+
-
#menubar li a:hover {
+
-
text-decoration: underline;
+
-
}
+
-
#menubar.right-menu {
+
-
/* format right part of top menubar and add iGEM mini logo */
+
-
text-align: right;
+
-
right: auto;
+
-
background-color: #FFFFFF;
+
-
width: 975px;
+
-
z-index: 7;
+
-
}
+
-
#menubar.left-menu {
+
-
/* format left part of top menubar */
+
-
text-align: left;
+
-
width: auto;
+
-
z-index: 8;
+
-
}
+
-
        #menubar.left-menu:hover {
+
-
                background-color: transparent;}
+
-
 
+
#p-logo {
-
        #siteSub {
+
display:none;
-
          display:none;
+
-
                }
+
-
 
+
-
      #search-controls {
+
-
          display:none;
+
-
                }
+
-
 
+
-
.sum_dot{
+
-
list-style: disc;
+
}
}
-
.sum_number{
+
#top-section {
-
list-style: decimal;
+
border:none;
 +
margin: 0 auto;
 +
height:0px  ! important;
 +
width:100%;
 +
}
 +
#centeredimage {
 +
display: block;
 +
text-align:center;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
#globalWrapper{
 +
margin:0;
 +
padding:0;
 +
border:0;
 +
}
 +
.visualClear{
 +
height:0;
 +
width:0;
 +
display:none;
}
}
-
 
#menubar {
#menubar {
Line 388: Line 501:
#centeredmenu_bg{
#centeredmenu_bg{
position:fixed;
position:fixed;
-
bottom:0px;
+
top:0px;
-
background:#ffffff; /* the line at the botom of the page*/
+
background:#ffffff; /* the white line behind the main menu*/
left:0px;
left:0px;
width:100%;
width:100%;
-
height:40px;
+
height:70px;
z-index:999;
z-index:999;
}
}

Latest revision as of 22:18, 26 October 2012