From fd12353a9c3b8404c9d9803d48a9fe0ff9642d47 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Fri, 30 Aug 2024 11:03:06 +0200 Subject: [PATCH] Use default fonts for pkgdown. These look much better in bootstrap 5. Fixes #115 --- inst/pkgdown/_pkgdown.yml | 1 - inst/pkgdown/extra.scss | 21 --------------------- 2 files changed, 22 deletions(-) diff --git a/inst/pkgdown/_pkgdown.yml b/inst/pkgdown/_pkgdown.yml index 8f8d43d..e0a4952 100644 --- a/inst/pkgdown/_pkgdown.yml +++ b/inst/pkgdown/_pkgdown.yml @@ -25,7 +25,6 @@ template: gray-300: "#dee2e6" border-radius: 0.5rem btn-border-radius: 0.25rem - base_font: "proxima-nova,sans-serif" navbar: structure: left: diff --git a/inst/pkgdown/extra.scss b/inst/pkgdown/extra.scss index 0ce09cd..2e7d37f 100644 --- a/inst/pkgdown/extra.scss +++ b/inst/pkgdown/extra.scss @@ -185,24 +185,3 @@ html{ main h1 img { max-width: 120px; } - -@font-face { - font-family: "proxima-nova"; - src: url("https://ropensci.org/fonts/proxima/ProximaNova-Regular.eot"); - src: local("Proxima Nova Regular"), local("ProximaNova-Regular"), - url("https://ropensci.org/fonts/proxima/ProximaNova-Regular.eot?#iefix") format("embedded-opentype"), - url("https://ropensci.org/fonts/proxima/ProximaNova-Regular.woff2") format("woff2"), - url("https://ropensci.org/fonts/proxima/ProximaNova-Regular.woff") format("woff"), - url("https://ropensci.org/fonts/proxima/ProximaNova-Regular.ttf") format("truetype"); - font-weight: normal; - font-style: normal; - font-display: fallback; -} - -/* Because ProximaNova is very thin by default */ -h1, h2, h3, h4, h5, h6 { - font-weight: 700; - code { - font-weight: 500; - } -}