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

Line 35: Line 35:
 
   border-left: 0px;
 
   border-left: 0px;
 
   border-right: 0px;
 
   border-right: 0px;
  }
+
}
 
a:visited{
 
a:visited{
 
   color: #91B798;
 
   color: #91B798;
Line 58: Line 58:
  
 
   font-family: "Tahoma, Geneva, sans-serif";
 
   font-family: "Tahoma, Geneva, sans-serif";
}
 
 
nav > div:first-child {
 
  font-family: "Tahoma, Geneva, sans-serif";
 
  font-size: 2.2em;
 
 
}
 
}
  
Line 99: Line 94:
 
   padding-left: 17em;
 
   padding-left: 17em;
 
   padding-top: 20px;
 
   padding-top: 20px;
}
 
nav.nav-hided ~ #content{
 
  padding-left: 2em;
 
 
}
 
}
  
Line 136: Line 128:
 
   height: 40px;
 
   height: 40px;
 
   margin-top: -20px;
 
   margin-top: -20px;
}
 
 
nav > div:first-child {
 
  display: block;
 
  height: 3em;
 
  text-align: center;
 
  line-height: 3em;
 
 
}
 
}
  
Line 218: Line 203:
  
 
     <nav>
 
     <nav>
      <div>SJTU Bio-X</div>
 
 
       <div id="hide-nav" onclick="hide_nav_click(this)"><svg transform="matrix(1,0,0,1,0,0)" width="10px" height="40px"><polygon points="10,0 0,20 10,40"/></svg></div>
 
       <div id="hide-nav" onclick="hide_nav_click(this)"><svg transform="matrix(1,0,0,1,0,0)" width="10px" height="40px"><polygon points="10,0 0,20 10,40"/></svg></div>
 
       <ul>
 
       <ul>
Line 247: Line 231:
 
       </ul>
 
       </ul>
 
     </nav>
 
     </nav>
 +
 +
  <article id="mainArticle">
 
</html>
 
</html>

Revision as of 13:49, 11 August 2015