hugo-theme-paradox/assets/styles/components/site-header.scss

74 lines
1.1 KiB
SCSS
Raw Normal View History

.site-masthead {
display: inline-flex;
flex-flow: row;
align-items: center;
gap: 1em;
2022-10-16 22:15:34 +00:00
text-decoration: none;
2022-12-18 14:10:54 +00:00
img {
2022-12-23 11:21:41 +00:00
block-size: 2rem;
2022-12-18 14:10:54 +00:00
}
svg {
2022-12-23 11:21:41 +00:00
block-size: 2rem;
inline-size: 100%;
2022-12-18 14:10:54 +00:00
}
}
.site-title {
font-weight: 900;
letter-spacing: -0.5px;
font-size: 1.25em;
}
2022-12-18 14:10:54 +00:00
.site-masthead:link, .site-masthead:visited {
color: var(--ui-text);
}
2022-12-18 14:10:54 +00:00
.color-switcher {
display: grid;
place-items: center;
2022-12-23 11:21:41 +00:00
margin-inline-start: auto;
margin-inline-end: 0.5em;
}
2022-12-18 14:10:54 +00:00
.site-header {
.container {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
gap: 1em;
}
2022-12-23 11:21:41 +00:00
padding-block: 1em;
2022-12-18 14:10:54 +00:00
a {
font-weight: 500;
}
.hang-left {
display: flex;
gap: 1em;
flex-flow: row wrap;
2022-12-23 11:21:41 +00:00
max-inline-size: 100%;
2022-12-18 14:10:54 +00:00
flex-grow: 1;
justify-content: space-between;
}
2022-10-16 22:49:29 +00:00
}
.header-nav {
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
.menu {
display: flex;
flex-flow: row wrap;
gap: 1em;
2022-12-18 14:10:54 +00:00
li {
display: grid;
}
2022-10-16 22:49:29 +00:00
a {
display: flex;
align-items: center;
gap: 0.5em;
2022-10-16 23:04:05 +00:00
&:after {
display: none;
}
2022-10-16 22:49:29 +00:00
}
}
}