diff --git a/source/css/fonts.css b/source/css/fonts.css index 3a70a46..c46eddf 100644 --- a/source/css/fonts.css +++ b/source/css/fonts.css @@ -1,44 +1,50 @@ @font-face { font-family: 'Inter'; - font-style: normal; + font-style: normal; font-weight: 400; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.woff") format("woff"); } @font-face { font-family: 'Inter'; - font-style: italic; + font-style: italic; font-weight: 400; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; src: url("../fonts/Inter-Italic.woff2") format("woff2"), url("../fonts/Inter-Italic.woff") format("woff"); } @font-face { font-family: 'Inter'; - font-style: normal; + font-style: normal; font-weight: 600; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; src: url("../fonts/Inter-Medium.woff2") format("woff2"), url("../fonts/Inter-Medium.woff") format("woff"); } @font-face { font-family: 'Inter'; - font-style: italic; + font-style: italic; font-weight: 600; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"), url("../fonts/Inter-MediumItalic.woff") format("woff"); } @font-face { font-family: 'Inter'; - font-style: normal; + font-style: normal; font-weight: 800; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; src: url("../fonts/Inter-Bold.woff2") format("woff2"), url("../fonts/Inter-Bold.woff") format("woff"); } @font-face { font-family: 'Inter'; - font-style: italic; + font-style: italic; font-weight: 800; + font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"), url("../fonts/Inter-BoldItalic.woff") format("woff"); } diff --git a/source/css/main.css b/source/css/main.css index 64d4848..2d169e0 100644 --- a/source/css/main.css +++ b/source/css/main.css @@ -19,7 +19,6 @@ body { color: var(--light-color); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; - font-feature-settings: "liga", "tnum", "case", "calt", "zero", "ss01", "locl"; -webkit-overflow-scrolling: touch; -webkit-text-size-adjust: 100%; @@ -132,7 +131,6 @@ figure { code { font-family: Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace; - font-feature-settings: normal; background: var(--light-background-secondary); padding: 1px 6px; margin: 0 2px;