More work on the homepage
This commit is contained in:
parent
50efc40d49
commit
2e56470809
5 changed files with 77 additions and 13 deletions
|
@ -13,14 +13,14 @@
|
|||
|
||||
<div class="homepage-block-bg" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
|
||||
|
||||
<div class="container has-bottom-aligned-div">
|
||||
<div class="container homepage-block-content">
|
||||
|
||||
<h1>North Bay Python</h1>
|
||||
<h2>A Python conference north of the Golden Gate</h2>
|
||||
|
||||
<div class="bottom-align col-md-6 col-md-offset-3 text-center">
|
||||
<div class="bottom-align">
|
||||
<h3>Petaluma, California</h3>
|
||||
<h4><strong>2017 Conference:</strong> 2 & 3 December</h4>
|
||||
<h4><strong>2017 conference:</strong> 2 & 3 December</h4>
|
||||
<h4>Talk submissions close 29 September</h4>
|
||||
|
||||
<div class="btn-group">
|
||||
|
@ -32,21 +32,65 @@
|
|||
</div>
|
||||
|
||||
<div class="jumbotron homepage-block dark">
|
||||
<div class="container">
|
||||
|
||||
<div class="homepage-block-bg" style="background-image: url('{% static "images/mystic.jpg" %}');"></div>
|
||||
|
||||
<div class="container homepage-block-content">
|
||||
<h1>Downtown Petaluma</h1>
|
||||
<h2>Blah Blah Test</h2>
|
||||
</div>
|
||||
|
||||
<p>Here is some text about Petaluma and the Mystic Theatre. It's pretty great. The mystic is close to restaurants and hotels. Petaluma is only an hour out of San Francisco. Blah.</p>
|
||||
|
||||
<div class="bottom-align" style="width: 100%">
|
||||
<div class="btn-group col-md-6">
|
||||
<a class="btn btn-lg btn-primary" href="/about/north-bay-python">Find out more</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 text-right">
|
||||
Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt">Mystic Theatre</a>, © 2017 Christopher Neugebauer (CC-BY-SA)</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="jumbotron homepage-block light">
|
||||
</div>
|
||||
|
||||
<div class="homepage-block-bg" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
|
||||
|
||||
<div class="container">
|
||||
<div class="jumbotron homepage-block white">
|
||||
|
||||
<div class="container homepage-block-content">
|
||||
<h1>Sponsors</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="jumbotron homepage-block dark">
|
||||
|
||||
<div class="homepage-block-bg" style="background-image: url('{% static "images/django-girls-2014.jpg" %}');"></div>
|
||||
|
||||
<div class="container homepage-block-content">
|
||||
<h1>Inclusion and Diversity</h1>
|
||||
|
||||
<p>Statement about commitment to inclusion and diversity. Strong code of conduct. Short and long term diversity targets in our call for proposals. Cheap tickets, with an entry fee that we will waive on request. Financial assistance for those who need it.</p>
|
||||
|
||||
|
||||
<div class="bottom-align" style="width: 100%">
|
||||
<div class="btn-group col-md-6">
|
||||
<a class="btn btn-lg btn-primary" href="/code-of-conduct">View our code of conduct</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 text-right">
|
||||
Image credit: <a href="https://www.flickr.com/photos/richard_jones/14638274749">DjangoGirls Brisbane 2014</a>, © 2014 Richard Jones (CC-BY)</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block footer_base %}
|
||||
<div class="jumbotron homepage-block light" style="height:100px;">
|
||||
|
||||
<div class="homepage-block-bg" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
|
||||
|
||||
<div class="container homepage-block-content">
|
||||
{% block footer %}
|
||||
{% include "_footer.html" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
BIN
static/images/django-girls-2014.jpg
Normal file
BIN
static/images/django-girls-2014.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 551 KiB |
BIN
static/images/mystic.jpg
Normal file
BIN
static/images/mystic.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 134 KiB |
|
@ -87,7 +87,7 @@ body.reviews.voting-status {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.has-bottom-aligned-div {
|
||||
.homepage-block-content {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -103,24 +103,38 @@ body.reviews.voting-status {
|
|||
min-height: 480px; // TODO: change
|
||||
height: 480px;
|
||||
position: relative;
|
||||
box-shadow: $box-shadow;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.homepage-block.light {
|
||||
background-color: hsla(207, 60%, 85%, 1.0);
|
||||
background-color: $background-filter;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.homepage-block.white {
|
||||
background-color: white;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.homepage-block-bg {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
opacity: 0.3;
|
||||
background-blend-mode: multiply;
|
||||
z-index: -9999;
|
||||
}
|
||||
|
||||
.homepage-block.dark {
|
||||
background: #333;
|
||||
background: $gray-base;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
box-shadow: $box-shadow;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
/* COLORS */
|
||||
// Used by links, buttons, and other background bits.
|
||||
$brand-primary: #1f6400;
|
||||
$background-filter: hsla(207, 60%, 85%, 1.0);
|
||||
|
||||
/* 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;
|
||||
$headings-line-height: 1.0;
|
||||
|
||||
|
||||
// Navbar
|
||||
|
@ -13,3 +17,5 @@ $navbar-default-link-color: darken($navbar-default-color, 6.5%);
|
|||
$navbar-default-link-hover-color: darken($navbar-default-link-color, 6.5%);
|
||||
$navbar-default-link-active-color: $navbar-default-link-hover-color;
|
||||
$navbar-default-link-disabled-color: lighten($navbar-default-bg, 6.5%);
|
||||
|
||||
$box-shadow: 0px 1px 1em rgba(0, 1, 1, 1); //, inset 0px -5px 1em rgba(0, 0, 0, 0.8);
|
||||
|
|
Loading…
Reference in a new issue