Difference between revisions of "Team:CGU Taiwan"

Line 6: Line 6:
 
}
 
}
  
nav ul li: hover > ul {
+
nav ul li:hover > ul {
 
display: block;
 
display: block;
 
}
 
}
Line 16: Line 16:
 
box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
 
box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
 
padding: 0 20px;
 
padding: 0 20px;
border-radius: 5px;   
+
border-radius: 10px;   
 
list-style: none;
 
list-style: none;
 
position: relative;
 
position: relative;
Line 27: Line 27:
 
float: left;
 
float: left;
 
}
 
}
nav ul li: {
+
nav ul li:hover {
 
background: #4b545f;
 
background: #4b545f;
 
background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
 
background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
Line 37: Line 37:
 
}
 
}
 
 
nav ul li a: {
+
nav ul li a {
display: block; padding: 15px 20px;
+
display: block; padding: 25px 40px;
 
color: #757575; text-decoration: none;
 
color: #757575; text-decoration: none;
 
}
 
}
Line 50: Line 50:
 
border-bottom: 1px solid #575f6a;
 
border-bottom: 1px solid #575f6a;
 
position: relative;
 
position: relative;
                z-index: 1;
 
 
}
 
}
 
nav ul ul li a {
 
nav ul ul li a {
 
padding: 15px 40px;
 
padding: 15px 40px;
 
color: #fff;
 
color: #fff;
                        z-index: 1;
 
 
}
 
}
nav ul ul li a {
+
nav ul ul li a:hover {
 
background: #4b545f;
 
background: #4b545f;
                                z-index: 1;
 
 
}
 
}
  

Revision as of 12:46, 4 July 2016

1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three