Adds some styling to standard content pages.

This commit is contained in:
Christopher Neugebauer 2017-08-12 18:23:41 -07:00
parent 9d5275654e
commit 8a7cec8d64
3 changed files with 14 additions and 0 deletions

View file

@ -18,6 +18,9 @@
{% endblock %}
{% block body_base %}
<div class="homepage-block-bg" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
<section id="content_body">
<div class="container">
{% include "_messages.html" %}

View file

@ -2,6 +2,9 @@ body {
padding-top: 50px;
position: relative;
font-weight: 300; // Not overridable in bootstrap at the moment.
/*background: url("../images/website-background.svg");
background-size: cover;
background-repeat: no-repeat;*/
}
// Not overridable in bootstrap at the moment
@ -87,6 +90,11 @@ body.reviews.voting-status {
padding: 0;
}
#content_body {
background-color: $background-filter-transparent;
box-shadow: 0px 0px 2em $background-filter; //, inset 0px -5px 1em rgba(0, 0, 0, 0.8);
}
.homepage-block-content {
position: relative;
height: 100%;
@ -128,6 +136,7 @@ body.reviews.voting-status {
opacity: 0.3;
background-blend-mode: multiply;
z-index: -9999;
box-shadow: $box-shadow;
}
.homepage-block.dark {

View file

@ -2,11 +2,13 @@
// Used by links, buttons, and other background bits.
$brand-primary: #1f6400;
$background-filter: hsla(207, 60%, 85%, 1.0);
$background-filter-transparent: change-color($background-filter, $alpha: 0.5);
/* TEXT */
$font-family-sans-serif: 'Montserrat', Arial, sans-serif;
$font-family-serif: Georgia, "Times New Roman", Times, serif;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
$font-size-base: 15px;
$headings-line-height: 1.0;