Template:Nevada Header CSS

From 2011.igem.org

(Difference between revisions)
m
m
Line 181: Line 181:
ul.sub-level {
ul.sub-level {
-
  display: none;
+
    display: none;
}
}
-
 
+
li:hover .sub-level {
-
ul.sub-level li{
+
    background: #999;
-
  background: #C20074;
+
    border: #fff solid;
 +
    border-width: 1px;
 +
    display: block;
 +
    position: absolute;
 +
    left: 55px;
 +
    top: 30px;
 +
}
 +
ul.sub-level li {
 +
    border: none;
 +
    float:left;
 +
    width:105px;
 +
    cursor: pointer;
}
}
ul.sub-level li:hover{
ul.sub-level li:hover{
-
  position: relative;
+
    background: rgba(0,51,0,1);
-
  display: block;
+
-
  background: #C20074;
+
-
  float: left;
+
-
  top: 5px;
+
-
  left: 5px;
+
-
  z-index: 101;
+
}
}
Line 225: Line 230:
|&nbsp;&nbsp;<a href="/Team:Nevada/Team">Team</a>&nbsp;&nbsp;
|&nbsp;&nbsp;<a href="/Team:Nevada/Team">Team</a>&nbsp;&nbsp;
     <ul class="sub-level">
     <ul class="sub-level">
-
         <li><a href="/Team:Nevada/Team">Gallery</a></li>
+
         <li><a href="/Team:Nevada/Team">Gallery</a></li><br>
         <li><a href="/Team:Nevada/Team">Biographies</a></li>
         <li><a href="/Team:Nevada/Team">Biographies</a></li>
   </ul>
   </ul>

Revision as of 04:02, 5 September 2011