Merge pull request #136 from zjedi/pr/left-sticky-menu-guard

Visual guard for left menu to improve readability against dark sectio…
This commit is contained in:
zjedi 2023-04-04 22:36:11 +02:00 committed by GitHub
commit f3255c24cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -4,6 +4,7 @@
========================================================================== */
@media only screen and (max-width: 1130px) {
/* makes it a top sticky menu */
.fixed-nav {
opacity: 1;
position: fixed;

View file

@ -96,12 +96,14 @@ body {
}
// ========== Sticky menus ===========
/* Left sticky menu */
.fixed-nav {
background-color: var(--section-light-bg-color);
border-radius: 0 25px 20px 0;
padding: 1em 1.5em;
display: none;
opacity: 1;
position: fixed;
top: 40px;
left: 2%;
z-index: 99999;
font-family: "Open Sans Condensed", sans-serif;
text-transform: uppercase;