Team:Grenoble-EMSE-LSU/Design/Menu Left Couleurs
From 2013.igem.org
Line 1: | Line 1: | ||
- | /***** | + | /***** General *****/ |
- | + | body | |
{ | { | ||
- | + | background: #ffdada; | |
- | + | ||
} | } | ||
- | a | + | div a |
{ | { | ||
- | + | font: normal Palatino, Palatino Linotype, Georgia, Times, Times New Roman, serif; | |
+ | font-weight: bold; | ||
} | } | ||
- | + | ||
+ | /***** Title and subsubnav *****/ | ||
+ | |||
+ | /***** Border *****/ | ||
+ | |||
+ | div li.title | ||
{ | { | ||
- | + | list-style: none; | |
+ | border: 2px solid; | ||
+ | border-radius: 5px; | ||
} | } | ||
- | + | div[id="Home"] li.title | |
{ | { | ||
- | color: # | + | border-color: #ff8300; |
} | } | ||
- | + | div[id="Project"] li.title | |
{ | { | ||
- | color: | + | border-color: red; |
} | } | ||
- | + | div[id="Documentation"] li.title | |
{ | { | ||
- | color: # | + | border-color: #00b3ff; |
} | } | ||
- | + | div[id="HP"] li.title | |
{ | { | ||
- | color: | + | border-color: #00c300; |
} | } | ||
- | + | div[id="Team"] li.title | |
{ | { | ||
- | color: | + | border-color: #9901c7; |
} | } | ||
+ | /***** Title *****/ | ||
- | + | div a.title | |
+ | { | ||
+ | font-size: 20px; | ||
+ | } | ||
- | div | + | div[id="Home"] a.title |
{ | { | ||
- | + | color: #ff8300; | |
- | + | ||
} | } | ||
- | + | div[id="Project"] a.title, div[id="Project"] ul li.subsub a | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | div[id=" | + | |
{ | { | ||
color: red; | color: red; | ||
} | } | ||
- | div[id=" | + | div[id="Documentation"] a.title, div[id="Documentation"] ul li.subsub a |
{ | { | ||
- | color: # | + | color: #00b3ff; |
} | } | ||
- | div[id=" | + | div[id="HP"] a.title, div[id="HP"] ul li.subsub a |
+ | { | ||
+ | color: #00c300; | ||
+ | } | ||
+ | |||
+ | div[id="Team"] a.title, div[id="Team"] ul li.subsub a | ||
{ | { | ||
color: #9901c7; | color: #9901c7; | ||
} | } | ||
- | div | + | |
+ | /***** Basic Colors *****/ | ||
+ | |||
+ | /* Color */ | ||
+ | |||
+ | div ul li.sub a | ||
{ | { | ||
- | color: | + | color: white; |
+ | font-weight: bold; | ||
+ | font-size: 16px; | ||
} | } | ||
- | div | + | div ul li.subsub a |
{ | { | ||
- | + | font-size: 14px; | |
} | } | ||
- | div[id=" | + | /* Background */ |
+ | |||
+ | div[id="Project"] ul li.sub | ||
{ | { | ||
- | + | background: #ff9898; | |
} | } | ||
- | div[id=" | + | div[id="Documentation"] ul li.sub |
{ | { | ||
- | + | background: #91deff; | |
} | } | ||
- | + | div[id="HP"] ul li.sub | |
+ | { | ||
+ | background: #76e974; | ||
+ | } | ||
- | ul | + | div[id="Team"] ul li.sub |
{ | { | ||
- | background: | + | background: #c476fd; |
} | } | ||
+ | |||
Line 103: | Line 126: | ||
/* Color */ | /* Color */ | ||
- | div | + | div ul li.subsub:hover a |
{ | { | ||
color: white; | color: white; | ||
Line 110: | Line 133: | ||
/* Background */ | /* Background */ | ||
- | div[id=" | + | div[id="Project"] ul li.sub:hover, div[id="Project"] ul li.subsub:hover |
{ | { | ||
background: red; | background: red; | ||
} | } | ||
- | div[id=" | + | div[id="Documentation"] ul li.sub:hover, div[id="Documentation"] ul li.subsub:hover |
{ | { | ||
- | background: # | + | background: #00b3ff; |
} | } | ||
- | div[id=" | + | div[id="HP"] ul li.sub:hover, div[id="HP"] ul li.subsub:hover |
{ | { | ||
- | background: # | + | background: #00c300; |
} | } | ||
- | div[id=" | + | div[id="Team"] ul li.sub:hover, div[id="Team"] ul li.subsub:hover |
{ | { | ||
background: #9901c7; | background: #9901c7; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | + | /***** Menu actif *****/ | |
- | + | ||
- | + | ||
- | + | ||
- | div | + | /*div li.sub:active, div li.subsub:active |
{ | { | ||
- | + | border: 2px solid red; | |
- | + | border-radius: 5px; | |
- | + | }*/ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + |
Revision as of 14:04, 9 July 2013
/***** General *****/
body { background: #ffdada; }
div a { font: normal Palatino, Palatino Linotype, Georgia, Times, Times New Roman, serif; font-weight: bold; }
/***** Title and subsubnav *****/
/***** Border *****/
div li.title { list-style: none; border: 2px solid; border-radius: 5px; }
div[id="Home"] li.title { border-color: #ff8300; }
div[id="Project"] li.title { border-color: red; }
div[id="Documentation"] li.title { border-color: #00b3ff; }
div[id="HP"] li.title { border-color: #00c300; }
div[id="Team"] li.title { border-color: #9901c7; }
/***** Title *****/
div a.title { font-size: 20px; }
div[id="Home"] a.title { color: #ff8300; }
div[id="Project"] a.title, div[id="Project"] ul li.subsub a { color: red; }
div[id="Documentation"] a.title, div[id="Documentation"] ul li.subsub a { color: #00b3ff; }
div[id="HP"] a.title, div[id="HP"] ul li.subsub a { color: #00c300; }
div[id="Team"] a.title, div[id="Team"] ul li.subsub a { color: #9901c7; }
/***** Basic Colors *****/
/* Color */
div ul li.sub a { color: white; font-weight: bold; font-size: 16px; }
div ul li.subsub a { font-size: 14px; }
/* Background */
div[id="Project"] ul li.sub { background: #ff9898; }
div[id="Documentation"] ul li.sub { background: #91deff; }
div[id="HP"] ul li.sub { background: #76e974; }
div[id="Team"] ul li.sub { background: #c476fd; }
/***** Survolement menu *****/
/* Color */
div ul li.subsub:hover a { color: white; }
/* Background */
div[id="Project"] ul li.sub:hover, div[id="Project"] ul li.subsub:hover { background: red; }
div[id="Documentation"] ul li.sub:hover, div[id="Documentation"] ul li.subsub:hover { background: #00b3ff; }
div[id="HP"] ul li.sub:hover, div[id="HP"] ul li.subsub:hover { background: #00c300; }
div[id="Team"] ul li.sub:hover, div[id="Team"] ul li.subsub:hover { background: #9901c7; }
/***** Menu actif *****/
/*div li.sub:active, div li.subsub:active { border: 2px solid red; border-radius: 5px; }*/