From 21c566479962cd7ecfa6dccd929b3069d0b201f9 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Mon, 13 Jan 2025 17:30:29 -0500 Subject: Add initial fonts We're not using Overlock currently, but I think it'll be good on headers and stuff? --- ui/styles/app-bar.css | 2 ++ ui/styles/fonts.css | 31 +++++++++++++++++++++++++++++++ ui/styles/messages.css | 5 +++-- ui/styles/textarea.css | 1 + 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 ui/styles/fonts.css (limited to 'ui/styles') diff --git a/ui/styles/app-bar.css b/ui/styles/app-bar.css index 238e248..eda9bdc 100644 --- a/ui/styles/app-bar.css +++ b/ui/styles/app-bar.css @@ -23,6 +23,8 @@ .app-bar > a { line-height: var(--app-bar-height); + font-family: "Archistico"; + letter-spacing: 0.25rem; } .app-bar a { diff --git a/ui/styles/fonts.css b/ui/styles/fonts.css new file mode 100644 index 0000000..d5d1eef --- /dev/null +++ b/ui/styles/fonts.css @@ -0,0 +1,31 @@ +@font-face { + font-family: "Alegreya"; + src: + url("../fonts/AlegreyaSans-Regular.otf") format("opentype"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "Archistico"; + src: + url("../fonts/Archistico_Simple.ttf") format("truetype"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "FiraCode"; + src: + url("../fonts/FiraCode-Regular.otf") format("opentype"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "Overlock"; + src: + url("../fonts/Overlock-Regular.ttf") format("truetype"); + font-weight: normal; + font-style: normal; +} diff --git a/ui/styles/messages.css b/ui/styles/messages.css index 16333af..5e08279 100644 --- a/ui/styles/messages.css +++ b/ui/styles/messages.css @@ -111,6 +111,7 @@ padding: 0.25rem; } -.message-body code { - font-family: monospace; +.message-body code, +.message-body pre { + font-family: "FiraCode"; } diff --git a/ui/styles/textarea.css b/ui/styles/textarea.css index b45a66d..b4d1a93 100644 --- a/ui/styles/textarea.css +++ b/ui/styles/textarea.css @@ -14,6 +14,7 @@ flex-grow: 1; background-color: var(--colour-input-bg); color: var(--colour-input-text); + font-family: "FiraCode"; } .create-message button { -- cgit v1.2.3 From 846130d6f90e3cacae64edbabbaa410be63f5727 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Tue, 14 Jan 2025 20:09:04 -0500 Subject: Make handle text light, so it's legible --- ui/styles/variables.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/styles') diff --git a/ui/styles/variables.css b/ui/styles/variables.css index 80817f3..c43832c 100644 --- a/ui/styles/variables.css +++ b/ui/styles/variables.css @@ -68,5 +68,5 @@ /* Message handle */ --colour-message-handle-bg: color-mix(in srgb, var(--colour-base) 90%, black); --colour-message-handle-border: color-mix(in srgb, var(--colour-message-handle-bg) 50%, black); - --colour-message-handle-text: var(--dark-text); + --colour-message-handle-text: var(--light-text); } -- cgit v1.2.3 From d42455bd4a39d5c0944aaf25b24a548de3213e75 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Fri, 17 Jan 2025 21:59:10 -0500 Subject: Make mobile UI look a little better The rounded corners on an iPhone shouldn't be cut off now. --- ui/styles/messages.css | 4 ++-- ui/styles/textarea.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'ui/styles') diff --git a/ui/styles/messages.css b/ui/styles/messages.css index 3f0aa3b..f32ec3e 100644 --- a/ui/styles/messages.css +++ b/ui/styles/messages.css @@ -11,7 +11,7 @@ .own-message { background-color: var(--colour-message-run-self-bg); border: 1px solid var(--colour-message-run-self-border); - margin-left: 2rem; + margin-left: 1rem; } .own-message * { @@ -21,7 +21,7 @@ .other-message { background-color: var(--colour-message-run-other-bg); border: 1px solid var(--colour-message-run-other-border); - margin-right: 2rem; + margin-right: 1rem; } .other-message * { diff --git a/ui/styles/textarea.css b/ui/styles/textarea.css index cdf487f..057fb8a 100644 --- a/ui/styles/textarea.css +++ b/ui/styles/textarea.css @@ -4,6 +4,10 @@ flex-direction: row; justify-content: flex-start; align-items: stretch; + + @media (width <= 640px) { + margin: 0 0.5rem 1rem 0.5rem; + } } .create-message textarea { -- cgit v1.2.3 From 84b5ee7782181bcff64d2eb6a9942237232103a7 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sun, 19 Jan 2025 13:18:20 -0500 Subject: Make small tweaks for mobile devices --- ui/styles/forms.css | 1 + ui/styles/textarea.css | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'ui/styles') diff --git a/ui/styles/forms.css b/ui/styles/forms.css index 1d6421b..8dab308 100644 --- a/ui/styles/forms.css +++ b/ui/styles/forms.css @@ -14,6 +14,7 @@ label input { form.form > button { background-color: var(--colour-input-bg); + color: var(--colour-input-text); padding: 0.25rem; border-radius: 0.25rem; border: 1px solid var(--colour-input-border); diff --git a/ui/styles/textarea.css b/ui/styles/textarea.css index 057fb8a..edf8ced 100644 --- a/ui/styles/textarea.css +++ b/ui/styles/textarea.css @@ -34,3 +34,12 @@ main { justify-content: flex-start; align-items: stretch; } + +/* Workaround for iOS zooming in on the textarea when it gets focus. */ +@media screen and (-webkit-min-device-pixel-ratio:0) { + select, + textarea, + input { + font-size: 16px; + } +} -- cgit v1.2.3 From 0451b8a2d03889964fb8e1bbc4a1b56269658f3b Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sun, 19 Jan 2025 14:01:50 -0500 Subject: Fix bold and italic font considerations --- ui/styles/fonts.css | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ ui/styles/reset.css | 4 +++- 2 files changed, 67 insertions(+), 1 deletion(-) (limited to 'ui/styles') diff --git a/ui/styles/fonts.css b/ui/styles/fonts.css index d5d1eef..58da205 100644 --- a/ui/styles/fonts.css +++ b/ui/styles/fonts.css @@ -1,31 +1,95 @@ +/*** Alegreya ***/ @font-face { font-family: "Alegreya"; src: url("../fonts/AlegreyaSans-Regular.otf") format("opentype"); font-weight: normal; font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Alegreya"; + src: + url("../fonts/AlegreyaSans-Bold.otf") format("opentype"); + font-weight: bold; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Alegreya"; + src: + url("../fonts/AlegreyaSans-Italic.otf") format("opentype"); + font-weight: normal; + font-style: italic; + font-display: swap; +} +@font-face { + font-family: "Alegreya"; + src: + url("../fonts/AlegreyaSans-BoldItalic.otf") format("opentype"); + font-weight: bold; + font-style: italic; + font-display: swap; } +/*** Archistico ***/ @font-face { font-family: "Archistico"; src: url("../fonts/Archistico_Simple.ttf") format("truetype"); font-weight: normal; font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Archistico"; + src: + url("../fonts/Archistico_Bold.ttf") format("truetype"); + font-weight: bold; + font-style: normal; + font-display: swap; } +/*** FiraCode ***/ @font-face { font-family: "FiraCode"; src: url("../fonts/FiraCode-Regular.otf") format("opentype"); font-weight: normal; font-style: normal; + font-display: swap; +} +@font-face { + font-family: "FiraCode"; + src: + url("../fonts/FiraCode-Bold.otf") format("opentype"); + font-weight: bold; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "FiraCode"; + src: + url("../fonts/FiraCode-Italic.otf") format("opentype"); + font-weight: normal; + font-style: italic; + font-display: swap; +} +@font-face { + font-family: "FiraCode"; + src: + url("../fonts/FiraCode-BoldItalic.otf") format("opentype"); + font-weight: bold; + font-style: italic; + font-display: swap; } +/*** Overlock ***/ @font-face { font-family: "Overlock"; src: url("../fonts/Overlock-Regular.ttf") format("truetype"); font-weight: normal; font-style: normal; + font-display: swap; } diff --git a/ui/styles/reset.css b/ui/styles/reset.css index a3f7681..f9fa505 100644 --- a/ui/styles/reset.css +++ b/ui/styles/reset.css @@ -88,7 +88,9 @@ video { padding: 0; border: 0; font-size: 100%; - font: inherit; + /* The following seems to make `em` not italic, `code` not monospace, etc. + * And that's undesirable. */ + /* font: inherit; */ vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ -- cgit v1.2.3 From 6b786dc2ec913493f15920af047b1caf3b0e433b Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sun, 19 Jan 2025 14:04:56 -0500 Subject: Style form placeholders and buttons --- ui/styles/forms.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/styles') diff --git a/ui/styles/forms.css b/ui/styles/forms.css index 8dab308..5279f86 100644 --- a/ui/styles/forms.css +++ b/ui/styles/forms.css @@ -5,6 +5,7 @@ label { } label input { + font-family: "Overlock"; display: block; width: 90%; padding: 0.25rem; @@ -13,6 +14,7 @@ label input { } form.form > button { + font-family: "Overlock"; background-color: var(--colour-input-bg); color: var(--colour-input-text); padding: 0.25rem; -- cgit v1.2.3 From 04f2c43c6eea53c301f63a36f8882cef2f94859f Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sat, 8 Feb 2025 22:15:53 -0500 Subject: Change default body font to Roboto Let's try this. --- ui/app.css | 2 +- ui/fonts/AlegreyaSans-Black.otf | Bin 109072 -> 0 bytes ui/fonts/AlegreyaSans-BlackItalic.otf | Bin 105624 -> 0 bytes ui/fonts/AlegreyaSans-Bold.otf | Bin 108264 -> 0 bytes ui/fonts/AlegreyaSans-BoldItalic.otf | Bin 104712 -> 0 bytes ui/fonts/AlegreyaSans-ExtraBold.otf | Bin 109508 -> 0 bytes ui/fonts/AlegreyaSans-ExtraBoldItalic.otf | Bin 105840 -> 0 bytes ui/fonts/AlegreyaSans-Italic.otf | Bin 103872 -> 0 bytes ui/fonts/AlegreyaSans-Light.otf | Bin 107152 -> 0 bytes ui/fonts/AlegreyaSans-LightItalic.otf | Bin 105432 -> 0 bytes ui/fonts/AlegreyaSans-Medium.otf | Bin 107728 -> 0 bytes ui/fonts/AlegreyaSans-MediumItalic.otf | Bin 103808 -> 0 bytes ui/fonts/AlegreyaSans-Regular.otf | Bin 107260 -> 0 bytes ui/fonts/AlegreyaSans-Thin.otf | Bin 103764 -> 0 bytes ui/fonts/AlegreyaSans-ThinItalic.otf | Bin 105948 -> 0 bytes ui/fonts/AlegreyaSansSC-Black.otf | Bin 100068 -> 0 bytes ui/fonts/AlegreyaSansSC-BlackItalic.otf | Bin 96924 -> 0 bytes ui/fonts/AlegreyaSansSC-Bold.otf | Bin 99428 -> 0 bytes ui/fonts/AlegreyaSansSC-BoldItalic.otf | Bin 96100 -> 0 bytes ui/fonts/AlegreyaSansSC-ExtraBold.otf | Bin 99784 -> 0 bytes ui/fonts/AlegreyaSansSC-ExtraBoldItalic.otf | Bin 97224 -> 0 bytes ui/fonts/AlegreyaSansSC-Italic.otf | Bin 94224 -> 0 bytes ui/fonts/AlegreyaSansSC-Light.otf | Bin 97876 -> 0 bytes ui/fonts/AlegreyaSansSC-LightItalic.otf | Bin 94852 -> 0 bytes ui/fonts/AlegreyaSansSC-Medium.otf | Bin 97916 -> 0 bytes ui/fonts/AlegreyaSansSC-MediumItalic.otf | Bin 93900 -> 0 bytes ui/fonts/AlegreyaSansSC-Regular.otf | Bin 97988 -> 0 bytes ui/fonts/AlegreyaSansSC-Thin.otf | Bin 93428 -> 0 bytes ui/fonts/AlegreyaSansSC-ThinItalic.otf | Bin 94744 -> 0 bytes ui/fonts/Roboto-Black.ttf | Bin 0 -> 171480 bytes ui/fonts/Roboto-BlackItalic.ttf | Bin 0 -> 177552 bytes ui/fonts/Roboto-Bold.ttf | Bin 0 -> 170760 bytes ui/fonts/Roboto-BoldItalic.ttf | Bin 0 -> 174952 bytes ui/fonts/Roboto-Italic.ttf | Bin 0 -> 173932 bytes ui/fonts/Roboto-Light.ttf | Bin 0 -> 170420 bytes ui/fonts/Roboto-LightItalic.ttf | Bin 0 -> 176616 bytes ui/fonts/Roboto-Medium.ttf | Bin 0 -> 172064 bytes ui/fonts/Roboto-MediumItalic.ttf | Bin 0 -> 176864 bytes ui/fonts/Roboto-Regular.ttf | Bin 0 -> 171676 bytes ui/fonts/Roboto-Thin.ttf | Bin 0 -> 171904 bytes ui/fonts/Roboto-ThinItalic.ttf | Bin 0 -> 176300 bytes ui/fonts/RobotoCondensed-Bold.ttf | Bin 0 -> 141796 bytes ui/fonts/RobotoCondensed-BoldItalic.ttf | Bin 0 -> 145256 bytes ui/fonts/RobotoCondensed-Italic.ttf | Bin 0 -> 144404 bytes ui/fonts/RobotoCondensed-Light.ttf | Bin 0 -> 141384 bytes ui/fonts/RobotoCondensed-LightItalic.ttf | Bin 0 -> 145104 bytes ui/fonts/RobotoCondensed-Regular.ttf | Bin 0 -> 140396 bytes ui/fonts/alegreya-license.txt | 47 ------- ui/fonts/roboto-license.txt | 203 ++++++++++++++++++++++++++++ ui/styles/fonts.css | 18 +-- 50 files changed, 213 insertions(+), 57 deletions(-) delete mode 100644 ui/fonts/AlegreyaSans-Black.otf delete mode 100644 ui/fonts/AlegreyaSans-BlackItalic.otf delete mode 100644 ui/fonts/AlegreyaSans-Bold.otf delete mode 100644 ui/fonts/AlegreyaSans-BoldItalic.otf delete mode 100644 ui/fonts/AlegreyaSans-ExtraBold.otf delete mode 100644 ui/fonts/AlegreyaSans-ExtraBoldItalic.otf delete mode 100644 ui/fonts/AlegreyaSans-Italic.otf delete mode 100644 ui/fonts/AlegreyaSans-Light.otf delete mode 100644 ui/fonts/AlegreyaSans-LightItalic.otf delete mode 100644 ui/fonts/AlegreyaSans-Medium.otf delete mode 100644 ui/fonts/AlegreyaSans-MediumItalic.otf delete mode 100644 ui/fonts/AlegreyaSans-Regular.otf delete mode 100644 ui/fonts/AlegreyaSans-Thin.otf delete mode 100644 ui/fonts/AlegreyaSans-ThinItalic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Black.otf delete mode 100644 ui/fonts/AlegreyaSansSC-BlackItalic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Bold.otf delete mode 100644 ui/fonts/AlegreyaSansSC-BoldItalic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-ExtraBold.otf delete mode 100644 ui/fonts/AlegreyaSansSC-ExtraBoldItalic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Italic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Light.otf delete mode 100644 ui/fonts/AlegreyaSansSC-LightItalic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Medium.otf delete mode 100644 ui/fonts/AlegreyaSansSC-MediumItalic.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Regular.otf delete mode 100644 ui/fonts/AlegreyaSansSC-Thin.otf delete mode 100644 ui/fonts/AlegreyaSansSC-ThinItalic.otf create mode 100644 ui/fonts/Roboto-Black.ttf create mode 100644 ui/fonts/Roboto-BlackItalic.ttf create mode 100644 ui/fonts/Roboto-Bold.ttf create mode 100644 ui/fonts/Roboto-BoldItalic.ttf create mode 100644 ui/fonts/Roboto-Italic.ttf create mode 100644 ui/fonts/Roboto-Light.ttf create mode 100644 ui/fonts/Roboto-LightItalic.ttf create mode 100644 ui/fonts/Roboto-Medium.ttf create mode 100644 ui/fonts/Roboto-MediumItalic.ttf create mode 100644 ui/fonts/Roboto-Regular.ttf create mode 100644 ui/fonts/Roboto-Thin.ttf create mode 100644 ui/fonts/Roboto-ThinItalic.ttf create mode 100644 ui/fonts/RobotoCondensed-Bold.ttf create mode 100644 ui/fonts/RobotoCondensed-BoldItalic.ttf create mode 100644 ui/fonts/RobotoCondensed-Italic.ttf create mode 100644 ui/fonts/RobotoCondensed-Light.ttf create mode 100644 ui/fonts/RobotoCondensed-LightItalic.ttf create mode 100644 ui/fonts/RobotoCondensed-Regular.ttf delete mode 100644 ui/fonts/alegreya-license.txt create mode 100644 ui/fonts/roboto-license.txt (limited to 'ui/styles') diff --git a/ui/app.css b/ui/app.css index 8f94b5e..886dd7e 100644 --- a/ui/app.css +++ b/ui/app.css @@ -14,7 +14,7 @@ body { background-color: var(--colour-active-channel-bg); color: var(--dark-text); - font-family: "Alegreya"; + font-family: "Roboto"; } hr { diff --git a/ui/fonts/AlegreyaSans-Black.otf b/ui/fonts/AlegreyaSans-Black.otf deleted file mode 100644 index 7c4cdaa..0000000 Binary files a/ui/fonts/AlegreyaSans-Black.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-BlackItalic.otf b/ui/fonts/AlegreyaSans-BlackItalic.otf deleted file mode 100644 index c2fdae7..0000000 Binary files a/ui/fonts/AlegreyaSans-BlackItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-Bold.otf b/ui/fonts/AlegreyaSans-Bold.otf deleted file mode 100644 index f44c12a..0000000 Binary files a/ui/fonts/AlegreyaSans-Bold.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-BoldItalic.otf b/ui/fonts/AlegreyaSans-BoldItalic.otf deleted file mode 100644 index da1c8fb..0000000 Binary files a/ui/fonts/AlegreyaSans-BoldItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-ExtraBold.otf b/ui/fonts/AlegreyaSans-ExtraBold.otf deleted file mode 100644 index 1bcbf5a..0000000 Binary files a/ui/fonts/AlegreyaSans-ExtraBold.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-ExtraBoldItalic.otf b/ui/fonts/AlegreyaSans-ExtraBoldItalic.otf deleted file mode 100644 index 11c5dd5..0000000 Binary files a/ui/fonts/AlegreyaSans-ExtraBoldItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-Italic.otf b/ui/fonts/AlegreyaSans-Italic.otf deleted file mode 100644 index 16218fd..0000000 Binary files a/ui/fonts/AlegreyaSans-Italic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-Light.otf b/ui/fonts/AlegreyaSans-Light.otf deleted file mode 100644 index 54df413..0000000 Binary files a/ui/fonts/AlegreyaSans-Light.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-LightItalic.otf b/ui/fonts/AlegreyaSans-LightItalic.otf deleted file mode 100644 index ecc7061..0000000 Binary files a/ui/fonts/AlegreyaSans-LightItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-Medium.otf b/ui/fonts/AlegreyaSans-Medium.otf deleted file mode 100644 index 285fa87..0000000 Binary files a/ui/fonts/AlegreyaSans-Medium.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-MediumItalic.otf b/ui/fonts/AlegreyaSans-MediumItalic.otf deleted file mode 100644 index 07f4ef6..0000000 Binary files a/ui/fonts/AlegreyaSans-MediumItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-Regular.otf b/ui/fonts/AlegreyaSans-Regular.otf deleted file mode 100644 index 237e5b6..0000000 Binary files a/ui/fonts/AlegreyaSans-Regular.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-Thin.otf b/ui/fonts/AlegreyaSans-Thin.otf deleted file mode 100644 index b1be577..0000000 Binary files a/ui/fonts/AlegreyaSans-Thin.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSans-ThinItalic.otf b/ui/fonts/AlegreyaSans-ThinItalic.otf deleted file mode 100644 index ac18635..0000000 Binary files a/ui/fonts/AlegreyaSans-ThinItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Black.otf b/ui/fonts/AlegreyaSansSC-Black.otf deleted file mode 100644 index cbe6466..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Black.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-BlackItalic.otf b/ui/fonts/AlegreyaSansSC-BlackItalic.otf deleted file mode 100644 index 5d68630..0000000 Binary files a/ui/fonts/AlegreyaSansSC-BlackItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Bold.otf b/ui/fonts/AlegreyaSansSC-Bold.otf deleted file mode 100644 index 24d4f6c..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Bold.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-BoldItalic.otf b/ui/fonts/AlegreyaSansSC-BoldItalic.otf deleted file mode 100644 index 9f9e299..0000000 Binary files a/ui/fonts/AlegreyaSansSC-BoldItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-ExtraBold.otf b/ui/fonts/AlegreyaSansSC-ExtraBold.otf deleted file mode 100644 index d97c4f3..0000000 Binary files a/ui/fonts/AlegreyaSansSC-ExtraBold.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-ExtraBoldItalic.otf b/ui/fonts/AlegreyaSansSC-ExtraBoldItalic.otf deleted file mode 100644 index c540e92..0000000 Binary files a/ui/fonts/AlegreyaSansSC-ExtraBoldItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Italic.otf b/ui/fonts/AlegreyaSansSC-Italic.otf deleted file mode 100644 index 948ab1a..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Italic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Light.otf b/ui/fonts/AlegreyaSansSC-Light.otf deleted file mode 100644 index f8289f7..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Light.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-LightItalic.otf b/ui/fonts/AlegreyaSansSC-LightItalic.otf deleted file mode 100644 index 9f118aa..0000000 Binary files a/ui/fonts/AlegreyaSansSC-LightItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Medium.otf b/ui/fonts/AlegreyaSansSC-Medium.otf deleted file mode 100644 index 8b2184e..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Medium.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-MediumItalic.otf b/ui/fonts/AlegreyaSansSC-MediumItalic.otf deleted file mode 100644 index 52bb8ec..0000000 Binary files a/ui/fonts/AlegreyaSansSC-MediumItalic.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Regular.otf b/ui/fonts/AlegreyaSansSC-Regular.otf deleted file mode 100644 index 020c4f0..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Regular.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-Thin.otf b/ui/fonts/AlegreyaSansSC-Thin.otf deleted file mode 100644 index 97a5ff5..0000000 Binary files a/ui/fonts/AlegreyaSansSC-Thin.otf and /dev/null differ diff --git a/ui/fonts/AlegreyaSansSC-ThinItalic.otf b/ui/fonts/AlegreyaSansSC-ThinItalic.otf deleted file mode 100644 index 31c89d2..0000000 Binary files a/ui/fonts/AlegreyaSansSC-ThinItalic.otf and /dev/null differ diff --git a/ui/fonts/Roboto-Black.ttf b/ui/fonts/Roboto-Black.ttf new file mode 100644 index 0000000..689fe5c Binary files /dev/null and b/ui/fonts/Roboto-Black.ttf differ diff --git a/ui/fonts/Roboto-BlackItalic.ttf b/ui/fonts/Roboto-BlackItalic.ttf new file mode 100644 index 0000000..0b4e0ee Binary files /dev/null and b/ui/fonts/Roboto-BlackItalic.ttf differ diff --git a/ui/fonts/Roboto-Bold.ttf b/ui/fonts/Roboto-Bold.ttf new file mode 100644 index 0000000..d3f01ad Binary files /dev/null and b/ui/fonts/Roboto-Bold.ttf differ diff --git a/ui/fonts/Roboto-BoldItalic.ttf b/ui/fonts/Roboto-BoldItalic.ttf new file mode 100644 index 0000000..41cc1e7 Binary files /dev/null and b/ui/fonts/Roboto-BoldItalic.ttf differ diff --git a/ui/fonts/Roboto-Italic.ttf b/ui/fonts/Roboto-Italic.ttf new file mode 100644 index 0000000..6a1cee5 Binary files /dev/null and b/ui/fonts/Roboto-Italic.ttf differ diff --git a/ui/fonts/Roboto-Light.ttf b/ui/fonts/Roboto-Light.ttf new file mode 100644 index 0000000..219063a Binary files /dev/null and b/ui/fonts/Roboto-Light.ttf differ diff --git a/ui/fonts/Roboto-LightItalic.ttf b/ui/fonts/Roboto-LightItalic.ttf new file mode 100644 index 0000000..0e81e87 Binary files /dev/null and b/ui/fonts/Roboto-LightItalic.ttf differ diff --git a/ui/fonts/Roboto-Medium.ttf b/ui/fonts/Roboto-Medium.ttf new file mode 100644 index 0000000..1a7f3b0 Binary files /dev/null and b/ui/fonts/Roboto-Medium.ttf differ diff --git a/ui/fonts/Roboto-MediumItalic.ttf b/ui/fonts/Roboto-MediumItalic.ttf new file mode 100644 index 0000000..0030295 Binary files /dev/null and b/ui/fonts/Roboto-MediumItalic.ttf differ diff --git a/ui/fonts/Roboto-Regular.ttf b/ui/fonts/Roboto-Regular.ttf new file mode 100644 index 0000000..2c97eea Binary files /dev/null and b/ui/fonts/Roboto-Regular.ttf differ diff --git a/ui/fonts/Roboto-Thin.ttf b/ui/fonts/Roboto-Thin.ttf new file mode 100644 index 0000000..b74a4fd Binary files /dev/null and b/ui/fonts/Roboto-Thin.ttf differ diff --git a/ui/fonts/Roboto-ThinItalic.ttf b/ui/fonts/Roboto-ThinItalic.ttf new file mode 100644 index 0000000..dd0ddb8 Binary files /dev/null and b/ui/fonts/Roboto-ThinItalic.ttf differ diff --git a/ui/fonts/RobotoCondensed-Bold.ttf b/ui/fonts/RobotoCondensed-Bold.ttf new file mode 100644 index 0000000..48dd635 Binary files /dev/null and b/ui/fonts/RobotoCondensed-Bold.ttf differ diff --git a/ui/fonts/RobotoCondensed-BoldItalic.ttf b/ui/fonts/RobotoCondensed-BoldItalic.ttf new file mode 100644 index 0000000..ad72864 Binary files /dev/null and b/ui/fonts/RobotoCondensed-BoldItalic.ttf differ diff --git a/ui/fonts/RobotoCondensed-Italic.ttf b/ui/fonts/RobotoCondensed-Italic.ttf new file mode 100644 index 0000000..a232513 Binary files /dev/null and b/ui/fonts/RobotoCondensed-Italic.ttf differ diff --git a/ui/fonts/RobotoCondensed-Light.ttf b/ui/fonts/RobotoCondensed-Light.ttf new file mode 100644 index 0000000..a6e368d Binary files /dev/null and b/ui/fonts/RobotoCondensed-Light.ttf differ diff --git a/ui/fonts/RobotoCondensed-LightItalic.ttf b/ui/fonts/RobotoCondensed-LightItalic.ttf new file mode 100644 index 0000000..5b2b6ae Binary files /dev/null and b/ui/fonts/RobotoCondensed-LightItalic.ttf differ diff --git a/ui/fonts/RobotoCondensed-Regular.ttf b/ui/fonts/RobotoCondensed-Regular.ttf new file mode 100644 index 0000000..65bf32a Binary files /dev/null and b/ui/fonts/RobotoCondensed-Regular.ttf differ diff --git a/ui/fonts/alegreya-license.txt b/ui/fonts/alegreya-license.txt deleted file mode 100644 index 09ec432..0000000 --- a/ui/fonts/alegreya-license.txt +++ /dev/null @@ -1,47 +0,0 @@ -SIL Open Font License v1.10 - -This license can also be found at this permalink: https://www.fontsquirrel.com/license/alegreya-sans - -Copyright (c) 2013, Juan Pablo del Peral (juan@huertatipografica.com.ar), with Reserved Font Names ‘Alegreya Sans’ - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL - -—————————————————————————————- -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 -—————————————————————————————- - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. - -The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. - -DEFINITIONS -“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. - -“Reserved Font Name” refers to any names specified as such after the copyright statement(s). - -“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s). - -“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. - -“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. - -5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/ui/fonts/roboto-license.txt b/ui/fonts/roboto-license.txt new file mode 100644 index 0000000..63d5302 --- /dev/null +++ b/ui/fonts/roboto-license.txt @@ -0,0 +1,203 @@ +Font data copyright Google 2012 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/ui/styles/fonts.css b/ui/styles/fonts.css index 58da205..66612e2 100644 --- a/ui/styles/fonts.css +++ b/ui/styles/fonts.css @@ -1,32 +1,32 @@ -/*** Alegreya ***/ +/*** Roboto ***/ @font-face { - font-family: "Alegreya"; + font-family: "Roboto"; src: - url("../fonts/AlegreyaSans-Regular.otf") format("opentype"); + url("../fonts/Roboto-Regular.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; } @font-face { - font-family: "Alegreya"; + font-family: "Roboto"; src: - url("../fonts/AlegreyaSans-Bold.otf") format("opentype"); + url("../fonts/Roboto-Bold.ttf") format("truetype"); font-weight: bold; font-style: normal; font-display: swap; } @font-face { - font-family: "Alegreya"; + font-family: "Roboto"; src: - url("../fonts/AlegreyaSans-Italic.otf") format("opentype"); + url("../fonts/Roboto-Italic.ttf") format("truetype"); font-weight: normal; font-style: italic; font-display: swap; } @font-face { - font-family: "Alegreya"; + font-family: "Roboto"; src: - url("../fonts/AlegreyaSans-BoldItalic.otf") format("opentype"); + url("../fonts/Roboto-BoldItalic.ttf") format("truetype"); font-weight: bold; font-style: italic; font-display: swap; -- cgit v1.2.3