Skip to content

Commit

Permalink
Tweak pkgdown css
Browse files Browse the repository at this point in the history
  • Loading branch information
remlapmot committed Apr 18, 2023
1 parent 14a37a4 commit d8b65b4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* pkgdown/extra.css */

/* Bootstrap 3 used font-size of 14px */
/* This sets font-size to 14px as 1rem is assumed to be 16px */
html {
font-size: 0.875rem;
}

.row > main {
max-width: 75%;
}

@media
(min-width: 1400px) {
main + .col-md-3 {
margin-left: unset;
padding-left: 5rem;
}
}

/* CSS */
@import url(https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css);

/* Specify in CSS */
code { font-family: 'Fira Code', monospace; }

0 comments on commit d8b65b4

Please sign in to comment.