Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"

Line 84: Line 84:
 
   background-color: #EEEEEE;
 
   background-color: #EEEEEE;
 
   color: #109E52;
 
   color: #109E52;
 +
}
 +
nav > ul > li:not(:first-child) li a {
 +
  background-color: #647E6A;
 +
  opacity: 0.85;
 
}
 
}
 
nav > ul > li:first-child  a{
 
nav > ul > li:first-child  a{
Line 111: Line 115:
 
   background-color: #FFFFFF;
 
   background-color: #FFFFFF;
 
}
 
}
nav ul ul a {
+
 
  background-color: #647E6A;
+
  opacity: 0.85;
+
}
+
  
 
nav > ul > li:first-child > a {
 
nav > ul > li:first-child > a {
Line 188: Line 189:
  
 
nav svg {
 
nav svg {
 +
  margin: auto;
 
   transform: matrix(1,0,0,1,0,0);
 
   transform: matrix(1,0,0,1,0,0);
 
}
 
}
Line 290: Line 292:
  
 
     <nav>
 
     <nav>
       <div id="hide-nav" onclick="toggle_nav(this)"><svg width="10px" height="40px"><polygon points="6,0 1,12 6,24"/></svg></div>
+
       <div id="hide-nav" onclick="toggle_nav(this)"><svg width="6px" height="24px"><polygon points="6,0 0,12 6,24"/></svg></div>
 
       <div id="shade"></div>
 
       <div id="shade"></div>
 
       <ul>
 
       <ul>

Revision as of 14:16, 17 August 2015