mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-01-01 04:16:00 +00:00
54 lines
846 B
CSS
54 lines
846 B
CSS
/*
|
|
-=-=-= NAV =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
*/
|
|
nav {
|
|
margin: 0 0 2rem; padding: 0.5rem;
|
|
|
|
width: calc(100vh - 2rem)); height: 2.5rem;
|
|
|
|
align-items: center;
|
|
|
|
background-color: var(--bg); color: var(--fg);
|
|
|
|
border: 0.2rem solid var(--green);
|
|
outline: 0.5rem solid var(--bg);
|
|
|
|
border-radius: var(--rad);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
nav h3 {
|
|
margin: 0;
|
|
}
|
|
nav hr {
|
|
margin: 0.5rem 0.2rem; padding: 0;
|
|
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-name h3, .nav-name {
|
|
display: block;
|
|
}
|
|
.nav-links {
|
|
width: auto;
|
|
justify-content: space-between;
|
|
}
|
|
@media (max-width: 800px) {
|
|
.nav-name h3, .nav-name {
|
|
display: none;
|
|
}
|
|
.nav-links {
|
|
width: 100%;
|
|
justify-content: space-around;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.nav-hide {
|
|
display: none;
|
|
}
|
|
.nav-links a .svg {
|
|
margin: 0;
|
|
}
|
|
}
|