summaryrefslogtreecommitdiff
path: root/web/assets/themes/brutalist.css
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-09-14 16:09:59 +0200
committerLibravatar GitHub <noreply@github.com>2024-09-14 16:09:59 +0200
commit486852fb3817c6637fea837d483331f7b5127178 (patch)
tree4d796dc6b6d8e83a2d424baf48def3e97edc56ed /web/assets/themes/brutalist.css
parent[chore] Fix import/export links on settings panel (#3292) (diff)
downloadgotosocial-486852fb3817c6637fea837d483331f7b5127178.tar.xz
[feature/frontend] Add dark version of brutalist theme (#3294)
Diffstat (limited to 'web/assets/themes/brutalist.css')
-rw-r--r--web/assets/themes/brutalist.css22
1 files changed, 20 insertions, 2 deletions
diff --git a/web/assets/themes/brutalist.css b/web/assets/themes/brutalist.css
index ac4790ad1..e29509c21 100644
--- a/web/assets/themes/brutalist.css
+++ b/web/assets/themes/brutalist.css
@@ -90,7 +90,8 @@ html, body {
}
/* Code snippets */
-.status .text .content pre, .status .text .content code {
+.status .text .content pre,
+.status .text .content code {
background: var(--almost-black);
color: var(--almost-white);
}
@@ -128,18 +129,35 @@ html, body {
border-top: var(--dashed-border);
}
+/* Make show more/less buttons more legible */
.status button, .status .button {
background-color: var(--almost-black);
color: var(--almost-white);
border: var(--dashed-border);
}
-
.status button:hover, .status .button:hover {
background-color: var(--almost-white);
color: var(--almost-black);
border: var(--dashed-border);
}
+/*
+ Border looks terrible on emoji hover
+ with this scheme so disable it.
+*/
.emoji:hover {
border: none;
}
+
+/*
+ Our borders are real thick + juicy,
+ so outdent the left margin a bit
+ more to compensate.
+*/
+.thread .status.indent-1 .status-link,
+.thread .status.indent-2 .status-link,
+.thread .status.indent-3 .status-link,
+.thread .status.indent-4 .status-link,
+.thread .status.indent-5 .status-link {
+ margin-left: -1rem;
+}