1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-08-18 16:09:36 +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 */ /* Sidebar */
@media only screen and (max-width: 768px) @media only screen and (max-width: 768px) {
.PageSidebar-sidebar-2UXc0 .PageSidebarItem-isActiveLink-1JpOZ { .PageSidebar-sidebar-2UXc0 {
background-color: #0c1218 !important;
position: fixed; position: fixed;
top: 0; top: 0;
z-index: 2; z-index: 2;
height: 100vh; height: 100vh;
background-color: #0c1218 !important;
}
} }
.PageSidebar-sidebarContainer-2kLcI { .PageSidebar-sidebarContainer-2kLcI {
background: transparent; background: transparent;

View File

@ -662,13 +662,18 @@ pre {
} }
/* Sidebar */ /* Sidebar */
@media only screen and (max-width: 768px) @media only screen and (max-width: 768px) {
.PageSidebar-sidebar-2UXc0 .PageSidebarItem-isActiveLink-1JpOZ { .PageSidebar-sidebar-2UXc0 {
background-color: #0c1218 !important; background: rgba(0, 0, 0, .25);
position: fixed; 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");
top: 0; background-repeat: repeat, no-repeat;
z-index: 2; background-attachment: fixed, fixed;
height: 100vh; 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 { .PageSidebar-sidebarContainer-2kLcI {
background: transparent; background: transparent;