Template:Nevada Header CSS

From 2011.igem.org

(Difference between revisions)
m
m
Line 169: Line 169:
}
}
-
/* Bottoms for Banner */
+
/* Navigation */
 +
ul#nav{
 +
  list-style: none;
 +
  background: transparent; 
 +
}
-
.button {
+
a, a:link, a:visited{
-
  border-top: 1px solid #000000;
+
-
  background: #ffffff;
+
-
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#25324e));
+
-
  background: -webkit-linear-gradient(top, #506cab, #25324e);
+
-
  background: -moz-linear-gradient(top, #506cab, #25324e);
+
-
  background: -ms-linear-gradient(top, #506cab, #25324e);
+
-
  background: -o-linear-gradient(top, #506cab, #25324e);
+
-
  padding: 8.5px 10px;
+
-
  -webkit-border-radius: 12px;
+
-
  -moz-border-radius: 12px;
+
-
  border-radius: 12px;
+
-
  -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
+
-
  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
+
-
  box-shadow: #888 0 2px 5px;
+
-
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
+
-
  color: #000;
+
-
  font-size: 13px;
+
-
  font-family: Georgia, Serif;
+
   text-decoration: none;
   text-decoration: none;
-
   vertical-align: middle;
+
}
-
  }
+
 
-
.button:hover {
+
ul#nav li{
-
   border-top-color: #2e3f61;
+
   display: block;
-
   background: #2e3f61;
+
}
-
   color: #000000;
+
 
-
   }
+
#nav li ul{
-
.button:active {
+
   display: block;
-
   border-top-color: #2c4454;
+
  visibility: hidden;
-
   background: #2c4454;
+
  position: relative;
-
   color: #000;
+
  top: 15px;
-
   }
+
   left: 0px;
 +
   width: 40px;
 +
   margin: 0px;
 +
  padding: 2px;
 +
}
 +
 
 +
#nav li:hover ul{
 +
   visibility: visible;
 +
   background: #C20074;
 +
   color: rgba(0,51,0,1);
 +
   z-index: 101;
 +
}
</style>
</style>

Revision as of 03:09, 5 September 2011