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

Line 32: Line 32:
 
}
 
}
 
nav > ul {
 
nav > ul {
     margin-top: 30px;
+
     margin-top: 70px;
 
}
 
}
nav > li {
+
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: red;
+
     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: 100%;
+
     line-height: 30px;
 
     text-align: center;
 
     text-align: center;
 
     font-size: 15px;
 
     font-size: 15px;
}
 
nav > ul > li > ul > li {
 
    display: block;
 
    list-style-type: none;
 
    margin-bottom: 2px;
 
    margin-top: 3px;
 
    background-color: grey;
 
}
 
nav > ul > li > ul > li:last-child {
 
    margin-bottom: 0px;
 
 
}
 
}
  

Revision as of 03:23, 16 July 2015