mat.services/sass/style/parts/_header.scss

106 lines
1.4 KiB
SCSS

h1.page-header {
font-size: 2.75em;
line-height: 100%;
font-family: var(--header-font);
margin-top: 4rem;
margin-bottom: 1rem;
max-width: 720px;
}
.centered-header {
font-family: var(--header-font);
text-align: center;
font-size: 4em;
line-height: 4rem;
padding-top: 5rem;
padding-bottom: 5rem;
h1.page-header {
margin: 0;
max-width: 100%;
min-width: 100%;
}
}
header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 1em 0;
}
header .main {
font-size: 1.5rem;
/* Otherwise header and menu is too close on small screens*/
margin-bottom: 10px;
}
.meta {
color: var(--text-1);
letter-spacing: -0.5px;
}
h2,
h3,
h4,
h5,
h6 {
margin-top: 1.5rem;
}
h2 {
font-size: 1.5rem;
&::before {
color: var(--primary-color);
content: "# ";
}
}
h3 {
font-size: 1.4rem;
&::before {
color: var(--primary-color);
content: "## ";
}
}
h4 {
font-size: 1.3rem;
&::before {
color: var(--primary-color);
content: "### ";
}
}
h5 {
font-size: 1.2rem;
&::before {
color: var(--primary-color);
content: "#### ";
}
}
h6 {
font-size: 1.1rem;
&::before {
color: var(--primary-color);
content: "##### ";
}
}
.header-dot {
font-family: var(--system-font);
font-size: 5rem;
line-height: 1rem;
}
.post-list-item>.title {
line-height: 2rem;
}