Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"
Line 27: | Line 27: | ||
nav ul { | nav ul { | ||
padding: 3px 5px; | padding: 3px 5px; | ||
− | margin: | + | margin: 0; |
− | + | ||
− | + | ||
} | } | ||
nav > ul { | nav > ul { | ||
margin-top: 70px; | margin-top: 70px; | ||
+ | margin-bottom: 20px; | ||
+ | background-color: lightblue; | ||
+ | } | ||
+ | nav > ul ul { | ||
+ | background-color: grey; | ||
} | } | ||
nav li { | nav li { | ||
Line 39: | Line 42: | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
min-height: 30px; | min-height: 30px; | ||
− | |||
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
nav li:first-child { | nav li:first-child { | ||
margin-top: 3px; | margin-top: 3px; | ||
+ | } | ||
nav li:last-child { | nav li:last-child { | ||
margin-bottom: 0px; | margin-bottom: 0px; |
Revision as of 03:29, 16 July 2015