Team:Paris/Sandbox

From 2008.igem.org

(Difference between revisions)
Line 24: Line 24:
#menu li a {
#menu li a {
padding: 4px 20px;
padding: 4px 20px;
-
/*background: #c00;*/
 
-
color: black;
 
-
/*border: 1px solid #600;*/
 
font: 2em "Trebuchet MS",Arial,sans-serif;
font: 2em "Trebuchet MS",Arial,sans-serif;
-
/*line-height: 1em;*/
+
text-decoration: none;
 +
/*
text-align: center;
text-align: center;
-
text-decoration: none;
+
color: black;
 +
background: #c00;
 +
border: 1px solid #600;
 +
line-height: 1em;
 +
*/
}
}
#menu li a:hover, #menu li a:focus, #menu li a:active {
#menu li a:hover, #menu li a:focus, #menu li a:active {
-
background: #900;
+
color:white;
 +
background: blue;
text-decoration: underline;
text-decoration: underline;
}
}
#menu a:after {
#menu a:after {
-
width: 23px;
+
height: 25px; width: 25px;
-
padding: 0 23px 0 0;
+
background: white url(https://static.igem.org/mediawiki/2008/4/41/Arrow.png);
-
background: white url(https://static.igem.org/mediawiki/2008/4/41/Arrow.png) 0 0;
+
content: "";
content: "";
 +
padding: 0 25px 0 0;
}
}
-
#menu a:hover:after {
+
#menu li:last-child a:after {
-
background: white url(droite.jpg) 23px 0;
+
background: none;
}
}
-
 
pre {font-size: 1.2em}
pre {font-size: 1.2em}
Line 90: Line 92:
|-valign="top"
|-valign="top"
|style="background:#ffffff"|
|style="background:#ffffff"|
 +
http://css.alsacreations.com/Construction-de-menus-en-CSS/Faire-un-menu-avec-onglets-en-CSS-avec-before-after

Revision as of 20:09, 25 October 2008



http://css.alsacreations.com/Construction-de-menus-en-CSS/Faire-un-menu-avec-onglets-en-CSS-avec-before-after