summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-07 09:35:27 +0100
committerVolpeon <git@volpeon.ink>2021-03-07 09:35:27 +0100
commitcf3b4e94652bf8bc0feb7aec2e22844c6a248466 (patch)
tree94dd6eceeb1116bec4b95b8e271d845e11a5f30a
parentAttempt to include IBM Plex Sans font (diff)
downloadthelounge-theme-vulpes-cf3b4e94652bf8bc0feb7aec2e22844c6a248466.tar.gz
thelounge-theme-vulpes-cf3b4e94652bf8bc0feb7aec2e22844c6a248466.tar.bz2
thelounge-theme-vulpes-cf3b4e94652bf8bc0feb7aec2e22844c6a248466.zip
Remove IBM Plex again, improve header appearance, fix appearance of mentions popup if there are no mentions
-rw-r--r--IBMPlexSans-Bold.woff2bin56592 -> 0 bytes
-rw-r--r--IBMPlexSans-BoldItalic.woff2bin60472 -> 0 bytes
-rw-r--r--IBMPlexSans-Italic.woff2bin60772 -> 0 bytes
-rw-r--r--IBMPlexSans-Regular.woff2bin56516 -> 0 bytes
-rw-r--r--theme.css66
5 files changed, 22 insertions, 44 deletions
diff --git a/IBMPlexSans-Bold.woff2 b/IBMPlexSans-Bold.woff2
deleted file mode 100644
index f86a4f4..0000000
--- a/IBMPlexSans-Bold.woff2
+++ /dev/null
Binary files differ
diff --git a/IBMPlexSans-BoldItalic.woff2 b/IBMPlexSans-BoldItalic.woff2
deleted file mode 100644
index 804fb7f..0000000
--- a/IBMPlexSans-BoldItalic.woff2
+++ /dev/null
Binary files differ
diff --git a/IBMPlexSans-Italic.woff2 b/IBMPlexSans-Italic.woff2
deleted file mode 100644
index 9916d03..0000000
--- a/IBMPlexSans-Italic.woff2
+++ /dev/null
Binary files differ
diff --git a/IBMPlexSans-Regular.woff2 b/IBMPlexSans-Regular.woff2
deleted file mode 100644
index a6aad7c..0000000
--- a/IBMPlexSans-Regular.woff2
+++ /dev/null
Binary files differ
diff --git a/theme.css b/theme.css
index 4b6fe1a..9e2b4f7 100644
--- a/theme.css
+++ b/theme.css
@@ -61,8 +61,9 @@
61 --color--sidebar-btn--fg: var(--fg); 61 --color--sidebar-btn--fg: var(--fg);
62 --color--sidebar-btn--active-fg: var(--fg-lo); 62 --color--sidebar-btn--active-fg: var(--fg-lo);
63 63
64 --color--header--bg: var(--obj-hi); 64 --color--header--bg: var(--obj-hi);
65 --color--header--fg: var(--fg); 65 --color--header--fg: var(--fg);
66 --color--header--title-fg: var(--fg-lo);
66 67
67 --color--date-marker--fg: var(--fg-hi); 68 --color--date-marker--fg: var(--fg-hi);
68 --color--date-marker--border: var(--obj); 69 --color--date-marker--border: var(--obj);
@@ -131,46 +132,6 @@
131 --button-color: var(--color--yellow); 132 --button-color: var(--color--yellow);
132} 133}
133 134
134@font-face {
135 font-family: 'IBM Plex Sans';
136 font-style: normal;
137 font-weight: 700;
138 src:
139 local("IBM Plex Sans Bold"),
140 local("IBMPlexSans-Bold"),
141 url("./IBMPlexSans-Bold.woff2") format("woff2");
142}
143
144@font-face {
145 font-family: 'IBM Plex Sans';
146 font-style: italic;
147 font-weight: 700;
148 src:
149 local("IBM Plex Sans Bold Italic"),
150 local("IBMPlexSans-BoldItalic"),
151 url("./IBMPlexSans-BoldItalic.woff2") format("woff2");
152}
153
154@font-face {
155 font-family: 'IBM Plex Sans';
156 font-style: italic;
157 font-weight: 400;
158 src:
159 local("IBM Plex Sans Italic"),
160 local("IBMPlexSans-Italic"),
161 url("./IBMPlexSans-Italic.woff2") format("woff2");
162}
163
164@font-face {
165 font-family: 'IBM Plex Sans';
166 font-style: normal;
167 font-weight: 400;
168 src:
169 local("IBM Plex Sans"),
170 local("IBMPlexSans"),
171 url("./IBMPlexSans-Regular.woff2") format("woff2");
172}
173
174body { 135body {
175 font-family: IBM Plex Sans, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, Arial; 136 font-family: IBM Plex Sans, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, Arial;
176 scrollbar-color: var(--color--scrollbar--fg) var(--color--scrollbar--bg); 137 scrollbar-color: var(--color--scrollbar--fg) var(--color--scrollbar--bg);
@@ -382,6 +343,10 @@ body {
382 color: var(--color--input--ph-fg); 343 color: var(--color--input--ph-fg);
383} 344}
384 345
346.header .topic-input {
347 border: 2px solid var(--button-color);
348}
349
385.input, 350.input,
386#chat .userlist .search { 351#chat .userlist .search {
387 height: var(--dim--input--height); 352 height: var(--dim--input--height);
@@ -463,10 +428,17 @@ textarea.input {
463 box-shadow: 0 0 2rem rgba(0, 0, 0, .25); 428 box-shadow: 0 0 2rem rgba(0, 0, 0, .25);
464} 429}
465 430
431.header .title {
432 color: var(--color--header--title-fg);
433 font-size: 16px;
434 font-weight: bold;
435}
436
466#chat button.mentions, 437#chat button.mentions,
467#chat button.menu, 438#chat button.menu,
468#viewport .lt, 439#viewport .lt,
469#viewport .rt { 440#viewport .rt,
441.topic-container .save-topic span {
470 color: var(--color--header--fg); 442 color: var(--color--header--fg);
471} 443}
472 444
@@ -564,6 +536,7 @@ textarea.input {
564 536
565#chat .from { 537#chat .from {
566 grid-area: user; 538 grid-area: user;
539 min-width: 1em;
567 text-align: left; 540 text-align: left;
568 mask-image: none; 541 mask-image: none;
569} 542}
@@ -580,7 +553,6 @@ textarea.input {
580} 553}
581 554
582#chat .msg[data-type="message"] { 555#chat .msg[data-type="message"] {
583 min-width: 12rem;
584 max-width: 80%; 556 max-width: 80%;
585 grid-template-columns: auto 1fr; 557 grid-template-columns: auto 1fr;
586 grid-template-areas: "user time" "content content"; 558 grid-template-areas: "user time" "content content";
@@ -843,6 +815,12 @@ textarea.input {
843 font-weight: bold; 815 font-weight: bold;
844} 816}
845 817
818.mentions-popup > .mentions-popup-title + p {
819 margin: 0;
820 padding: var(--dim--container--pad);
821 border-top: 1px solid var(--color--popup--border);
822}
823
846.mentions-popup .hide-all-mentions { 824.mentions-popup .hide-all-mentions {
847 font-size: 11px; 825 font-size: 11px;
848} 826}