Skip to content

Commit

Permalink
docs: rescale tailwind to match mkdocs base font-size
Browse files Browse the repository at this point in the history
mkdocs uses 20px as the base font-size. This makes all the tailwind
classes 25% larger than intended.
  • Loading branch information
sandydoo committed Apr 13, 2024
1 parent de824c6 commit 5071787
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 131 deletions.
5 changes: 5 additions & 0 deletions docs/assets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

body {
/* Override the mkdocs default of 0.5rem */
font-size: 0.8rem; /* 16px */
}

/* hide site name */
.md-header__topic {
visibility: hidden;
Expand Down
Loading

0 comments on commit 5071787

Please sign in to comment.