Skip to content

Commit

Permalink
css: update font
Browse files Browse the repository at this point in the history
  • Loading branch information
manila committed Mar 21, 2024
1 parent c7039d4 commit 0c3d364
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Binary file added src/css/AT-LangGothic-Variable.Trial.ttf
Binary file not shown.
19 changes: 17 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
*/

/* You can override the default Infima variables here. */
@font-face {
font-family: "Lang Gothic";
src: url(AT-LangGothic-Variable.Trial.ttf)
}

:root {
--ifm-font-family-base: 'Lang Gothic', arial, sans-serif;
--ifm-color-primary: #333333;
--ifm-color-primary-dark: #2e2e2e;
--ifm-color-primary-darker: #2b2b2b;
Expand All @@ -14,14 +20,23 @@
--ifm-color-primary-lighter: #3b3b3b;
--ifm-color-primary-lightest: #424242;
--ifm-code-font-size: 95%;
--ifm-heading-font-family: Georgia, serif;
--ifm-heading-font-weight: 400;
--ifm-heading-font-family: 'Lang Gothic', Georgia, serif;
--ifm-heading-font-weight: 600;
--ifm-h2-font-size: 1.5em;
--ifm-background-color: #fff;
--ifm-navbar-background-color: var(--ifm-background-color);
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);

}

header h2 {
font-weight: var(--ifm-heading-font-weight);
}

h2, h3, h4 {
font-weight: 200;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #efefef;
Expand Down

0 comments on commit 0c3d364

Please sign in to comment.