Skip to content

Commit b743d29

Browse files
committed
Optimise
1 parent 1cd195a commit b743d29

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/assets/sass/modules/_http-errors.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
.http-status-code {
55
font-size: 3em;
66
}
7+
8+
.http-status-description {
9+
display: inline-block;
10+
}

src/assets/sass/modules/_layout.scss

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,13 @@ main .layout-4col-3span {
346346
border-top: 2px dashed $color-border;
347347
}
348348

349+
@include dark-mode {
350+
.teaser,
351+
.teaser-container {
352+
border-top-color: $dark-color-border;
353+
}
354+
}
355+
349356
/**
350357
* Advertising links.
351358
*/
@@ -374,14 +381,6 @@ main .layout-4col-3span {
374381
display: block;
375382
}
376383

377-
/**
378-
* Error page subheadings.
379-
*/
380-
381-
.http-status-description {
382-
display: inline-block;
383-
}
384-
385384
/**
386385
* Homepage animation canvas.
387386
*/
@@ -395,7 +394,7 @@ main .layout-4col-3span {
395394
width: 100%;
396395
max-width: 1150px;
397396
margin: 0 auto;
398-
background: #ffffff;
397+
background: $color-background;
399398

400399
img {
401400
max-width: 100%;

0 commit comments

Comments
 (0)