diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/theme/styles/Roboto/roboto-latin-regular.woff | bin | 0 -> 20268 bytes | |||
-rw-r--r-- | docs/content/theme/styles/Roboto/roboto-latin-regular.woff2 | bin | 0 -> 15736 bytes | |||
-rw-r--r-- | docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff | bin | 0 -> 15160 bytes | |||
-rw-r--r-- | docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2 | bin | 0 -> 12312 bytes | |||
-rw-r--r-- | docs/content/theme/styles/hedgedoc-custom.css (renamed from docs/content/theme/styles/hedgedoc-color.css) | 3 | ||||
-rw-r--r-- | docs/content/theme/styles/roboto.css | 28 | ||||
-rw-r--r-- | docs/mkdocs.yml | 5 |
7 files changed, 35 insertions, 1 deletions
diff --git a/docs/content/theme/styles/Roboto/roboto-latin-regular.woff b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff Binary files differnew file mode 100644 index 00000000..69c88254 --- /dev/null +++ b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff diff --git a/docs/content/theme/styles/Roboto/roboto-latin-regular.woff2 b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff2 Binary files differnew file mode 100644 index 00000000..1a537015 --- /dev/null +++ b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff2 diff --git a/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff Binary files differnew file mode 100644 index 00000000..f319fbfa --- /dev/null +++ b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff diff --git a/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2 b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2 Binary files differnew file mode 100644 index 00000000..ed384d22 --- /dev/null +++ b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2 diff --git a/docs/content/theme/styles/hedgedoc-color.css b/docs/content/theme/styles/hedgedoc-custom.css index 084a2bac..54e18919 100644 --- a/docs/content/theme/styles/hedgedoc-color.css +++ b/docs/content/theme/styles/hedgedoc-custom.css @@ -12,3 +12,6 @@ --md-accent-bg-color: hsla(0, 0%, 100%, 1); --md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7); } +.md-grid { + max-width: 1440px; +} 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'), +} diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index a403cd3b..fd090fe5 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -4,6 +4,7 @@ repo_url: https://github.com/hedgedoc/hedgedoc site_description: 'HedgeDoc Documentation' site_author: 'HedgeDoc Developers' docs_dir: content +edit_uri: https://github.com/hedgedoc/hedgedoc/edit/master/docs/content/ nav: - Home: index.md - Installation: @@ -56,6 +57,8 @@ theme: - navigation.tabs - navigation.sections - toc.integrate + font: false extra_css: - - theme/styles/hedgedoc-color.css + - theme/styles/hedgedoc-custom.css + - theme/styles/roboto.css |