Template:JHU BAG Top

From 2009.igem.org

(Difference between revisions)
Line 87: Line 87:
#menu li {  
#menu li {  
-
  vertical-align: middle;
 
   text-align: center;  
   text-align: center;  
   list-style-type: none;  
   list-style-type: none;  
-
  display: inline;  
+
    background: url(https://static.igem.org/mediawiki/2009/c/cf/Button.png) no-repeat left top;
 +
display: block;
 +
    height: 45px;
 +
    width: 173px;
 +
padding: 2px 0 0 0;
}
}
#menu a {
#menu a {
-
 
+
  display: inline-block;  
-
    background: url(https://static.igem.org/mediawiki/2009/c/cf/Button.png) no-repeat left top;
+
  vertical-align: middle;  
-
display: block;
+
-
vertical-align:50%;
+
-
    height: 45px;
+
-
    width: 173px;
+
     font-size: 12px;
     font-size: 12px;
     text-decoration: none;
     text-decoration: none;
Line 106: Line 105:
}
}
-
#menu a:hover {
+
#menu li:hover {
-
    color: white;
+
     background: url(https://static.igem.org/mediawiki/2009/d/d0/Button_click.png) no-repeat left top;
     background: url(https://static.igem.org/mediawiki/2009/d/d0/Button_click.png) no-repeat left top;
}
}
-
 
+
#menu li:hover a {
 +
    color: white;
 +
}
#menu strong.selflink {
#menu strong.selflink {
     color: #fff;
     color: #fff;
-
    background: url(https://static.igem.org/mediawiki/2009/c/cf/Button.png) no-repeat left top;
 
     display: block;
     display: block;
-
    height: 45px;
 
-
    width: 173px;
 
     font-size: 12px;
     font-size: 12px;
     text-decoration: none;
     text-decoration: none;

Revision as of 02:58, 28 September 2009