From de1a64b3d0164744ae06b890b5f51e7452132f25 Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 28 Sep 2020 17:21:26 -0600 Subject: [PATCH] CSS: fix some border color regressions --- tildes/scss/_base.scss | 8 ++++++-- tildes/scss/modules/_comment.scss | 6 ++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tildes/scss/_base.scss b/tildes/scss/_base.scss index e17d26e..6db3fdb 100644 --- a/tildes/scss/_base.scss +++ b/tildes/scss/_base.scss @@ -8,6 +8,10 @@ html { font-size: $html-font-size; } +* { + border-color: var(--border-color); +} + a { text-decoration: none; @@ -282,10 +286,10 @@ tbody tr:nth-of-type(2n + 1) { td, th { - border: $border-width solid; + border: $border-width solid var(--border-color); padding: $unit-3 $unit-2; } th { - border-bottom-width: $border-width-lg; + border-bottom: $border-width-lg solid var(--foreground-highlight-color); } diff --git a/tildes/scss/modules/_comment.scss b/tildes/scss/modules/_comment.scss index bb78d9d..37c8a0a 100644 --- a/tildes/scss/modules/_comment.scss +++ b/tildes/scss/modules/_comment.scss @@ -2,8 +2,7 @@ // SPDX-License-Identifier: AGPL-3.0-or-later .comment { - border-left: 1px solid; - border-color: inherit; + border-left: 1px solid var(--border-color); margin-bottom: 0.4rem; &:target > .comment-itself { @@ -12,8 +11,7 @@ } .comment[data-comment-depth="0"] { - border-bottom: 1px solid; - border-color: inherit; + border-bottom: 1px solid var(--border-color); } .comment-header {