You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.2 KiB
86 lines
1.2 KiB
4 years ago
|
.wrapper {
|
||
|
position: absolute;
|
||
|
height: calc(100vh - 30px);
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
|
#main-page {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.nav-left {
|
||
|
background-color: #292929;
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
@media (max-width:749px) {
|
||
|
.nav-left {
|
||
|
width: 100vw;
|
||
|
bottom: 0;
|
||
|
height: 5rem;
|
||
|
}
|
||
|
|
||
|
.nav-list li {
|
||
|
margin-right: 2rem;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
|
||
|
.nav-list-top {
|
||
|
left: 2rem;
|
||
|
}
|
||
|
|
||
|
.nav-list-bottom {
|
||
|
right: 2rem;
|
||
|
}
|
||
|
|
||
|
.wrapper {
|
||
|
width: 100vw;
|
||
|
height: calc(100vh - 7.5rem);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (min-width:750px) {
|
||
|
.wrapper {
|
||
|
min-width: calc(100vw - 10rem);
|
||
|
width: 85vw;
|
||
|
max-width: calc(100vw - 6rem);
|
||
|
}
|
||
|
|
||
|
.nav-left {
|
||
|
top: 0;
|
||
|
height: calc(100vh - 30px);
|
||
|
min-width: 6rem;
|
||
|
width: 15vw;
|
||
|
max-width: 10rem;
|
||
|
}
|
||
|
|
||
|
li.active {
|
||
|
border-left: 3px solid #efefef;
|
||
|
padding-left: -3px;
|
||
|
}
|
||
|
|
||
|
.nav-list-top {
|
||
|
top: 2rem;
|
||
|
}
|
||
|
|
||
|
.nav-list li {
|
||
|
width: 100%;
|
||
|
margin-bottom: 2rem;
|
||
|
}
|
||
|
|
||
|
.nav-list {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
.nav-list {
|
||
|
list-style-type: none;
|
||
|
bottom: 0;
|
||
|
}
|
||
|
|
||
|
.nav-list li {
|
||
|
float: left;
|
||
|
cursor: pointer;
|
||
|
}
|