Skip to content

Commit

Permalink
Improve fallback font stack for Alegreya and Vollkorn
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Apr 17, 2024
1 parent 8e6412a commit 320d195
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions frontend/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pluto-notebook {
/* (can be overriden by custom style) */

pluto-output {
font-family: "Alegreya Sans", sans-serif;
font-family: "Alegreya Sans", "Trebuchet MS", sans-serif;
font-size: 1em;
font-weight: 400;
color: var(--pluto-output-color);
Expand All @@ -124,7 +124,7 @@ pluto-output h3,
pluto-output h4,
pluto-output h5,
pluto-output h6 {
font-family: "Vollkorn", serif;
font-family: "Vollkorn", Palatino, serif;
font-feature-settings: "lnum", "pnum";
font-weight: 600;
color: var(--pluto-output-h-color);
Expand Down Expand Up @@ -312,7 +312,7 @@ pluto-output div.admonition {
margin-block-end: 1em;
}
pluto-output div.admonition .admonition-title {
font-family: "Vollkorn", sans-serif;
font-family: "Vollkorn", Palatino, sans-serif;
font-feature-settings: "lnum", "pnum";
color: var(--admonition-title-color);
font-weight: 600;
Expand Down Expand Up @@ -600,7 +600,7 @@ div.export_title {
}
a.export_card header {
margin-block: 0px;
font-family: "Vollkorn", sans;
font-family: "Vollkorn", Palatino, sans-serif;
/* font-family: system-ui; */
font-feature-settings: "lnum", "pnum";
font-size: 1rem;
Expand Down
2 changes: 1 addition & 1 deletion frontend/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ html {
font-size: 2em;
letter-spacing: 0.08em;
font-weight: 500;
font-family: "Vollkorn", serif;
font-family: "Vollkorn", Palatino, serif;
color: var(--pluto-output-h-color);
margin: 0px;
padding: 4rem 1rem 3rem 1rem;
Expand Down

0 comments on commit 320d195

Please sign in to comment.