From 4b424d2a32113ad35922f1ae34c7c0e154652e33 Mon Sep 17 00:00:00 2001 From: refact0r Date: Fri, 17 Nov 2023 20:28:13 -0800 Subject: [PATCH] fix wordmark and buttons --- midnight.css | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/midnight.css b/midnight.css index 1157e575..3469d23b 100644 --- a/midnight.css +++ b/midnight.css @@ -329,6 +329,9 @@ a[href="https://support.discord.com"] /* hide help */ } /* top corner title */ +[class^='wordmarkWindows'] { + padding: 4px var(--spacing); +} [class^='wordmarkWindows'] > svg { display: none; } @@ -336,18 +339,19 @@ a[href="https://support.discord.com"] /* hide help */ content: 'Midnight'; display: block; position: relative; - width: 200px; height: 16px; line-height: 16px; - font-family: var(--font-headline); - font-size: 10px; - font-weight: 600; + font-family: var(--font); + font-size: 13px; + font-weight: 900; color: var(--text-5); + transform: scaleX(1.2); + margin-left: 6px; } /* top bar height */ [class^='typeWindows'] { - height: var(--spacing) + 8px; + height: calc(var(--spacing) + 8px); } /* window controls */ @@ -357,10 +361,13 @@ a[href="https://support.discord.com"] /* hide help */ [class^='winButton'] { background: none !important; top: 0; - width: 20px; - height: 20px; + width: calc(var(--spacing) + 8px); + height: calc(var(--spacing) + 8px); margin: -2px 4px 0px 0px; } +[class^='winButtonClose'] { + margin: -2px calc(var(--spacing) - 4px) 0px 0px; +} [class^='winButton']::after { content: ''; height: 12px;