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

Line 33: Line 33:
 
   background-color: #71B798;
 
   background-color: #71B798;
 
}
 
}
nav li {
+
nav a {
 
   background-color: #EEE;
 
   background-color: #EEE;
 
}
 
}
nav li:hover {
+
nav a:hover {
 
   background-color: #GGG;
 
   background-color: #GGG;
 
}
 
}
Line 120: Line 120:
 
   width: 230px;
 
   width: 230px;
 
}
 
}
nav > ul > li > a:not(:last-child)::after {
+
nav > ul > li > a:not(:last-child)::before {
 
   content: "+";
 
   content: "+";
   float: right;
+
   float: left;
   margin-right: 10px;
+
   margin-left: 10px;
 
}
 
}
 
/* layout END */
 
/* layout END */
Line 139: Line 139:
 
   opacity: 0.99;
 
   opacity: 0.99;
 
}
 
}
nav li {
+
nav a {
 
   transition: background-color 0.1s;
 
   transition: background-color 0.1s;
 
}
 
}

Revision as of 06:24, 10 August 2015