Move site_header.css from 099 to 080
This commit is contained in:
parent
04ebd4f10a
commit
36bee20ec4
2 changed files with 65 additions and 46 deletions
65
assets/css/080_site_header.css
Normal file
65
assets/css/080_site_header.css
Normal file
|
@ -0,0 +1,65 @@
|
|||
/*************************
|
||||
# COMPONENT: SITE HEADER
|
||||
*************************/
|
||||
|
||||
.site-header {
|
||||
--color-nav-separator: var(--gray6);
|
||||
|
||||
font-family: var(--font-family-monospace);
|
||||
margin-block: var(--space-m) var(--space-xl);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.site-header {
|
||||
--color-nav-separator: var(--gray4);
|
||||
}
|
||||
}
|
||||
|
||||
.site-header__content {
|
||||
border-bottom: 2px dashed var(--gray6);
|
||||
gap: var(--space-l);
|
||||
padding-bottom: var(--space-xs);
|
||||
|
||||
.site-header__title {
|
||||
color: var(--gray1);
|
||||
font-size: var(--text-m);
|
||||
font-weight: normal;
|
||||
letter-spacing: 0.05em;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
font-size: var(--text-s);
|
||||
font-weight: normal;
|
||||
|
||||
ul {
|
||||
--spacing: 1ch;
|
||||
|
||||
display: flex;
|
||||
gap: var(--spacing);
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li:not(:first-child)::before {
|
||||
color: var(--color-nav-separator);
|
||||
content: ":";
|
||||
font-weight: bold;
|
||||
justify-content: center;
|
||||
margin-inline-end: var(--spacing);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
/*************************
|
||||
# COMPONENT: SITE HEADER
|
||||
*************************/
|
||||
|
||||
.site-header {
|
||||
font-size: var(--text-xxl);
|
||||
margin-block-start: var(--space-xl);
|
||||
padding-block-end: var(--space-xl);
|
||||
}
|
||||
|
||||
.site-header__content {
|
||||
gap: var(--space-l);
|
||||
|
||||
.site-header__title {
|
||||
font-family: var(--font-family-heading);
|
||||
font-size: var(--text-xxl);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.05em;
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
font-size: var(--text-s);
|
||||
font-weight: normal;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
gap: var(--space-xs);
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li:not(:first-child)::before {
|
||||
content: "•";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue