1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-07-15 00:57:32 +02:00

fixed sidebar again

This commit is contained in:
GilbN 2018-08-17 22:27:54 +02:00
parent 18f25cc2b9
commit 71f1f634d7
2 changed files with 16 additions and 10 deletions

View File

@ -622,13 +622,14 @@ pre {
}
/* Sidebar */
@media only screen and (max-width: 768px)
.PageSidebar-sidebar-2UXc0 .PageSidebarItem-isActiveLink-1JpOZ {
background-color: #0c1218 !important;
@media only screen and (max-width: 768px) {
.PageSidebar-sidebar-2UXc0 {
position: fixed;
top: 0;
z-index: 2;
height: 100vh;
background-color: #0c1218 !important;
}
}
.PageSidebar-sidebarContainer-2kLcI {
background: transparent;

View File

@ -662,13 +662,18 @@ pre {
}
/* Sidebar */
@media only screen and (max-width: 768px)
.PageSidebar-sidebar-2UXc0 .PageSidebarItem-isActiveLink-1JpOZ {
background-color: #0c1218 !important;
position: fixed;
top: 0;
z-index: 2;
height: 100vh;
@media only screen and (max-width: 768px) {
.PageSidebar-sidebar-2UXc0 {
background: rgba(0, 0, 0, .25);
background-image: url("https://cdn.rawgit.com/gilbN/theme.park/master/Resources/blur-noise.png"), url("https://cdn.rawgit.com/gilbN/theme.park/master/Resources/blur-light.png");
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;*/
}
}
.PageSidebar-sidebarContainer-2kLcI {
background: transparent;