Difference between revisions of "Team:Jilin China/Navbar CSS"

 
(3 intermediate revisions by the same user not shown)
Line 32: Line 32:
 
.navcontent{
 
.navcontent{
 
width:100%;
 
width:100%;
min-width: 1080px;
+
min-width: 1 080px;
 
box-sizing: border-box;
 
box-sizing: border-box;
 
padding: 0 4.5vw 0 6.5vw;
 
padding: 0 4.5vw 0 6.5vw;
Line 157: Line 157:
 
.navbar.navbar_scrolled .navbottom li a {
 
.navbar.navbar_scrolled .navbottom li a {
 
color:black;
 
color:black;
+
 
+
+
 
 
 
}
 
}
Line 244: Line 242:
 
display: none;
 
display: none;
 
z-index: 99999;
 
z-index: 99999;
 +
pointer-events: none;
 
}
 
}
 
.title_nav h2{
 
.title_nav h2{
Line 298: Line 297:
 
.navbar ul li{
 
.navbar ul li{
 
list-style-type:none;
 
list-style-type:none;
heigth: 100%;
+
height: 100%;
 
width: 100%;
 
width: 100%;
 
min-height: 3rem;
 
min-height: 3rem;
Line 334: Line 333:
 
}
 
}
 
.navbar ul li ul li{
 
.navbar ul li ul li{
height: 3rem;
 
 
line-height: 3rem;
 
line-height: 3rem;
 
min-height: 3rem;
 
min-height: 3rem;
Line 340: Line 338:
 
box-sizing: border-box;
 
box-sizing: border-box;
 
font-size: 14px;
 
font-size: 14px;
 +
height: 100%;
 
}
 
}
 
.navbar ul li ul li:last-of-type{
 
.navbar ul li ul li:last-of-type{
Line 346: Line 345:
  
 
.navbar ul li ul li ul{
 
.navbar ul li ul li ul{
+
display:block;
 
padding: 0;
 
padding: 0;
 
margin: 0 auto;
 
margin: 0 auto;

Latest revision as of 17:27, 17 October 2018