feat: Change font sizes and use system fonts
This commit is contained in:
parent
a7d3183b51
commit
777a4cfaf5
16
src/main.py
16
src/main.py
|
@ -400,16 +400,12 @@ Providers: {self.enabled_providers}
|
|||
// https://fonts.googleapis.com/css2?family=Cantarell&family=Source+Code+Pro&display=swap
|
||||
@font-face {
|
||||
font-family: 'Cantarell';
|
||||
src: url("/app/share/fonts/Cantarell.ttf") format("ttf"),
|
||||
local("Cantarell"),
|
||||
url("https://fonts.gstatic.com/s/cantarell/v17/B50NF7ZDq37KMUvlO015jKJr.woff2") format("woff2");
|
||||
src: local("Cantarell")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Source Code Pro Regular';
|
||||
src: url("/app/share/fonts/SourceCodePro-Regular.ttf") format("ttf"),
|
||||
local("Source Code Pro Regular"),
|
||||
url("https://fonts.gstatic.com/s/sourcecodepro/v22/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQtMlrTA.woff2") format("woff2");
|
||||
font-family: 'Monospace';
|
||||
src: local("Monospace")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -424,7 +420,7 @@ Providers: {self.enabled_providers}
|
|||
}
|
||||
|
||||
html {
|
||||
font-size: 16px;
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -440,7 +436,7 @@ Providers: {self.enabled_providers}
|
|||
|
||||
@media screen and (max-width: 799px) {
|
||||
html {
|
||||
font-size: 14px;
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -450,7 +446,7 @@ Providers: {self.enabled_providers}
|
|||
|
||||
@media screen and (min-width: 1280px) {
|
||||
html {
|
||||
font-size: 18px;
|
||||
font-size: 11pt;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user