Difference between revisions of "Team:KU Leuven/test"

Line 23: Line 23:
 
}
 
}
  
.menu a:link, a:visited {
+
.menu>li:first-of-type {
    display: block;
+
     float:left;
    width: 120px;
+
     position:relative;
    font-weight: bold;
+
margin-left: 2em;
    color: #2a5389;
+
    background-color: #52bcec;
+
     text-align: center;
+
     padding: 4px;
+
    text-decoration: none;
+
    text-transform: uppercase;
+
 
}
 
}
  
.menu a:hover, a:active {
+
.menu li a {
     background-color: #52bcec;
+
    display:block;
 +
    font-size:0.9em;
 +
     line-height:2em;
 +
    padding: 0em 2.5em 1.25em 0em;
 +
    vertical-align:middle;
 +
    text-decoration:none;
 +
text-transform: uppercase;
 +
border: none;
 
}
 
}
  
 +
.menu-indicator {
 +
width: 100%;
 +
height: 10px;
 +
display:block;
 +
visibility:hidden;
 +
}
 +
 +
 +
.menu ul {
 +
    position: absolute;
 +
    left: -9999px;
 +
    list-style: none;
 +
}
 +
.menu ul li {
 +
    float: none;
 +
}
 +
.menu ul a {
 +
    white-space: nowrap;
 +
}
 +
 +
.menu li:hover ul {
 +
    padding-top: 0.8em;
 +
left: 0px;
 +
z-index:1;
 +
}
 +
 +
.menu li:hover ul a {
 +
    background: none;
 +
padding: 0.75em 1em 0.75em 1em;
 +
}
  
  

Revision as of 09:20, 3 July 2015

https://static.igem.org/mediawiki/2015/d/df/KU_Leuven_Igem_logo-1024x783.png

{{Team:KU_Leuven/CSS}}