2020-03-14 16:17:04 +08:00
|
|
|
.nav {
|
|
|
|
position relative
|
|
|
|
width 100%
|
|
|
|
height 100%
|
|
|
|
box-sizing border-box
|
|
|
|
background: #fff
|
|
|
|
border-bottom 1px solid #f2f2f2
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
.menu-list {
|
|
|
|
position: absolute
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
|
|
|
.menu-item {
|
|
|
|
float: left
|
|
|
|
padding-right: 20px
|
|
|
|
|
|
|
|
a {
|
2020-03-20 15:30:39 +08:00
|
|
|
color: #6a6a6a;
|
2020-03-14 16:17:04 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #4786D6;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.current {
|
|
|
|
color: #5A5A5A;
|
|
|
|
padding-bottom: 20px;
|
2020-03-20 15:30:39 +08:00
|
|
|
border-bottom: 1px solid #4a4a4a;
|
2020-03-14 16:17:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|