diff options
| author | Jieiku | 2023-08-19 10:39:52 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-19 10:39:52 -0700 |
| commit | 211d08f9804c70943d7395175f25096483f006d0 (patch) | |
| tree | c2c98891259fc353826b9346ee424101bb4c2e05 /sass/fonts | |
| parent | 3e5d8a96e9eae21a799f327cd8a52adb891ebe66 (diff) | |
| download | abridge-2.0.0.tar.gz abridge-2.0.0.tar.bz2 abridge-2.0.0.zip | |
Version 2.0.0 Refactor, Add PWA Support2.0.0
Diffstat (limited to 'sass/fonts')
| -rw-r--r-- | sass/fonts/_Abridge.scss | 31 | ||||
| -rw-r--r-- | sass/fonts/_Arimo.scss | 17 | ||||
| -rw-r--r-- | sass/fonts/_FiraCode.scss | 5 | ||||
| -rw-r--r-- | sass/fonts/_Roboto-Mono.scss | 4 | ||||
| -rw-r--r-- | sass/fonts/_Roboto.scss | 6 |
5 files changed, 5 insertions, 58 deletions
diff --git a/sass/fonts/_Abridge.scss b/sass/fonts/_Abridge.scss deleted file mode 100644 index 6626626..0000000 --- a/sass/fonts/_Abridge.scss +++ /dev/null @@ -1,31 +0,0 @@ -// This is for the Abridge icon font, the css for this is adapted from fontello. -// I experimented using this, it is still here for those that want it, but not used by default. -// It is a pretty lightweight solution, but still not as good as svg icons directly in the css. -// The loading of icon fonts is blocked by noscript type browser addons, but css icons are not. - -@font-face { - font-family: 'Abridge'; - src: url('font/Abridge.woff2') format('woff2'); -} - -[class^="i-"]:before, [class*=" i-"]:before { - font-family: "Abridge"; - font-style: normal; - font-weight: normal; - font-variant: normal;// reset parent styles that can break glyph codes - text-transform: none;// reset parent styles that can break glyph codes - line-height: 1em;// fix buttons height - width: 1em;// fix buttons width - vertical-align: 1em;// fix buttons alignment - text-align: center; - display: inline-block; - //text-decoration: inherit; -} - -.i-search:before { content: '\f002'; } // search box button -.i-adjust:before { content: '\f042'; } // theme switcher button -.i-first:before { content: '\f100'; } // pagination first page -.i-last:before { content: '\f101'; } // pagination last page -.i-prev:before { content: '\f104'; } // pagination previous page -.i-next:before { content: '\f105'; } // pagination next page -.i-up:before { content: '\f106'; } // back to top button diff --git a/sass/fonts/_Arimo.scss b/sass/fonts/_Arimo.scss deleted file mode 100644 index 8931d79..0000000 --- a/sass/fonts/_Arimo.scss +++ /dev/null @@ -1,17 +0,0 @@ -@font-face { - font-family: 'Arimo'; - src: local("Arimo"), url("font/Arimo.woff2");//latin regular - font-display: swap; -} -@font-face { - font-family: 'Arimo'; - src: local("Arimo-Italic"), url("font/Arimo-Italic.woff2");//latin italic - font-style: italic; - font-display: swap; -} -@font-face { - font-family: 'Arimo'; - src: local("Arimo-Bold"), url("font/Arimo-Bold.woff2");//latin bold - font-weight: bold; - font-display: swap; -} diff --git a/sass/fonts/_FiraCode.scss b/sass/fonts/_FiraCode.scss deleted file mode 100644 index a20f4d7..0000000 --- a/sass/fonts/_FiraCode.scss +++ /dev/null @@ -1,5 +0,0 @@ -@font-face { - font-family: 'Fira Code'; - src: local("Fira Code"), url("font/FiraCode.woff2");//latin regular - font-display: swap; -} diff --git a/sass/fonts/_Roboto-Mono.scss b/sass/fonts/_Roboto-Mono.scss index 0685c3d..88040d4 100644 --- a/sass/fonts/_Roboto-Mono.scss +++ b/sass/fonts/_Roboto-Mono.scss @@ -1,11 +1,11 @@ @font-face { font-family: 'Roboto Mono'; - src: local("Roboto Mono"), local("Roboto-Mono"), local("RobotoMono"), local("Roboto-Mono-Regular"), local("RobotoMono-Regular"), url("font/Roboto-Mono.woff2");//latin regular + src: local("Roboto Mono"), local("Roboto-Mono"), local("RobotoMono"), local("Roboto-Mono-Regular"), local("RobotoMono-Regular"), url("fonts/Roboto-Mono.woff2");//latin regular font-display: swap; } @font-face { font-family: 'Roboto Mono'; - src: local("Roboto Mono Italic"), local("Roboto-Mono-Italic"), local("RobotoMono-Italic"), url("font/Roboto-Mono-Italic.woff2");//latin italic + src: local("Roboto Mono Italic"), local("Roboto-Mono-Italic"), local("RobotoMono-Italic"), url("fonts/Roboto-Mono-Italic.woff2");//latin italic font-style: italic; font-display: swap; } diff --git a/sass/fonts/_Roboto.scss b/sass/fonts/_Roboto.scss index 6370fc2..78bed1f 100644 --- a/sass/fonts/_Roboto.scss +++ b/sass/fonts/_Roboto.scss @@ -1,17 +1,17 @@ @font-face { font-family: 'Roboto'; - src: local("Roboto"), url("font/Roboto.woff2");//latin regular + src: local("Roboto"), url("fonts/Roboto.woff2");//latin regular font-display: swap; } @font-face { font-family: 'Roboto'; - src: local("Roboto-Italic"), url("font/Roboto-Italic.woff2");//latin italic + src: local("Roboto-Italic"), url("fonts/Roboto-Italic.woff2");//latin italic font-style: italic; font-display: swap; } @font-face { font-family: 'Roboto'; - src: local("Roboto-Bold"), url("font/Roboto-Bold.woff2");//latin bold + src: local("Roboto-Bold"), url("fonts/Roboto-Bold.woff2");//latin bold font-weight: bold; font-display: swap; } |
