squash commit
This commit is contained in:
commit
c5a99d9522
53 changed files with 1734 additions and 0 deletions
82
components/Header.module.css
Normal file
82
components/Header.module.css
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
/* 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;
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.header div {
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
/* title */
|
||||
|
||||
.title div {
|
||||
color: var(--color-text);
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
|
||||
/* show/hide */
|
||||
|
||||
.showMobile {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 375px) {
|
||||
.showMobile {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
.showDesktop {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
@media (max-width: 375px) {
|
||||
.showDesktop {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue