diff --git a/client/assets/app.css b/client/assets/app.css index 068c763a..dc020817 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -1,5 +1,6 @@ -@import url('./transitions.css'); -@import url('./draggable.css'); +@import './fonts.css'; +@import './transitions.css'; +@import './draggable.css'; .page { width: 100%; diff --git a/client/assets/fonts.css b/client/assets/fonts.css new file mode 100644 index 00000000..75e4ae61 --- /dev/null +++ b/client/assets/fonts.css @@ -0,0 +1,47 @@ +/* fallback */ +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: url(/fonts/material-icons.woff2) format('woff2'); +} + +.material-icons { + font-family: 'Material Icons'; + font-weight: normal; + font-style: normal; + line-height: 1; + font-size: 1.5rem; + letter-spacing: normal; + text-transform: none; + display: inline-block; + white-space: nowrap; + word-wrap: normal; + direction: ltr; + -webkit-font-feature-settings: 'liga'; + -webkit-font-smoothing: antialiased; +} +.material-icons.text-icon { + font-size: 1.15rem; +} +.material-icons.text-base { + font-size: 1rem; +} + +@font-face { + font-family: 'Gentium Book Basic'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/fonts/GentiumBookBasic.woff2) format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Gentium Book Basic'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/fonts/GentiumBookBasic.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} \ No newline at end of file diff --git a/client/components/modals/edit-tabs/Cover.vue b/client/components/modals/edit-tabs/Cover.vue index 806ef3ce..446e5270 100644 --- a/client/components/modals/edit-tabs/Cover.vue +++ b/client/components/modals/edit-tabs/Cover.vue @@ -56,7 +56,7 @@

No Covers Found

diff --git a/client/nuxt.config.js b/client/nuxt.config.js index d9579f65..03cc93d5 100644 --- a/client/nuxt.config.js +++ b/client/nuxt.config.js @@ -35,8 +35,8 @@ module.exports = { ], link: [ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, - { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Gentium+Book+Basic&&family=Source+Sans+Pro:wght@300;400;600' }, - { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' } + { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Ubuntu+Mono&family=Source+Sans+Pro:wght@300;400;600' }, + // { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' } ] }, diff --git a/client/static/fonts/GentiumBookBasic.woff2 b/client/static/fonts/GentiumBookBasic.woff2 new file mode 100644 index 00000000..5f82fd9a Binary files /dev/null and b/client/static/fonts/GentiumBookBasic.woff2 differ diff --git a/client/static/fonts/material-icons.woff2 b/client/static/fonts/material-icons.woff2 new file mode 100644 index 00000000..28fc9e48 Binary files /dev/null and b/client/static/fonts/material-icons.woff2 differ