Team:Paris Bettencourt/Project/Eliminate Smell
From 2014.igem.org
(Difference between revisions)
Line 110: | Line 110: | ||
} | } | ||
+ | #menu-accordeon { | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | list-style:none; | ||
+ | width: 180px; | ||
+ | } | ||
+ | #menu-accordeon ul { | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | list-style:none; | ||
+ | } | ||
+ | |||
+ | #menu-accordeon li { | ||
+ | border-radius: 6px; | ||
+ | margin-bottom:2px; | ||
+ | } | ||
+ | |||
+ | #menu-accordeon li li { | ||
+ | max-height:0; | ||
+ | overflow: hidden; | ||
+ | transition: all .5s; | ||
+ | border-radius:0; | ||
+ | box-shadow: none; | ||
+ | border:none; | ||
+ | margin-left : 20px; | ||
+ | } | ||
+ | #menu-accordeon a { | ||
+ | display:block; | ||
+ | text-decoration: none; | ||
+ | color: rgb(0,0,0); | ||
+ | padding: 8px 0; | ||
+ | font-family: verdana; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menu-accordeon ul li:last-child { | ||
+ | border-radius: 0 0 6px 6px; | ||
+ | border:none; | ||
+ | } | ||
+ | #menu-accordeon li:hover li { | ||
+ | max-height: 15em; | ||
+ | } | ||
</style> | </style> | ||
Revision as of 17:03, 18 August 2014