Team:Bielefeld-Germany/igembielefeld2013.css

From 2013.igem.org

(Difference between revisions)
Line 20: Line 20:
   color:#ff6600;
   color:#ff6600;
   text-shadow: 0 0px 0px grey;
   text-shadow: 0 0px 0px grey;
 +
}
 +
 +
#nav{
 +
  position:relative;
 +
  padding:10px;
 +
}
 +
 +
ul#navigation{
 +
  margin: 0px auto;
 +
  position: relative;
 +
  float:left;
 +
}
 +
 +
ul#navigation li {
 +
  display:inline;
 +
  float:left;
 +
  position:relative;
 +
 +
}
 +
 +
ul#navigation li a{
 +
  text-decoration:none;
 +
  display:inline-block;
 +
 +
}
 +
 +
ul#navigation li a:hover {
 +
    background:#f8f8f8;
 +
    color:#282828;
 +
}
 +
 +
ul#navigation li:hover > a {
 +
    background:#fff;
 +
}
 +
 +
ul#navigation li:hover > ul {
 +
    visibility:visible;
 +
    opacity:1;
 +
}
 +
 +
ul#navigation ul, ul#navigation ul li ul {
 +
    list-style: none;
 +
    margin: 0;
 +
    padding: 0; 
 +
    visibility:hidden;
 +
    opacity:0;
 +
    position: absolute;
 +
    z-index: 99999;
 +
}
 +
 +
 +
ul#navigation ul li {
 +
    clear:both;
 +
    width:100%;
 +
    border:0 none;
 +
    border-bottom:1px solid #c9c9c9;
 +
}
 +
 +
 +
ul#navigation ul li a {
 +
    background:none;
 +
    padding:7px 15px;
 +
    color:#616161;
 +
    text-shadow:1px 1px 0px #fff;
 +
    text-decoration:none;
 +
    display:inline-block;
 +
    border:0 none;
 +
    float:left;
 +
    clear:both;
 +
    width:150px;
}
}

Revision as of 19:57, 4 June 2013

  1. logo{
 background-image: -webkit-linear-gradient(right, #ff6600 0%, white  100%); 
 background-image: -moz-linear-gradient(right, #ff6600 0%, white  100%); 
 background-image: -o-linear-gradient(right, #ff6600 0%, white  100%);  
 background-image: linear-gradient(right, #ff6600 0%, white  100%);
 margin: 0px 0px 20px 0px;

}

  1. navigation{
 color:grey;
 font-size:30px;
 font-variant:small-caps;
 font-family:Roboto;
 padding-right:10px;
 text-shadow: 0 2px 2px lightgray;

}


  1. navigation l:hover {
 color:#ff6600;
 text-shadow: 0 0px 0px grey;

}

  1. nav{
 position:relative;
 padding:10px;

}

ul#navigation{

 margin: 0px auto;
 position: relative;
 float:left;

}

ul#navigation li {

 display:inline;
 float:left;
 position:relative;

}

ul#navigation li a{

 text-decoration:none;
 display:inline-block;

}

ul#navigation li a:hover {

   background:#f8f8f8;
   color:#282828;

}

ul#navigation li:hover > a {

   background:#fff;

}

ul#navigation li:hover > ul {

   visibility:visible;
   opacity:1;

}

ul#navigation ul, ul#navigation ul li ul {

   list-style: none;
   margin: 0;
   padding: 0;  
   visibility:hidden;
   opacity:0;
   position: absolute;
   z-index: 99999;

}


ul#navigation ul li {

   clear:both;
   width:100%;
   border:0 none;
   border-bottom:1px solid #c9c9c9;

}


ul#navigation ul li a {

   background:none;
   padding:7px 15px;
   color:#616161;
   text-shadow:1px 1px 0px #fff;
   text-decoration:none;
   display:inline-block;
   border:0 none;
   float:left;
   clear:both;
   width:150px;

}