Team:TU Darmstadt/css

From 2012.igem.org

(Difference between revisions)
 
(699 intermediate revisions not shown)
Line 8: Line 8:
body{
body{
-
font:Tahoma sans-serif;
+
    font-family:Tahoma,Arial,Helvetica,sans-serif;
-
background-color:#F0F0F0;
+
    background-color:#F0F0F0;
-
font-color: #333
+
    color: #333;
-
font-family:Tahoma,Arial,Helvetica,sans-serif;
+
    font-color: #333;
-
font-size:11px;
+
    font-size:10px;
-
line-height:1.6em;
+
    line-height:1.6em;
}
}
 +
em{
em{
-
font-style:italic;
+
    font-style:italic;
}
}
 +
#footer-box{
#footer-box{
     background-color:#F0F0F0;
     background-color:#F0F0F0;
     border:none;
     border:none;
}
}
 +
h1 {
h1 {
-
border-bottom:1px solid #E5E5E5;
+
    border-bottom:1px solid #E5E5E5;
-
font-size:109% !important;
+
    font-size:109%;
-
font-family:Frontpage,Tahoma,Arial,Helvetica,sans-serif;
+
    font-family:Frontpage,Tahoma,Arial,Helvetica,sans-serif;
-
margin-top:9px;
+
    margin-top:9px;
-
margin-bottom:1px;
+
    margin-bottom:1px;
-
padding-bottom:3px
+
    padding-bottom:3px
}
}
 +
#content{
#content{
-
border-top: 1px solid #333;
+
    border-top: 1px solid #333;
-
border-bottom:thin solid #E5E5E5;
+
    border-bottom:thin solid #E5E5E5;
-
border-left:thin solid #E5E5E5;
+
    border-left:thin solid #E5E5E5;
-
border-right:thin solid #E5E5E5;
+
    border-right:thin solid #E5E5E5;
}
}
-
h1,h2,h3{
+
 
-
margin-bottom:.4em;
+
h1,h2,h3,h4{
-
margin-top:0;
+
    margin-bottom:.4em;
 +
    margin-top:0;
 +
    font-family:Arial,Frontpage,Tahoma,Helvetica,sans-serif;
}
}
 +
 +
h1{
h1{
-
font-size:127%;
+
    font-size:109%;
-
color: #b5b5b5
+
    color: #b5b5b5;
}
}
 +
h2{
h2{
-
font-size:109%;
+
    font-size:188%;
 +
    line-height:100%;
 +
    font-weight: bold;
}
}
 +
h3{
h3{
-
font-size:100%;
+
    font-size:150%;
}
}
-
h2,h3 {color:#6A8B22}
+
h4{
 +
    font-size:109%;
 +
}
 +
 
 +
h2,h3{
 +
    color:#00689D;
 +
}
#search-controls{
#search-controls{
-
position: absolute;
+
    position: absolute;
-
top: 25px;
+
    top: 25px;
-
width: 245px;
+
    width: 265px;
-
height: 25px;
+
    height: 25px;
-
background-color: transparent;
+
    background-color: transparent;
-
text-align: left;
+
    text-align: left;
-
z-index: 9;
+
    z-index: 9;
}
}
 +
input.searchButton {
input.searchButton {
-
margin: 1px 1px 0 0px;
+
    margin: 1px 1px 0 0px;
-
font-size: 95%;
+
    font-size: 95%;
-
background:#fff url(http://www.tu-darmstadt.de/media/corporate_design/cd_grafiken/css-sprite.png) no-repeat 0 -2865px;
+
    background:#fff url(http://www.tu-darmstadt.de/media/corporate_design/cd_grafiken/css-sprite.png) no-repeat 0 -2865px;
-
border:thin solid #E5E5E5;
+
    border:thin solid #E5E5E5;
-
height:19px;
+
    height:19px;
-
width:47px;
+
    width:47px;
-
font-weight: bold;
+
    font-weight: bold;
-
font-size: 7pt;
+
    font-size: 7pt;
-
color:#b5b5b5;
+
    color:#b5b5b5;
}
}
 +
#searchInput {
#searchInput {
     width: 10.9em;
     width: 10.9em;
Line 78: Line 98:
     font-size: 95%;
     font-size: 95%;
}
}
-
#p-logo {
+
 
-
display: none;
+
-
}
+
#top-section{
#top-section{
-
height: 17px;
+
    height: 17px;
-
margin-top: 5px;
+
    margin-top: 5px;
-
margin-bottom: 2px;
+
    margin-bottom: 3px;
-
border: none;
+
    border: none;
-
background-color: #6A8B22;
+
    background-color: #00689D;
}
}
 +
.firstHeading{
.firstHeading{
-
margin-top: 175px;
+
    margin-top: 175px;
}
}
 +
/* top_menu */
/* top_menu */
-
#top{
+
 
