From cf3b4e94652bf8bc0feb7aec2e22844c6a248466 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 7 Mar 2021 09:35:27 +0100 Subject: Remove IBM Plex again, improve header appearance, fix appearance of mentions popup if there are no mentions --- IBMPlexSans-Bold.woff2 | Bin 56592 -> 0 bytes IBMPlexSans-BoldItalic.woff2 | Bin 60472 -> 0 bytes IBMPlexSans-Italic.woff2 | Bin 60772 -> 0 bytes IBMPlexSans-Regular.woff2 | Bin 56516 -> 0 bytes theme.css | 66 +++++++++++++++---------------------------- 5 files changed, 22 insertions(+), 44 deletions(-) delete mode 100644 IBMPlexSans-Bold.woff2 delete mode 100644 IBMPlexSans-BoldItalic.woff2 delete mode 100644 IBMPlexSans-Italic.woff2 delete mode 100644 IBMPlexSans-Regular.woff2 diff --git a/IBMPlexSans-Bold.woff2 b/IBMPlexSans-Bold.woff2 deleted file mode 100644 index f86a4f4..0000000 Binary files a/IBMPlexSans-Bold.woff2 and /dev/null differ diff --git a/IBMPlexSans-BoldItalic.woff2 b/IBMPlexSans-BoldItalic.woff2 deleted file mode 100644 index 804fb7f..0000000 Binary files a/IBMPlexSans-BoldItalic.woff2 and /dev/null differ diff --git a/IBMPlexSans-Italic.woff2 b/IBMPlexSans-Italic.woff2 deleted file mode 100644 index 9916d03..0000000 Binary files a/IBMPlexSans-Italic.woff2 and /dev/null differ diff --git a/IBMPlexSans-Regular.woff2 b/IBMPlexSans-Regular.woff2 deleted file mode 100644 index a6aad7c..0000000 Binary files a/IBMPlexSans-Regular.woff2 and /dev/null differ diff --git a/theme.css b/theme.css index 4b6fe1a..9e2b4f7 100644 --- a/theme.css +++ b/theme.css @@ -61,8 +61,9 @@ --color--sidebar-btn--fg: var(--fg); --color--sidebar-btn--active-fg: var(--fg-lo); - --color--header--bg: var(--obj-hi); - --color--header--fg: var(--fg); + --color--header--bg: var(--obj-hi); + --color--header--fg: var(--fg); + --color--header--title-fg: var(--fg-lo); --color--date-marker--fg: var(--fg-hi); --color--date-marker--border: var(--obj); @@ -131,46 +132,6 @@ --button-color: var(--color--yellow); } -@font-face { - font-family: 'IBM Plex Sans'; - font-style: normal; - font-weight: 700; - src: - local("IBM Plex Sans Bold"), - local("IBMPlexSans-Bold"), - url("./IBMPlexSans-Bold.woff2") format("woff2"); -} - -@font-face { - font-family: 'IBM Plex Sans'; - font-style: italic; - font-weight: 700; - src: - local("IBM Plex Sans Bold Italic"), - local("IBMPlexSans-BoldItalic"), - url("./IBMPlexSans-BoldItalic.woff2") format("woff2"); -} - -@font-face { - font-family: 'IBM Plex Sans'; - font-style: italic; - font-weight: 400; - src: - local("IBM Plex Sans Italic"), - local("IBMPlexSans-Italic"), - url("./IBMPlexSans-Italic.woff2") format("woff2"); -} - -@font-face { - font-family: 'IBM Plex Sans'; - font-style: normal; - font-weight: 400; - src: - local("IBM Plex Sans"), - local("IBMPlexSans"), - url("./IBMPlexSans-Regular.woff2") format("woff2"); -} - body { font-family: IBM Plex Sans, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, Arial; scrollbar-color: var(--color--scrollbar--fg) var(--color--scrollbar--bg); @@ -382,6 +343,10 @@ body { color: var(--color--input--ph-fg); } +.header .topic-input { + border: 2px solid var(--button-color); +} + .input, #chat .userlist .search { height: var(--dim--input--height); @@ -463,10 +428,17 @@ textarea.input { box-shadow: 0 0 2rem rgba(0, 0, 0, .25); } +.header .title { + color: var(--color--header--title-fg); + font-size: 16px; + font-weight: bold; +} + #chat button.mentions, #chat button.menu, #viewport .lt, -#viewport .rt { +#viewport .rt, +.topic-container .save-topic span { color: var(--color--header--fg); } @@ -564,6 +536,7 @@ textarea.input { #chat .from { grid-area: user; + min-width: 1em; text-align: left; mask-image: none; } @@ -580,7 +553,6 @@ textarea.input { } #chat .msg[data-type="message"] { - min-width: 12rem; max-width: 80%; grid-template-columns: auto 1fr; grid-template-areas: "user time" "content content"; @@ -843,6 +815,12 @@ textarea.input { font-weight: bold; } +.mentions-popup > .mentions-popup-title + p { + margin: 0; + padding: var(--dim--container--pad); + border-top: 1px solid var(--color--popup--border); +} + .mentions-popup .hide-all-mentions { font-size: 11px; } -- cgit v1.2.3-70-g09d2