Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"
Line 39: | Line 39: | ||
/* color & font BEGIN */ | /* color & font BEGIN */ | ||
− | |||
− | |||
− | |||
nav #hide-nav svg * { | nav #hide-nav svg * { | ||
− | fill: # | + | fill: #109E52; |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
nav, nav > ul > li:not(:first-child) a { | nav, nav > ul > li:not(:first-child) a { | ||
background-color: #EEEEEE; | background-color: #EEEEEE; | ||
+ | color: #109E52; | ||
+ | } | ||
+ | nav > ul > li:first-child a{ | ||
+ | color: black; | ||
} | } | ||
nav { | nav { | ||
− | |||
box-shadow: 5px 0px 3px; | box-shadow: 5px 0px 3px; | ||
Line 124: | Line 121: | ||
nav > div:first-child { | nav > div:first-child { | ||
display: block; | display: block; | ||
− | height: | + | height: 3em; |
text-align: center; | text-align: center; | ||
− | line-height: | + | line-height: 3em; |
} | } | ||
Line 199: | Line 196: | ||
<nav> | <nav> | ||
<div>SJTU Bio-X</div> | <div>SJTU Bio-X</div> | ||
− | <div id="hide-nav" onclick="hide_nav_click(this)"><svg width="10px" height=" | + | <div id="hide-nav" onclick="hide_nav_click(this)"><svg width="10px" height="40px"><polygon points="10,0 0,20 10,40"/></svg></div> |
<ul> | <ul> | ||
<li><a href="#">home</a></li> | <li><a href="#">home</a></li> |
Revision as of 13:51, 10 August 2015