summaryrefslogtreecommitdiff
path: root/docs/content/theme
diff options
context:
space:
mode:
authorTilman Vatteroth2021-01-05 22:55:00 +0100
committerGitHub2021-01-05 22:55:00 +0100
commit5bdb39241374afc3da801a4032ebc306f8562035 (patch)
tree0041431d736824c6b090de3d97fd240d3cf4befb /docs/content/theme
parent73d237165ea8fe411b764e5b5d1a2f51a2e02a0b (diff)
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 <tilman.vatteroth@tu-dortmund.de>
Diffstat (limited to '')
-rw-r--r--docs/content/theme/styles/Roboto/roboto-latin-regular.woffbin0 -> 20268 bytes
-rw-r--r--docs/content/theme/styles/Roboto/roboto-latin-regular.woff2bin0 -> 15736 bytes
-rw-r--r--docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woffbin0 -> 15160 bytes
-rw-r--r--docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2bin0 -> 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.css28
6 files changed, 31 insertions, 0 deletions
diff --git a/docs/content/theme/styles/Roboto/roboto-latin-regular.woff b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff
new file mode 100644
index 00000000..69c88254
--- /dev/null
+++ b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff
Binary files differ
diff --git a/docs/content/theme/styles/Roboto/roboto-latin-regular.woff2 b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff2
new file mode 100644
index 00000000..1a537015
--- /dev/null
+++ b/docs/content/theme/styles/Roboto/roboto-latin-regular.woff2
Binary files differ
diff --git a/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff
new file mode 100644
index 00000000..f319fbfa
--- /dev/null
+++ b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff
Binary files differ
diff --git a/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2 b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2
new file mode 100644
index 00000000..ed384d22
--- /dev/null
+++ b/docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2
Binary files differ
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'),
+}