Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"
Line 32: | Line 32: | ||
} | } | ||
nav > ul { | nav > ul { | ||
− | margin-top: | + | margin-top: 70px; |
} | } | ||
− | nav | + | nav li { |
display: block; | display: block; | ||
list-style-type: none; | list-style-type: none; | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
min-height: 30px; | min-height: 30px; | ||
− | background-color: | + | background-color: grey; |
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
+ | nav li:first-child { | ||
+ | margin-top: 3px; | ||
+ | nav li:last-child { | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
+ | |||
nav a { | nav a { | ||
display: block; | display: block; | ||
background-color: lightcyan; | background-color: lightcyan; | ||
− | line-height: | + | line-height: 30px; |
text-align: center; | text-align: center; | ||
font-size: 15px; | font-size: 15px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Revision as of 03:23, 16 July 2015