Team:TU-Delft/CSS

From 2012.igem.org

(Difference between revisions)
 
(72 intermediate revisions not shown)
Line 118: Line 118:
  color:  #2ab117;
  color:  #2ab117;
font-size:12px;
font-size:12px;
 +
font-weight:bold;
 +
line-height:18px;
 +
letter-spacing:1px;
 +
}
 +
 +
h3home{
 +
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 +
font-variant: small-caps;
 +
font-stretch: ultra-expanded;
 +
color:  #2ab117;
 +
font-size:20px;
font-weight:bold;
font-weight:bold;
line-height:18px;
line-height:18px;
Line 155: Line 166:
#contentbox {
#contentbox {
background:white;
background:white;
-
width:650px;
+
width:590px;
margin: -10px auto 0 auto;
margin: -10px auto 0 auto;
padding:20px 50px 50px 50px;
padding:20px 50px 50px 50px;
Line 219: Line 230:
#twitter_widget{
#twitter_widget{
position:fixed;
position:fixed;
-
width:155px;
+
width:160px;
-
height:240px;
+
height:250px;
background:white;
background:white;
padding:10px 0 0 0;
padding:10px 0 0 0;
Line 255: Line 266:
#nav { /*main menu css*/
#nav { /*main menu css*/
position:fixed;
position:fixed;
-
width:1300px;
+
width:850px;
-
top:30px;
+
top:15px;
left:40%;
left:40%;
right:60%;
right:60%;
Line 265: Line 276:
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size:14px;
font-size:14px;
-
letter-spacing:1px;
+
/*letter-spacing:1px;*/
text-transform:uppercase;
text-transform:uppercase;
}
}
Line 282: Line 293:
}
}
#nav li { /*float the main list items*/
#nav li { /*float the main list items*/
-
position:static;
+
    position:static;
margin: 0;
margin: 0;
float: left;  
float: left;  
Line 289: Line 300:
background:white ;
background:white ;
text-align:center;
text-align:center;
 +
width:90px;
 +
}
}
#nav li ul {
#nav li ul {
display: none;
display: none;
-
 
+
width:200px;
}
}
#nav li.off ul, #nav li.on ul { /*Position of the submenu!!*/
#nav li.off ul, #nav li.on ul { /*Position of the submenu!!*/
position:static;
position:static;
-
direction:rtl;
+
direction:ltr;
 +
 +
width:150px;
 +
height:100px;
-
width:500px;
 
-
height:70px;
 
-
top:95%;
 
/*left:30px;
/*left:30px;
right:50%;*/
right:50%;*/
Line 314: Line 327:
font-weight: bold;
font-weight: bold;
display: block;
display: block;
-
height: 15px;
+
height: 30px;
width: auto;
width: auto;
border-bottom:0;
border-bottom:0;
-
margin: 5px;
+
margin: 2px;
-
padding: 0 0 5px 0;
+
padding: 0 0 2px 0;  
}
}
Line 367: Line 380:
z-index: 6000;
z-index: 6000;
}
}
-
#nav li.off a:hover, #nav li:hover a {
+
#nav li.off a:hover, #nav li:hover a {   /* this is for the background that opens behind the submenu */
background:white;
background:white;
color: black;
color: black;
 +
height: 54px;
 +
width: 150px;
}
}
Line 375: Line 390:
background: white;
background: white;
color: #2ab117;
color: #2ab117;
 +
width: 150px;
}
}
Line 477: Line 493:
z-index:1001;
z-index:1001;
}
}
 +
#menubar ul {
#menubar ul {
Line 584: Line 601:
     text-transform: lowercase;
     text-transform: lowercase;
}
}
 +
 +
.left-menu a:hover {
.left-menu a:hover {

Latest revision as of 03:53, 27 October 2012