Update headers with new font and color theme

This commit is contained in:
2024-02-18 13:16:02 +01:00
parent 5278b4bfd8
commit 6cf68a52d2
4 changed files with 14 additions and 9 deletions

View File

@@ -127,7 +127,8 @@ figure.fullwidth {
.post-title {
--border: 3px dotted var(--brand-color);
font-size: 2em;
font-family: "Post title font";
font-size: 4em;
color: var(--brand-color);
border-bottom: var(--border);
letter-spacing: -1px;
@@ -156,6 +157,9 @@ figure.fullwidth {
h2,
h3,
h4 {
font-family: "Post title font";
color: rgba(8,76,207,.5);
a {
opacity: 0;
transition: opacity 0.15s ease;
@@ -170,6 +174,14 @@ figure.fullwidth {
}
}
h1 {
@include relative-font-size(2);
@include media-query($on-laptop) {
@include relative-font-size(1.75);
}
}
h2 {
@include relative-font-size(2);

View File

@@ -8,9 +8,5 @@
margin-left: 1.25em;
color: var(--brand-color);
list-style-type: square;
li a {
color: white;
}
}
}

View File

@@ -15,10 +15,6 @@
font-family: "Post title font";
src: url("/assets/fonts/font-title.woff2");
}
@font-face {
font-family: "Post subtitle font";
src: url("/assets/fonts/font-subtitle.woff2");
}
$text-color: #4B5361;
$background-color: #F6F5EF;