Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"
Line 42: | Line 42: | ||
nav a { | nav a { | ||
− | font-family: | + | font-family: Arial; |
+ | font-size: 1.5em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
Line 71: | Line 72: | ||
nav { | nav { | ||
− | |||
position: fixed; | position: fixed; | ||
top: 0px; | top: 0px; | ||
left: 0px; | left: 0px; | ||
height: 100%; | height: 100%; | ||
− | width: | + | width: 15em; |
− | padding-top: | + | padding-top: 2em; |
− | padding-right: | + | padding-right: 1em; |
overflow: visible; | overflow: visible; | ||
} | } | ||
Line 86: | Line 86: | ||
height: 80px; | height: 80px; | ||
text-align: center; | text-align: center; | ||
− | line-height: | + | line-height: 3em; |
} | } | ||
Line 101: | Line 101: | ||
padding: 0px; | padding: 0px; | ||
top: 0px; | top: 0px; | ||
− | left: | + | left: 15em; |
height: 0px; | height: 0px; | ||
width: 0px; | width: 0px; | ||
Line 108: | Line 108: | ||
nav > ul > li:hover ul, nav > ul > li ul:hover { | nav > ul > li:hover ul, nav > ul > li ul:hover { | ||
height: 135px; | height: 135px; | ||
− | width: | + | width: 15em; |
} | } | ||
− | nav | + | nav li { |
margin-top: 0px; | margin-top: 0px; | ||
margin-bottom: 1px; | margin-bottom: 1px; | ||
Line 124: | Line 124: | ||
display: block; | display: block; | ||
padding-left: 40px; | padding-left: 40px; | ||
− | height: | + | height: 3em; |
− | line-height: | + | line-height: 3em; |
} | } | ||
nav > ul ul a { | nav > ul ul a { | ||
− | padding-left: | + | padding-left: 2px; |
width: 230px; | width: 230px; | ||
} | } | ||
Line 134: | Line 134: | ||
content: "+"; | content: "+"; | ||
position: absolute; | position: absolute; | ||
− | left: | + | left: 1em; |
} | } | ||
/* layout END */ | /* layout END */ |
Revision as of 07:04, 10 August 2015