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

106 lines
1.4 KiB
SCSS
Raw Permalink Normal View History

2022-08-28 06:41:20 +00:00
h1.page-header {
2022-08-27 18:27:41 +00:00
font-size: 2.75em;
line-height: 100%;
font-family: var(--header-font);
2022-10-17 02:33:04 +00:00
margin-top: 4rem;
margin-bottom: 1rem;
2022-08-28 06:41:20 +00:00
max-width: 720px;
2022-08-27 18:27:41 +00:00
}
.centered-header {
font-family: var(--header-font);
text-align: center;
font-size: 4em;
2022-10-17 02:33:04 +00:00
line-height: 4rem;
padding-top: 5rem;
padding-bottom: 5rem;
h1.page-header {
margin: 0;
max-width: 100%;
min-width: 100%;
}
2022-08-27 18:27:41 +00:00
}
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;
2022-10-10 00:57:07 +00:00
}
.post-list-item>.title {
line-height: 2rem;
2022-08-27 18:27:41 +00:00
}