From 62f4cb6e0e6105b26adfc0215f70229c384a4809 Mon Sep 17 00:00:00 2001 From: MM20 <15646950+MM2-0@users.noreply.github.com> Date: Thu, 20 Oct 2022 23:12:21 +0200 Subject: [PATCH] Docs: bring back Roboto font --- docs/src/css/custom.css | 114 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 109 insertions(+), 5 deletions(-) diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index d4f130a2..6d7d7b2e 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -45,8 +45,9 @@ font-style: normal; font-weight: 400; src: local(''), - url('/fonts/outfit/outfit-v6-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('/fonts/outfit/outfit-v6-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('/fonts/outfit/outfit-v6-latin-regular.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/outfit/outfit-v6-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* outfit-700 - latin */ @@ -54,7 +55,110 @@ font-family: 'Outfit'; font-style: normal; font-weight: 700; - src: local(''), - url('/fonts/outfit/outfit-v6-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('/fonts/outfit/outfit-v6-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + src: local(''), url('/fonts/outfit/outfit-v6-latin-700.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/outfit/outfit-v6-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-regular - latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: local(''), + url('/fonts/roboto/roboto-v30-latin-regular.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-500 - latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + src: local(''), + url('/fonts/roboto/roboto-v30-latin-500.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-italic - latin */ +@font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 400; + src: local(''), + url('/fonts/roboto/roboto-v30-latin-italic.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-700 - latin */ +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 700; + src: local(''), + url('/fonts/roboto/roboto-v30-latin-700.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-700italic - latin */ +@font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 700; + src: local(''), + url('/fonts/roboto/roboto-v30-latin-700italic.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-mono-regular - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 400; + src: local(''), + url('/fonts/roboto-mono/roboto-mono-v22-latin-regular.woff2') + format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto-mono/roboto-mono-v22-latin-regular.woff') + format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-mono-700 - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 700; + src: local(''), + url('/fonts/roboto-mono/roboto-mono-v22-latin-700.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto-mono/roboto-mono-v22-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-mono-italic - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: italic; + font-weight: 400; + src: local(''), + url('/fonts/roboto-mono/roboto-mono-v22-latin-italic.woff2') format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto-mono/roboto-mono-v22-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* roboto-mono-700italic - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: italic; + font-weight: 700; + src: local(''), + url('/fonts/roboto-mono/roboto-mono-v22-latin-700italic.woff2') + format('woff2'), + /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('/fonts/roboto-mono/roboto-mono-v22-latin-700italic.woff') + format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ }