Difference between revisions of "Template:Fudan-CHINA"

Line 370: Line 370:
 
          
 
          
 
     text-align:center;
 
     text-align:center;
 +
   
 
}
 
}
 +
    nav:link{
 +
    color:#666666;   
 +
    }
 
nav ul {
 
nav ul {
 
      
 
      
Line 376: Line 380:
 
padding: 0 20px;
 
padding: 0 20px;
 
display: run-in;
 
display: run-in;
position: relative;
+
position: fixed;
 
background-color: #adadad;
 
background-color: #adadad;
 
top: 0px;
 
top: 0px;
Line 393: Line 397:
 
nav ul li a {
 
nav ul li a {
 
display: block;
 
display: block;
height: 30px;
+
 
 
color: #666666;
 
color: #666666;
 
text-decoration: none;
 
text-decoration: none;
 
font-family: Cambria, Hoefler Text, Liberation Serif, Times, Times New Roman, serif;
 
font-family: Cambria, Hoefler Text, Liberation Serif, Times, Times New Roman, serif;
    padding-top:5px
+
      
  padding-bottom:5px      
+
 
}
 
}
 
nav ul li:hover > ul {
 
nav ul li:hover > ul {
Line 404: Line 407:
 
}
 
}
 
nav ul li:hover {
 
nav ul li:hover {
    background:linear-gradient(to bottom,#4f5964,#5f6975);
+
 
 
}
 
}
 
nav ul li:hover a {
 
nav ul li:hover a {
Line 419: Line 422:
 
nav ul ul li {
 
nav ul ul li {
 
     float:none;
 
     float:none;
    height:30px;
+
 
  
 
}
 
}

Revision as of 11:45, 27 July 2018