Skip to content

Commit

Permalink
Set body and paragraph font-size to 1.05em
Browse files Browse the repository at this point in the history
Also dropped Open Sans, and set standard font-weight values.
  • Loading branch information
weiji14 committed Feb 21, 2021
1 parent 6a28735 commit f14a8e1
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@ html {
}

body {
font-family: "Atkinson Hyperlegible", "Open Sans", sans-serif;
font-family: "Atkinson Hyperlegible", sans-serif;
font-size: 1.05em;
}

h1, h2, h3, h4 {
font-weight: 300;
font-family: "Atkinson Hyperlegible", "Open Sans", sans-serif;
font-weight: normal;
font-family: "Atkinson Hyperlegible", sans-serif;
}

h1 {
font-size: 200%;
}

p {
font-size: 1.05em;
}

.gmtplot-output {
width: 100%;
overflow: auto;
Expand Down Expand Up @@ -135,30 +140,30 @@ a.copybtn {
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("./fonts/Atkinson-Hyperlegible-Regular-102a.woff2") format('woff2');
font-weight: 400;
font-weight: normal;
font-style: normal;
}

/* Atkinson Hyperlegible bold */
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("./fonts/Atkinson-Hyperlegible-Bold-102a.woff2") format('woff2');
font-weight: 700;
font-weight: bold;
font-style: normal;
}

/* Atkinson Hyperlegible italic */
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("./fonts/Atkinson-Hyperlegible-Italic-102a.woff2") format('woff2');
font-weight: 400;
font-weight: normal;
font-style: italic;
}

/* Atkinson Hyperlegible bold italic */
@font-face {
font-family: "Atkinson Hyperlegible";
src: url("./fonts/Atkinson-Hyperlegible-BoldItalic-102a.woff2") format('woff2');
font-weight: 700;
font-weight: bold;
font-style: italic;
}

0 comments on commit f14a8e1

Please sign in to comment.