Difference between revisions of "Team:UChile OpenBio-CeBiB/Collaborations/iGEMManchesterCollaboration"
(Created page with "{{:Team:UChile OpenBio-CeBiB/Template/2}} {{:Team:UChile_OpenBio-CeBiB/Template/bg}} <html> <body> <div class="container" style="margin-top:150px;"> <ul class="acorh"> <li...") |
|||
Line 4: | Line 4: | ||
<body> | <body> | ||
<div class="container" style="margin-top:150px;"> | <div class="container" style="margin-top:150px;"> | ||
+ | <style> | ||
+ | ul.acorh, | ||
+ | ul.acorh * { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | border: 0; | ||
+ | } | ||
+ | ul.acorh { | ||
+ | margin: 10px auto; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | width: 100%; | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | ul.acorh li { | ||
+ | list-style: none; | ||
+ | } | ||
+ | ul.acorh li a { | ||
+ | display: block; | ||
+ | padding: 10px 10px 10px 20px; | ||
+ | background: #333; | ||
+ | color: #eee; | ||
+ | border-bottom: 1px solid #000; | ||
+ | border-top: 1px solid #666; | ||
+ | text-decoration: none; | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | ul.acorh li ul { | ||
+ | max-height: 0; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | overflow: hidden; | ||
+ | transition: .3s all ease-in; | ||
+ | } | ||
+ | ul.acorh li li a { | ||
+ | padding: 10px 10px 10px 40px; | ||
+ | background: #999; | ||
+ | color: #000; | ||
+ | font-size: 16px; | ||
+ | border: 0; | ||
+ | border-bottom: 1px solid #ccc; | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | ul.acorc li li:last-child a { | ||
+ | border-bottom: 0; | ||
+ | } | ||
+ | ul.acorh li:target ul { | ||
+ | max-height: 300px; | ||
+ | transition: .3s all ease-in; | ||
+ | } | ||
+ | ul.acorh li a:hover { | ||
+ | background: #666; | ||
+ | color: #fff; | ||
+ | } | ||
+ | </style> | ||
<ul class="acorh"> | <ul class="acorh"> |
Revision as of 16:16, 30 October 2017