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; | ||
- | |||
- | |||
- | |||
font: 2em "Trebuchet MS",Arial,sans-serif; | font: 2em "Trebuchet MS",Arial,sans-serif; | ||
- | + | text-decoration: none; | |
+ | /* | ||
text-align: center; | text-align: center; | ||
- | + | 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: | + | color:white; |
+ | background: blue; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
#menu a:after { | #menu a:after { | ||
- | + | height: 25px; width: 25px; | |
- | + | 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) | + | |
content: ""; | content: ""; | ||
+ | padding: 0 25px 0 0; | ||
} | } | ||
- | #menu | + | #menu li:last-child a:after { |
- | background: | + | 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