php-gallery/css/nav.css

54 lines
846 B
CSS
Raw Normal View History

2022-07-22 00:21:48 +00:00
/*
-=-=-= 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);
}
2022-07-23 07:44:43 +00:00
nav h3 {
margin: 0;
}
nav hr {
2022-07-24 09:43:54 +00:00
margin: 0.5rem 0.2rem; padding: 0;
2022-07-23 14:03:11 +00:00
opacity: 0;
}
.nav-name h3, .nav-name {
display: block;
}
.nav-links {
width: auto;
justify-content: space-between;
}
2022-07-25 15:13:26 +00:00
@media (max-width: 800px) {
2022-07-23 14:03:11 +00:00
.nav-name h3, .nav-name {
display: none;
}
.nav-links {
width: 100%;
justify-content: space-around;
}
2022-07-23 07:44:43 +00:00
}
2022-07-26 11:33:28 +00:00
@media (max-width: 400px) {
.nav-hide {
display: none;
}
.nav-links a .svg {
margin: 0;
}
}