Revert "fonts"

This reverts commit 21801b963e.
This commit is contained in:
3wc
2023-01-06 13:03:19 -08:00
parent f0adfc7427
commit 1137e0a1db
31 changed files with 44 additions and 20 deletions

View File

@ -15,20 +15,35 @@ $serif_font: IBMPlexSerif;
$mono_font: IBMPlexMono;
@font-face {
@include define-font-family($serif_font, normal, italic, 'IBMPlexSerif-Italic.woff2')
@include define-font-family($sans_font, normal, italic, 'IBMPlexSans-Italic.woff2')
}
@font-face {
@include define-font-family($sans_font, normal, null, 'IBMPlexSans-Regular.woff2')
}
@font-face {
@include define-font-family($sans_font, 200, null, 'IBMPlexSans-Light.woff2')
}
@font-face {
@include define-font-family($sans_font, bold, italic, 'IBMPlexSans-BoldItalic.woff2')
}
@font-face {
@include define-font-family($sans_font, 700, null, 'IBMPlexSans-Medium.woff2')
}
@font-face {
@include define-font-family($sans_font, lighter, italic, 'IBMPlexSans-LightItalic.woff2')
}
@font-face {
@include define-font-family($serif_font, normal, italic, 'IBMPlexSerif-Italic.woff2')
}
@font-face {
@include define-font-family($serif_font, lighter, null, 'IBMPlexSerif-Light.woff2')
}
@font-face {
@include define-font-family($serif_font, lighter, italic, 'IBMPlexSerif-LightItalic.woff2')
}
@font-face {
@include define-font-family($mono_font, normal, null, 'IBMPlexMono-Regular.woff2')
}
@font-face {
@include define-font-family($mono_font, 700, null, 'IBMPlexMono-Medium.woff2')
}
@font-face {
@include define-font-family($serif_font, normal, null, 'IBMPlexSerif-Regular.woff2')
}
@font-face {
@include define-font-family($serif_font, normal, bold, 'IBMPlexSerif-Bold.woff2')
}

View File

@ -23,14 +23,6 @@ body {
color: #eb2b2b;
}
}
.order-link {
font-family: $mono_font !important;
font-size: 1.1rem;
text-align: center;
//display: inline-block;
@media (max-width: 480px) { padding-top: 1em; }
}
}
.red-text{
@ -367,10 +359,20 @@ footer {
h1{
text-align: center;
color: #eb2b2b;
}
.book-cover { margin-top: 2em; }
.order-link {
text-decoration: underline;
font-size: 1.2rem;
color: #eb2b2b;
text-align: center;
//display: inline-block;
@media (max-width: 480px) { padding-top: 1em; }
}
margin-bottom: 1.5em;
}
@ -390,12 +392,19 @@ footer {
}
.testimonial-card {
font-family: $mono_font;
font-size: 16px;
text-transform: capitalize;
font-weight: bold;
border: 1px solid;
color: #eb2b2b;
padding: 1em;
margin-bottom: 2rem;
.testimonial-author {
font-weight: normal;
font-family: $serif_font;
font-size: 16px;
}
}
}