website/components/Header.module.css
2026-11-04 12:47:20 -08:00

89 lines
1.2 KiB
CSS

/* header */
.header {
align-items: center;
background: var(--background-primary);
box-shadow: var(--box-shadow);
display: flex;
height: var(--header-height);
justify-content: center;
position: fixed;
width: 100dvw;
z-index: 1;
}
.header > div {
align-items: center;
display: flex;
justify-content: space-between;
height: inherit;
width: 650px;
}
@media (max-width: 850px) {
.header div {
margin: 0 0.5em;
}
}
/* title */
.title div {
color: var(--color-text);
font-size: 20px;
}
@media (max-width: 850px) {
.title div {
font-size: 16px;
}
}
/* menu */
.menu ul {
align-items: center;
display: flex;
justify-content: center;
list-style: none inside none;
}
.menu li {
margin: 0.75em;
}
@media (max-width: 850px) {
.menu li {
font-size: 14px;
margin: 0.5em;
}
}
/* button */
.themeButton {
display: flex;
margin-left: 1em;
}
/* display */
.showMobile {
display: none !important;
}
@media (max-width: 375px) {
.showMobile {
display: block !important;
}
}
.showDesktop {
display: block !important;
}
@media (max-width: 375px) {
.showDesktop {
display: none !important;
}
}