From f6a83a6f31e24754e5001260336b89e9107e1053 Mon Sep 17 00:00:00 2001 From: Talha Mansoor Date: Sun, 2 Feb 2020 01:30:28 +0500 Subject: [PATCH] fix(typography): override Bootstrap base font Update #429 --- static/bootstrap/scaffolding.less | 2 -- static/css/typography.css | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/bootstrap/scaffolding.less b/static/bootstrap/scaffolding.less index f17e8cad..d130b8a2 100644 --- a/static/bootstrap/scaffolding.less +++ b/static/bootstrap/scaffolding.less @@ -7,8 +7,6 @@ // ------------------------- body { - margin: 0; - font-family: @baseFontFamily; font-size: @baseFontSize; line-height: @baseLineHeight; color: @textColor; diff --git a/static/css/typography.css b/static/css/typography.css index abd5fb36..5ab5f01c 100644 --- a/static/css/typography.css +++ b/static/css/typography.css @@ -10,6 +10,10 @@ --serifHeadingFontFamily: "PT Serif Caption", Baskerville, Garamond, Georgia, "DejaVu Serif", "Times New Roman", Times, serif; } +body { + margin: 0; + font-family: var(--sansFontFamily); +} h1, h2, h3,