Skip to content

Commit 2c7b165

Browse files
committed
Fixing background color body on subpages when a dark body color has beens set
1 parent 2a4decc commit 2c7b165

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
{% include head.html %}
99

10-
<body>
10+
<body class="subPageBody">
1111
<div class="headerBackground subPageHeaderBackground">
1212
<div class="container subPageContainer">
1313
{% include header.html %}

_sass/base.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ body {
1616
background-color: $body-color;
1717
}
1818

19+
.subPageBody {
20+
background-color: #fff;
21+
}
22+
1923
h1 {
2024
font-size: 3rem;
2125
}

_sass/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
.subPageContainer {
5252
grid-template-rows: 115px auto auto auto;
53-
53+
background-color: #fff;
5454
}
5555

5656
@media only screen and (max-width: 768px) {

0 commit comments

Comments
 (0)