Changeset - 8a7cec8d6430
[Not reviewed]
0 3 0
Christopher Neugebauer - 7 years ago 2017-08-13 01:23:41
chrisjrn@gmail.com
Adds some styling to standard content pages.
3 files changed with 14 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/site_base.html
Show inline comments
...
 
@@ -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" %}
static/scss/custom.scss
Show inline comments
...
 
@@ -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 {
static/scss/variables.scss
Show inline comments
...
 
@@ -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;
 

	
 

	
0 comments (0 inline, 0 general)