-
position:absolute;
+
#TUD #top{
-
top:5px;
+
    position:absolute;
-
height:180px;
+
    top:5px;
-
width:975px;
+
    height:180px;
-
left:0px;
+
    width:975px;
-
background:url('https://static.igem.org/mediawiki/2012/d/d2/Header_igem_agar_TUD.png');
+
    left:0px;
-
background-repeat: no-repeat;
+
    background:url('https://static.igem.org/mediawiki/2012/d/d2/Header_igem_agar_TUD.png');
-
background-position:center bottom;
+
    background-size: 99.5%;
-
z-index:2;
+
    background-repeat: no-repeat;
 +
    background-position: left bottom;
 +
    z-index:2;
}
}
-
#top ul {
+
 
-
margin: 0px;
+
#TUD #top ul{
-
padding: 0px;
+
    position: absolute;
-
list-style: none;
+
    left: 5px;
 +
    margin: 0px;
 +
    padding: 0px;
 +
    list-style:none;
}
}
-
#top li {
+
 
-
display: block;
+
#TUD #top li{
-
float: left;
+
    display: block;
-
height: 25px;
+
    float: left;
-
padding: 1px 1px 1px 1px;
+
    position:relative;
-
background: none;
+
    text-align:left;
-
/*vertical-align: center;*/
+
    height: 19px;
 +
    padding: 0px 5px 5px 1px;
 +
    background: none;
}
}
-
#top a {
+
 
-
border-right: 3px solid #000000;
+
 
-
border-left: none;
+
#TUD #top li ul{
-
display: block;
+
    display:none;
-
height: 15px;
+
    }
-
padding: 1px 1px 2px 2px;
+
 
-
background: none;
+
#TUD #top li:hover ul{
-
letter-spacing: -1px;
+
    display:table;
-
font-size: 118%;
+
    position:absolute;
-
color: #000000;
+
    background: #dcdcdc;
-
vertical-align: center;
+
    color: #00689D;
-
font-weight: 700;
+
    opacity: 0.9;
 +
    top:25px;
 +
    left:-3px;
 +
    width:auto;
 +
    }
 +
 
 +
#TUD #top li ul li{
 +
    color:#000;
 +
    position:relative;
 +
    display:block;
 +
    float:none;
 +
    white-space: nowrap;
 +
    z-index:5;
 +
    padding-left: 8px;
 +
    padding-right: 8px;
 +
    padding-top:4px;
 +
    padding-bottom:4px;
}
}
-
#top a:hover {
+
 
-
text-decoration: none;
+
#TUD #top a {
-
color: #6A8B22;
+
    border-right: 2.5px solid #898989;
 +
    border-left: none;
 +
    display: block;
 +
    height: 19px;
 +
    padding: 1px 5px 5px 0px;
 +
    background: none;
 +
    font-family:Tahoma,Arial,Helvetica,sans-serif;
 +
    font-size: 105%;
 +
    color: #333;
 +
    font-weight: 700;
}
}
-
#top .active a {
+
 
-
background: #E1E9E2;
+
#TUD #top a:hover {
-
text-decoration: none;
+
    text-decoration: none;
-
color: #749865;
+
    color: #00689D;
 +
}
 +
 
 +
#TUD #top .active a {
 +
    background: #333;
 +
    text-decoration: none;
 +
    color: #dcdcdc;
 +
}
 +
 
 +
#TUD #top li:hover ul a{
 +
    color: #333;
 +
    border-right: none;
 +
}
 +
 
 +
#TUD #top li:hover a{
 +
    color:#00689D;
 +
}
 +
 
 +
#TUD #top li li:hover{
 +
    background-color:#fff;
 +
}
 +
 
 +
/* iGEM Homing Button */
 +
 
 +
#top #igem a{
 +
    position:absolute;
 +
    width:26px;
 +
    height:21px;
 +
    top: 0px;
 +
    left:640px;
 +
    border: none;
 +
    background-image:url('https://static.igem.org/mediawiki/2012/c/ce/IGEM_official_logo_xs.png');
 +
    background-size: 100%;
 +
    background-repeat: no-repeat;
 +
    z-index:20;
 +
    !wiki requirement!
 +
}
 +
 
 +
#p-logo {
 +
    display: none;
 +
}
 +
 
 +
/* Edit & Links */
 +
 
 +
a{
 +
    color:#B90F22;
 +
    !color of non existing links!
 +
}
 +
 
 +
