From 5bdb39241374afc3da801a4032ebc306f8562035 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 5 Jan 2021 22:55:00 +0100 Subject: Several theme changes (#659) * Several theme changes - Add max width of 1440px - Rename css file - Fix edit button - Add local Roboto font Signed-off-by: Tilman Vatteroth --- docs/content/theme/styles/roboto.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/content/theme/styles/roboto.css (limited to 'docs/content/theme/styles/roboto.css') diff --git a/docs/content/theme/styles/roboto.css b/docs/content/theme/styles/roboto.css new file mode 100644 index 00000000..b1c663da --- /dev/null +++ b/docs/content/theme/styles/roboto.css @@ -0,0 +1,28 @@ + +body, input { + font-family: "Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif; +} + +code, kbd, pre { + font-family: "Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace; +} + +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local('Roboto'), + url('./Roboto/roboto-latin-regular.woff2') format('woff2'), + url('./Roboto/roboto-latin-regular.woff') format('woff'), +} + +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local('Roboto Mono'), + url('./Roboto/roboto-mono-latin-regular.woff2') format('woff2'), + url('./Roboto/roboto-mono-latin-regular.woff') format('woff'), +} -- cgit v1.2.3