mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-01 12:26:00 +00:00
92 lines
1.5 KiB
CSS
92 lines
1.5 KiB
CSS
/*
|
|
-=-=-= NAV =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
*/
|
|
nav {
|
|
margin: 0 0 2rem; padding: 0.5rem;
|
|
|
|
width: calc(100vh - 2rem)); height: 2.5rem;
|
|
|
|
position: static; z-index: 99;
|
|
top: 1rem;
|
|
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
|
|
background-color: var(--bg-3); color: var(--fg);
|
|
|
|
border: 0.2rem solid var(--green);
|
|
/*outline: 0.5rem solid var(--bg);*/
|
|
|
|
border-radius: var(--rad);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
nav p {
|
|
margin: 0;
|
|
vertical-align: middle;
|
|
}
|
|
nav hr {
|
|
margin: 0.5rem 0.2rem; padding: 0;
|
|
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-name *, .nav-name {
|
|
margin: 0;
|
|
|
|
font-family: "Lexend Deca", sans-serif;
|
|
|
|
font-size: 22px;
|
|
|
|
display: block;
|
|
}
|
|
.nav-links {
|
|
width: auto;
|
|
justify-content: space-between;
|
|
}
|
|
@media (max-width: 800px) {
|
|
.nav-name p, .nav-name hr, .nav-name {
|
|
display: none;
|
|
}
|
|
.nav-links {
|
|
width: 100%;
|
|
justify-content: space-around;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 550px) {
|
|
nav {
|
|
margin: 0;
|
|
|
|
width: calc(100vw - 2rem)); height: 3rem;
|
|
|
|
position: fixed;
|
|
top: auto; bottom: 0; left: 0; right: 0;
|
|
|
|
background-color: var(--bg);
|
|
backdrop-filter: blur(8px);
|
|
|
|
border: none;
|
|
border-top: 3px solid var(--green);
|
|
border-radius: 0;
|
|
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
.nav-hide {
|
|
display: none;
|
|
}
|
|
.nav-links a .svg {
|
|
margin: 0;
|
|
}
|
|
|
|
footer {
|
|
margin-bottom: calc(4rem + 3px) !important;
|
|
}
|
|
#back-to-top {
|
|
bottom: 5rem !important;
|
|
}
|
|
nav .svg {
|
|
padding: 0.35rem !important;
|
|
}
|
|
}
|