forked from autonomic-cooperative/sophie-lewis-hugo
fonts
This commit is contained in:
@ -14,32 +14,11 @@ $sans_font: IBMPlexSans;
|
||||
$serif_font: IBMPlexSerif;
|
||||
$mono_font: IBMPlexMono;
|
||||
|
||||
@font-face {
|
||||
@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')
|
||||
@include define-font-family($sans_font, normal, null, 'IBMPlexSans-Regular.woff2')
|
||||
}
|
||||
@font-face {
|
||||
@include define-font-family($mono_font, normal, null, 'IBMPlexMono-Regular.woff2')
|
||||
@ -47,3 +26,9 @@ $mono_font: IBMPlexMono;
|
||||
@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')
|
||||
}
|
||||
|
||||
@ -23,6 +23,14 @@ 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{
|
||||
@ -344,6 +352,7 @@ footer {
|
||||
&.past-event { opacity: 0.5; }
|
||||
|
||||
.event-title {
|
||||
font-family: $sans_font;
|
||||
padding-bottom: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -365,20 +374,10 @@ 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;
|
||||
}
|
||||
|
||||
@ -399,19 +398,12 @@ 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user