Browse Source

CSS: fix some border color regressions

merge-requests/126/merge
Deimos 4 years ago
parent
commit
de1a64b3d0
  1. 8
      tildes/scss/_base.scss
  2. 6
      tildes/scss/modules/_comment.scss

8
tildes/scss/_base.scss

@ -8,6 +8,10 @@ html {
font-size: $html-font-size; font-size: $html-font-size;
} }
* {
border-color: var(--border-color);
}
a { a {
text-decoration: none; text-decoration: none;
@ -282,10 +286,10 @@ tbody tr:nth-of-type(2n + 1) {
td, td,
th { th {
border: $border-width solid;
border: $border-width solid var(--border-color);
padding: $unit-3 $unit-2; padding: $unit-3 $unit-2;
} }
th { th {
border-bottom-width: $border-width-lg;
border-bottom: $border-width-lg solid var(--foreground-highlight-color);
} }

6
tildes/scss/modules/_comment.scss

@ -2,8 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-or-later // SPDX-License-Identifier: AGPL-3.0-or-later
.comment { .comment {
border-left: 1px solid;
border-color: inherit;
border-left: 1px solid var(--border-color);
margin-bottom: 0.4rem; margin-bottom: 0.4rem;
&:target > .comment-itself { &:target > .comment-itself {
@ -12,8 +11,7 @@
} }
.comment[data-comment-depth="0"] { .comment[data-comment-depth="0"] {
border-bottom: 1px solid;
border-color: inherit;
border-bottom: 1px solid var(--border-color);
} }
.comment-header { .comment-header {

Loading…
Cancel
Save