Skip to content

Commit

Permalink
Apply gray color in css, not the html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Oct 23, 2020
1 parent 39e6256 commit 5446fb4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion scss/theme/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ body.sticky-footer {
color: #acb3c2;
padding: 1rem $horiz-padding 0;
text-align: center;
}
background-color: $bg-color;
}
3 changes: 2 additions & 1 deletion scss/theme/_onepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@
.modular-text {
padding-top: 4rem;
padding-bottom: 4rem;
background-color: $bg-color;

.columns.left {
flex-direction: row-reverse;
}
}
}
2 changes: 1 addition & 1 deletion templates/modular/text.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set grid_size = theme_var('grid-size') %}
{% set image = page.media.images|first %}

<section class="section modular-text {{ page.header.class}} bg-gray">
<section class="section modular-text {{ page.header.class}}">
<section class="container {{ grid_size }}">
<div class="columns {{ page.header.image_align|default('align-right') }}">
{% if image %}
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/footer.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section id="footer" class="section bg-gray">
<section id="footer" class="section">
<section class="container {{ grid_size }}">
<p><a href="http://getgrav.org">Grav</a> was <i class="fa fa-code"></i> with <i class="fa fa-heart-o pulse "></i> by <a href="https://trilby.media">Trilby Media</a>.</p>
</section>
Expand Down

0 comments on commit 5446fb4

Please sign in to comment.