Team:TU Darmstadt/css

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
 +
/*
 +
** 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{
body{
-
background-color:#fff;
+
    font-family:Tahoma,Arial,Helvetica,sans-serif;
-
color:#333;
+
    background-color:#F0F0F0;
-
font-family:"Lucida Console","Courier New",Courier,monospace;
+
    color: #333;
-
font-size:11px;
+
    font-color: #333;
-
line-height:1.6em;
+
    font-size:11px;
 +
    line-height:1.6em;
 +
}
 +
 
 +
em{
 +
    font-style:italic;
 +
}
 +
 
 +
#footer-box{
 +
    background-color:#F0F0F0;
 +
    border:none;
 +
}
 +
 
 +
h1 {
 +
    border-bottom:1px solid #E5E5E5;
 +
    font-size:109% !important;
 +
    font-family:Frontpage,Tahoma,Arial,Helvetica,sans-serif;
 +
    margin-top:9px;
 +
    margin-bottom:1px;
 +
    padding-bottom:3px
 +
}
 +
 
 +
#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:Frontpage,Tahoma,Arial,Helvetica,sans-serif;
 +
}
 +
 
 +
 
 +
h1{
 +
    font-size:100%;
 +
    color: #b5b5b5
 +
}
 +
 
 +
h2{
 +
    font-size:137%;
 +
    line-height:100%;
 +
    font-weight: bold;
 +
}
 +
 
 +
h3{
 +
    font-size:109%;
 +
}
 +
 
 +
h2,h3{
 +
    color:#6A8B22
 +
}
 +
 
 +
#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;
 +
}
 +
 
 +
#searchInput {
 +
    width: 10.9em;
 +
    margin: 0;
 +
    font-size: 95%;
 +
}
 +
 
 +
#p-logo {
 +
    display: none;
 +
}
 +
 
 +
#top-section{
 +
    height: 17px;
 +
    margin-top: 5px;
 +
    margin-bottom: 3px;
 +
    border: none;
 +
    background-color: #6A8B22;
 +
}
 +
 
 +
.firstHeading{
 +
    margin-top: 175px;
 +
}
 +
 
 +
/* top_menu */
 +
 
 +
#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;
 +
}
 +
 
 +
#TUD #top ul{
 +
    position: absolute;
 +
    left: 5px;
 +
    margin: 0px;
 +
    padding: 0px;
 +
    list-style:none;
 +
}
 +
 
 +
#TUD #top li{
 +
    display: block;
 +
    float: left;
 +
    position:relative;
 +
    text-align:left;
 +
    height: 19px;
 +
    padding: 0px 5px 5px 1px;
 +
    background: none;
 +
}
 +
 
 +
 
 +
#TUD #top li ul{
 +
    display:none;
 +
    }
 +
 
 +
#TUD #top li:hover ul{
 +
    display:table;
 +
    position:absolute;
 +
    background: #dcdcdc;
 +
    color: #6A8B22;
 +
    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;
 +
    margin:
 +
}
 +
 
 +
#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;
 +
}
 +
 
 +
#TUD #top a:hover {
 +
    text-decoration: none;
 +
    color: #6A8B22;
 +
}
 +
 
 +
#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:#6A8B22;
 +
}
 +
 
 +
#TUD #top li li:hover{
 +
    background-color:#fff;
 +
}
 +
 
 +
/* Edit & Links */
 +
 
 +
a{
 +
    color:#000;
 +
    !color of non existing links!
 +
}
 +
 
 +
a:visited{
 +
    color:#000;
 +
    !color of existing links!
 +
}
 +
 
 +
a:hover{
 +
    color:#000;
 +
    !color of links while hovering over!
 +
}
 +
 
 +
.editsection {
 +
    right: 0px;
 +
    font-size: 10px;
 +
    color: #898989;
 +
    !display: none;!
 +
}
 +
 
 +
 
 +
 
 +
#bodyContent .plainlinks a {
 +
    background: none;
 +
    padding: 0;
 +
    color: #333;
 +
    font-color: #fff;
 +
}
 +
 
 +
#toc {
 +
    display:none;
 +
}
 +
 
 +
#catlinks{
 +
    height: 25px;
 +
    border-radius: 3px;
 +
    background-image: url(https://static.igem.org/mediawiki/2012/e/ed/AppliChem.jpg), url(https://static.igem.org/mediawiki/2012/3/30/Brain_logo.png), url(https://static.igem.org/mediawiki/2012/6/6f/BioSpring.JPG), url(https://static.igem.org/mediawiki/2012/3/39/Logo-eppendorf.jpeg), url(https://static.igem.org/mediawiki/2012/3/32/Logo_EurofinsMWGOperon.jpg), url(https://static.igem.org/mediawiki/2012/a/ad/Evonik.jpg), url(https://static.igem.org/mediawiki/2012/3/3f/MathWorks_logo.png), url(https://static.igem.org/mediawiki/2012/2/20/Promega.gif), url(https://static.igem.org/mediawiki/2012/d/d8/Roth.jpg);
 +
    background-position: 5px center, 115px center, 225px center, 300px center, center center, 565px center, 700px center, 850px center, 925px center;
 +
    background-repeat: no-repeat;
 +
    background-size: auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px;
}
}

Revision as of 16:08, 2 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:11px;
   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;
   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:Frontpage,Tahoma,Arial,Helvetica,sans-serif;

}


h1{

   font-size:100%;
   color: #b5b5b5

}

h2{

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

}

h3{

   font-size:109%;

}

h2,h3{

   color:#6A8B22

}

  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. p-logo {
   display: none;

}

  1. top-section{
   height: 17px;
   margin-top: 5px;
   margin-bottom: 3px;
   border: none;
   background-color: #6A8B22;

}

.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: #6A8B22;
   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;
   margin:

}

  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: #6A8B22;

}

  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:#6A8B22;

}

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

}

/* Edit & Links */

a{

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

}

a:visited{

   color:#000;
   !color of existing links!

}

a:hover{

   color:#000;
   !color of links while hovering over!

}

.editsection {

   right: 0px;
   font-size: 10px;
   color: #898989;
   !display: none;!

}


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

}

  1. toc {
   display:none;

}

  1. catlinks{
   height: 25px;
   border-radius: 3px;
   background-image: url(AppliChem.jpg), url(Brain_logo.png), url(BioSpring.JPG), url(Logo-eppendorf.jpeg), url(Logo_EurofinsMWGOperon.jpg), url(Evonik.jpg), url(MathWorks_logo.png), url(Promega.gif), url(Roth.jpg);
   background-position: 5px center, 115px center, 225px center, 300px center, center center, 565px center, 700px center, 850px center, 925px center;
   background-repeat: no-repeat;
   background-size: auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px, auto 25px;

}