Team:TU Darmstadt/css

From 2012.igem.org

Revision as of 13:55, 9 September 2012 by Adrian E (Talk | contribs)

/*

    • 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:100%;
   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 {

   right: 0px;
   font-size: 10px;
   !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(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;

}

/* Top-iGEM Menu */

.left-menu:hover {

   opacity: 0.8;
   !background-color: transparent;!

}

.right-menu li {

  1. background-color: transparent;

} .right-menu li a {

   padding: 0px 15px 0px 0px;
   color: white;
   opacity: 0.8;
   background-color: #555555;

}