fix build
This commit is contained in:
parent
c0ee8a4a11
commit
71590024e7
28 changed files with 943 additions and 2 deletions
95
styles/header.css
Normal file
95
styles/header.css
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
/* header */
|
||||
|
||||
.header {
|
||||
background: var(--background-primary);
|
||||
box-shadow: var(--box-shadow);
|
||||
height: var(--header-height);
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.header > div {
|
||||
display: flex;
|
||||
height: inherit;
|
||||
justify-content: space-between;
|
||||
margin: 0 2em;
|
||||
}
|
||||
|
||||
/* header-title */
|
||||
|
||||
.header-title {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.header-title a {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.header-title img {
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.header-title img {
|
||||
height: 27px;
|
||||
width: 27px;
|
||||
}
|
||||
}
|
||||
|
||||
.header-title-text {
|
||||
color: var(--color-text);
|
||||
font-size: 20px;
|
||||
font-weight: 300; /* cancel link weight */
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.header-title-text {
|
||||
font-size: 15px;
|
||||
margin-left: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
/* header-menu */
|
||||
|
||||
.header-menu {
|
||||
display: flex;
|
||||
height: var(--header-height);
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.header-menu > div {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.header-menu ul {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
list-style: none inside none;
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.header-menu ul {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.header-menu li {
|
||||
margin: 0.6em;
|
||||
}
|
||||
|
||||
/* header-divider */
|
||||
|
||||
.header-divider {
|
||||
color: var(--color-theme);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue