Skip to content

Commit

Permalink
added latin modern as default font
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mitr committed Sep 1, 2023
1 parent 7c9f9dc commit dcb6551
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Latin+Modern+Roman:400,400i,700,700i|Latin+Modern+Sans:400,400i,700,700i|Latin+Modern+Sans+Caps:400&display=swap">

body{ font-family: 'Latin Modern Roman', serif;
/* Fallback to a generic serif font if Latin Modern Roman is unavailable */
}

h1 {
font-family: 'Latin Modern Sans', sans-serif;
/* Fallback to a generic sans-serif font if Latin Modern Sans is unavailable */
}

/* Apply Italic style */
.italic {
font-style: italic;
}

/* Apply Bold style */
.bold {
font-weight: bold;
}

/* Apply Small-caps style */
.small-caps {
font-family: 'Latin Modern Sans Caps', sans-serif;
font-variant: small-caps;
</head>
{%- include head.html -%}
<!-- Write your comments here
{% include mathjax.html %} -->
Expand Down

0 comments on commit dcb6551

Please sign in to comment.