a:link {color: #00689D}
 +
a:visited {color: #00689D}
 +
a:hover {color: #00689D}
 +
a:active {color: #00689D}
 +
 
 +
.editsection {
 +
    display: none;
 +
}
 +
 
 +
#bodyContent .plainlinks a {
 +
    background: none;
 +
    padding: 0;
 +
    color: #333;
 +
    font-color: #fff;
 +
}
 +
 
 +
#off #toc {
 +
    display:none;
 +
}
 +
 
 +
#catlinks{
 +
    height: 25px;
 +
    border-radius: 3px;
 +
    background-image: url('https://static.igem.org/mediawiki/2012/9/96/Sponsoren_Logos.png');
 +
    background-position: center center;
 +
    background-repeat: no-repeat;
 +
    background-size: auto 32px;
 +
}
 +
 
 +
/* Top-iGEM Menu */
 +
 
 +
.left-menu:hover {
 +
    background-color: transparent;
 +
}
 +
 
 +
.right-menu li a {
 +
    background-color: transparent;
}
}

Latest revision as of 03:44, 27 September 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-family:Tahoma,Arial,Helvetica,sans-serif;
   background-color:#F0F0F0;
   color: #333;
   font-color: #333;
   font-size:10px;
   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%;
   font-family:Frontpage,Tahoma,Arial,Helvetica,sans-serif;
   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;

}

h1,h2,h3,h4{

   margin-bottom:.4em;
   margin-top:0;
   font-family:Arial,Frontpage,Tahoma,Helvetica,sans-serif;

}


h1{

   font-size:109%;
   color: #b5b5b5;

}

h2{

   font-size:188%;
   line-height:100%;
   font-weight: bold;

}

h3{

   font-size:150%;

}

h4{

   font-size:109%;

}

h2,h3{

   color:#00689D;

}

  1. search-controls{
   position: absolute;
   top: 25px;
   width: 265px;
   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. top-section{
   height: 17px;
   margin-top: 5px;
   margin-bottom: 3px;
   border: none;
   background-color: #00689D;

}

.firstHeading{

   margin-top: 175px;

}

/* top_menu */

  1. TUD #top{
   position:absolute;
   top:5px;
   height:180px;
   width:975px;
   left:0px;
   background:url('https://static.igem.org/mediawiki/2012/d/d2/Header_igem_agar_TUD.png');
   background-size: 99.5%;
   background-repeat: no-repeat;
   background-position: left bottom;
   z-index:2;

}

  1. TUD #top ul{
   position: absolute;
   left: 5px;
   margin: 0px;
   padding: 0px;
   list-style:none;

}

  1. TUD #top li{
   display: block;
   float: left;
   position:relative;
   text-align:left;
   height: 19px;
   padding: 0px 5px 5px 1px;
   background: none;

}


  1. TUD #top li ul{
   display:none;
   }
  1. TUD #top li:hover ul{
   display:table;
   position:absolute;
   background: #dcdcdc;
   color: #00689D;
   opacity: 0.9;
   top:25px;
   left:-3px;
   width:auto;
   }
  1. TUD #top li ul li{
   color:#000;
   position:relative;
   display:block;
   float:none;
   white-space: nowrap;
   z-index:5;
   padding-left: 8px;
   padding-right: 8px;
   padding-top:4px;
   padding-bottom:4px;

}

  1. TUD #top a {
   border-right: 2.5px solid #898989;
   border-left: none;
   display: block;
   height: 19px;
   padding: 1px 5px 5px 0px;
   background: none;
   font-family:Tahoma,Arial,Helvetica,sans-serif;
   font-size: 105%;
   color: #333;
   font-weight: 700;

}

  1. TUD #top a:hover {
   text-decoration: none;
   color: #00689D;

}

  1. TUD #top .active a {
   background: #333;
   text-decoration: none;
   color: #dcdcdc;

}

  1. TUD #top li:hover ul a{
   color: #333;
   border-right: none;

}

  1. TUD #top li:hover a{
    color:#00689D;

}

  1. TUD #top li li:hover{
   background-color:#fff;

}

/* iGEM Homing Button */

  1. top #igem a{
   position:absolute;
   width:26px;
   height:21px;
   top: 0px;
   left:640px;
   border: none;
   background-image:url('https://static.igem.org/mediawiki/2012/c/ce/IGEM_official_logo_xs.png');
   background-size: 100%;
   background-repeat: no-repeat;
   z-index:20;
   !wiki requirement!

}

  1. p-logo {
   display: none;

}

/* Edit & Links */

a{

   color:#B90F22;
   !color of non existing links!

}

a:link {color: #00689D} a:visited {color: #00689D} a:hover {color: #00689D} a:active {color: #00689D}

.editsection {

   display: none;

}

  1. bodyContent .plainlinks a {
   background: none;
   padding: 0;
   color: #333;
   font-color: #fff;

}

  1. off #toc {
   display:none;

}

  1. catlinks{
   height: 25px;
   border-radius: 3px;
   background-image: url('https://static.igem.org/mediawiki/2012/9/96/Sponsoren_Logos.png');
   background-position: center center;
   background-repeat: no-repeat;
   background-size: auto 32px;

}

/* Top-iGEM Menu */

.left-menu:hover {

   background-color: transparent;

}

.right-menu li a {

   background-color: transparent;

}