Template:Lyon-INSA-ENS/menuhorizontalFrReal

From 2011.igem.org

(Difference between revisions)
 
(4 intermediate revisions not shown)
Line 32: Line 32:
ul#topnav li a {
ul#topnav li a {
-
padding: 8px 13px;
+
padding: 10px 10px;
font-weight :bold;
font-weight :bold;
display: block;
display: block;
Line 53: Line 53:
ul#topnav li span {
ul#topnav li span {
float: left;
float: left;
-
padding: 10px 0 7px 0;
+
padding: 5px 0 3px 0;
position: absolute;
position: absolute;
left: 0; top:30px;
left: 0; top:30px;
Line 84: Line 84:
text-decoration: none;
text-decoration: none;
         background:#666666;
         background:#666666;
-
 
 
}
}
-
{{Lyon-INSA-ENS/header}}
 
-
<html>
 
-
 
-
<style type="text/css";>
 
-
.firstHeading{background-image: url(https://static.igem.org/mediawiki/2011/e/ef/Lyon_nuit_test_header.jpg); background-repeat: no repeat;}
 
-
</style>
 
-
 
-
<style type="text/css">
 
-
 
-
/* Menu from http://www.sohtanaka.com/web-design/examples/horizontal-subnav/ */
 
-
 
-
#tab_nav {
 
-
position: absolute;
 
-
        margin-top:-50px;
 
-
z-index: 1000;
 
-
}
 
-
 
-
ul#topnav {
 
-
float: left;
 
-
width: 965px;
 
-
list-style: none;
 
-
        margin-left: 0px;
 
-
position: relative;
 
-
background: url("https://static.igem.org/mediawiki/2010/1/19/Topnav_s.gif") repeat-x;
 
-
}
 
-
 
-
ul#topnav li {
 
-
float: left;
 
-
border-right: 1px solid #555;
 
-
        height: 35px;
 
-
 
-
}
 
-
 
-
ul#topnav li a {
 
-
padding: 10px 15px;
 
-
display: block;
 
-
color: #f0f0f0;
 
-
text-decoration: none;
 
-
}
 
-
 
-
ul#topnav li a:hover {
 
-
      text-decoration: none;
 
-
}
 
-
 
-
 
-
ul#topnav li:hover {
 
-
background: #228B22;
 
-
}
 
-
 
-
 
-
/*https://static.igem.org/mediawiki/2010/0/08/Topnav_a.gif*/  /* #1275c9 */
 
-
 
-
ul#topnav li span {
 
-
float: left;
 
-
padding: 10px 0 7px 0;
 
-
position: absolute;
 
-
left: 0; top:30px;
 
-
display: none;
 
-
width:965px;
 
-
background: #006600; /* #1275c9  #f200d0 */;
 
-
color: #fff;
 
-
-moz-border-radius-bottomright: 10px;
 
-
-khtml-border-radius-bottomright: 10px;
 
-
-webkit-border-bottom-right-radius: 10px;
 
-
-moz-border-radius-bottomleft: 10px;
 
-
-khtml-border-radius-bottomleft: 10px;
 
-
-webkit-border-bottom-left-radius: 10px;
 
-
}
 
-
ul#topnav li:hover span { display: block; }
 
-
ul#topnav li span a { display: inline;  font-weight; normal; }
 
-
ul#topnav li span a:hover {text-decoration: underline;}
 
-
#groupparts {
 
-
width: 650px!important;
 
-
}
 
-
 
-
#tab_nav ul li#actif {
 
-
        float: left;
 
-
        height: 15px;
 
-
        border-right: 1px solid #555;
 
-
        padding: 10px 15px;
 
-
font-weight: bold;
 
-
display: block;
 
-
color: white;
 
-
text-decoration: none;
 
-
        background:#666666;
 
-
 
 
-
}
 
-
 

Latest revision as of 14:12, 28 July 2011