Team:TU Darmstadt/css

From 2012.igem.org

(Difference between revisions)
Line 33: Line 33:
border-left:thin solid #E5E5E5;
border-left:thin solid #E5E5E5;
border-right:thin solid #E5E5E5;
border-right:thin solid #E5E5E5;
 +
padding-left:10px
}
}
h1,h2,h3{
h1,h2,h3{
Line 89: Line 90:
margin-top: 175px;
margin-top: 175px;
}
}
-
 
+
/* top_menu */
-
/* menu_TU */
+
#top{
-
 
+
position:absolute;
-
#menu_TU li {
+
top:35px;
-
display: block;
+
height:145px;
-
float: left;
+
width:975px;
-
width: 120px;
+
left:0px;
-
height: 80px;
+
background:url('https://static.igem.org/mediawiki/2012/d/d2/Header_igem_agar_TUD.png');
-
padding: 0px 0px 0px 0px;
+
background-repeat: no repeat;
-
background: url(http://bioserver.bio.tu-darmstadt.de/igem/images/TUda_img02.gif) no-repeat;
+
z-index:2;
-
/*vertical-align: center;*/
+
}
}
-
 
+
#top ul {
-
#menu_TU a {
+
margin: 0px;
-
display: block;
+
padding: 0px;
-
width: 80px;
+
list-style: none;
-
height: 37px;
+
-
padding: 10px 20px 10px 20px;
+
-
background: none;
+
-
letter-spacing: -1px;
+
-
font: normal 1.3em Arial, "Times New Roman", Times, serif;
+
-
color: #E1E9E2;
+
-
vertical-align: center;
+
-
font-weight: bolder;
+
}
}
-
 
+
#top li {
-
#menu_TU a:hover {
+
display: block;
-
border-bottom: 4px solid #436738;
+
float: left;
-
text-decoration: none;
+
width: 120px;
-
color: #FFFFFF;
+
height: 80px;
 +
padding: 0px 0px 0px 0px;
 +
background: url(http://bioserver.bio.tu-darmstadt.de/igem/images/TUda_img02.gif) no-repeat;
 +
/*vertical-align: center;*/
}
}
-
 
+
#top a {
-
#menu_TU .active a {
+
display: block;
-
background: #E1E9E2;
+
width: 80px;
-
border-bottom: 4px solid #E1E9E2;
+
height: 37px;
-
text-decoration: none;
+
padding: 10px 20px 10px 20px;
-
color: #749865;
+
background: none;
 +
letter-spacing: -1px;
 +
font: normal 1.3em Arial, "Times New Roman", Times, serif;
 +
color: #E1E9E2;
 +
vertical-align: center;
 +
font-weight: bolder;
 +
}
 +
#top a:hover {
 +
border-bottom: 4px solid #436738;
 +
text-decoration: none;
 +
color: #FFFFFF;
 +
}
 +
#top .active a {
 +
background: #E1E9E2;
 +
border-bottom: 4px solid #E1E9E2;
 +
text-decoration: none;
 +
color: #749865;
}
}

Revision as of 12:58, 19 August 2012

/*

    • TU Darmstadt like 'First Spirit' style sheet for CSS2-capable browsers.
    • Copyright iGEM Team 2012 TU Darmstadt - http://www.igem.tu-darmstadt.de/
    • License: GPL (http://www.gnu.org/copyleft/gpl.html)
    • Based on the corporate design of the Technische Universität Darmstadt http://www.webteam.tu-darmstadt.de/tu_web/index.de.jsp by TU Darmstadt Web Development
  • /

body{ font:Tahoma sans-serif; background-color:#F0F0F0; font-color: #333 font-family:Tahoma,Arial,Helvetica,sans-serif; line-height:1.6em; } em{ font-style:italic; }

  1. footer-box{
   background-color:#F0F0F0;
   border:none;

} h1 { border-bottom:1px solid #E5E5E5; font-size:109% !important; margin-top:9px; margin-bottom:1px; padding-bottom:3px }

  1. content{

border-top: 1px solid #333; border-bottom:thin solid #E5E5E5; border-left:thin solid #E5E5E5; border-right:thin solid #E5E5E5; padding-left:10px } h1,h2,h3{ margin-bottom:.4em; margin-top:0; } h1{ font-size:127%; color: #b5b5b5 } h2{ font-size:109%; } h3{ font-size:100%; }

h2,h3 {color:#6A8B22}

  1. search-controls{

position: absolute; top: 25px; width: 245px; height: 25px; background-color: transparent; text-align: left; z-index: 9; } input.searchButton { margin: 1px 1px 0 0px; font-size: 95%; background:#fff url(http://www.tu-darmstadt.de/media/corporate_design/cd_grafiken/css-sprite.png) no-repeat 0 -2865px; border:thin solid #E5E5E5; height:19px; width:47px; font-weight: bold; font-size: 7pt; color:#b5b5b5; }

  1. searchInput {
   width: 10.9em;
   margin: 0;
   font-size: 95%;

}

  1. p-logo {

display: none; }

  1. top-section{

height: 17px; margin-top: 5px; margin-bottom: 2px; border: none; background-color: #6A8B22; } .firstHeading{ margin-top: 175px; } /* top_menu */

  1. top{

position:absolute; top:35px; height:145px; width:975px; left:0px; background:url('https://static.igem.org/mediawiki/2012/d/d2/Header_igem_agar_TUD.png'); background-repeat: no repeat; z-index:2; }

  1. top ul {

margin: 0px; padding: 0px; list-style: none; }

  1. top li {

display: block; float: left; width: 120px; height: 80px; padding: 0px 0px 0px 0px; background: url(http://bioserver.bio.tu-darmstadt.de/igem/images/TUda_img02.gif) no-repeat; /*vertical-align: center;*/ }

  1. top a {

display: block; width: 80px; height: 37px; padding: 10px 20px 10px 20px; background: none; letter-spacing: -1px; font: normal 1.3em Arial, "Times New Roman", Times, serif; color: #E1E9E2; vertical-align: center; font-weight: bolder; }

  1. top a:hover {

border-bottom: 4px solid #436738; text-decoration: none; color: #FFFFFF; }

  1. top .active a {

background: #E1E9E2; border-bottom: 4px solid #E1E9E2; text-decoration: none; color: #749865; }