mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
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>
(cherry picked from commit 5bdb392413
)
This commit is contained in:
parent
98951d26c5
commit
e4080b7ead
7 changed files with 35 additions and 1 deletions
BIN
docs/content/theme/styles/Roboto/roboto-latin-regular.woff
Normal file
BIN
docs/content/theme/styles/Roboto/roboto-latin-regular.woff
Normal file
Binary file not shown.
BIN
docs/content/theme/styles/Roboto/roboto-latin-regular.woff2
Normal file
BIN
docs/content/theme/styles/Roboto/roboto-latin-regular.woff2
Normal file
Binary file not shown.
BIN
docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff
Normal file
BIN
docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff
Normal file
Binary file not shown.
BIN
docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2
Normal file
BIN
docs/content/theme/styles/Roboto/roboto-mono-latin-regular.woff2
Normal file
Binary file not shown.
|
@ -18,3 +18,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;
|
||||
}
|
28
docs/content/theme/styles/roboto.css
Normal file
28
docs/content/theme/styles/roboto.css
Normal file
|
@ -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'),
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue