Skip to content

Commit

Permalink
Use default fonts for pkgdown. These look much better in bootstrap 5.
Browse files Browse the repository at this point in the history
Fixes #115
  • Loading branch information
jeroen committed Aug 30, 2024
1 parent 2b784d6 commit fd12353
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion inst/pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
21 changes: 0 additions & 21 deletions inst/pkgdown/extra.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit fd12353

Please sign in to comment.