Changeset - 175da679e5b7
[Not reviewed]
0 3 0
Joshua Simmons - 7 years ago 2017-08-13 20:24:13
i@joshuasimmons.name
remove inline styles
3 files changed with 39 insertions and 15 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/_default_sidebar.html
Show inline comments
...
 
@@ -12,4 +12,2 @@
 

	
 
          <div style="height: 1em; "></div>
 

	
 
          <h4>{{ level.name }}</h4>
...
 
@@ -20,3 +18,3 @@
 
                      <a href="{{ sponsor.external_url }}" title="{{ sponsor.name }}">
 
                          <img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}" style="width: 100%" />
 
                          <img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}" />
 
                      </a>
pinaxcon/templates/static_pages/homepage.html
Show inline comments
...
 
@@ -11,5 +11,5 @@
 

	
 
  <div class="homepage-block-bg" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
 
  <div class="homepage-block-bg website-background"></div>
 
  <div class="jumbotron homepage-block light">
 
    <div class="homepage-block-bg" style="background-image: url('{% static "images/website-background.svg" %}');"></div>
 
    <div class="homepage-block-bg website-background"></div>
 
    <div class="hills main"></div>
...
 
@@ -40,3 +40,3 @@
 
  <div class="jumbotron homepage-block dark">
 
    <div class="homepage-block-bg" style="background-image: url('{% static "images/mystic.jpg" %}');"></div>
 
    <div class="homepage-block-bg mystic-background"></div>
 
    <div class="container homepage-block-content">
...
 
@@ -46,8 +46,8 @@
 

	
 
      <p>We're hosting the conference at the Mystic Theatre, a 1912-era music hall, right in the middle of Historic Downtown Petaluma. There's countless great places to eat right on our doorstep, craft food and drink producers within walking distance, and plenty of places to stay nearby.</p>
 
      <p>We're hosting the conference at the Mystic Theatre, a 1912-era music hall in the middle of Historic Downtown Petaluma. There are countless places to eat, craft food and drink producers within walking distance, and plenty of places to stay nearby.</p>
 

	
 
      <p>And it's only an hour's drive out of San Francisco (on a good day).</p>
 
      <p>And it's only an hour away from San Francisco.</p>
 
    </div>
 

	
 
    <div class="homepage-block-footer" style="width: 100%">
 
    <div class="homepage-block-footer full-width">
 
      <div class="container">
...
 
@@ -59,3 +59,3 @@
 
          <div class="col-md-8 text-right">
 
            Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt" title="Photo of the Mystic Theatre">Mystic Theatre</a>, &copy; 2017 Christopher Neugebauer (CC-BY-SA)
 
            Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt" title="Photo of the Mystic Theatre">Mystic Theatre</a>, &copy; 2017 Christopher Neugebauer (<a href="https://creativecommons.org/licenses/by-sa/2.0/" title="Creative Commons Attribute Share Alike 2.0 Generic License">CC BY-SA 2.0</a>)
 
          </div>
...
 
@@ -75,3 +75,3 @@
 

	
 
      <div class="row">
 
      <div class="row sponsor-list">
 
      {% for level in levels %}
...
 
@@ -82,3 +82,3 @@
 
                          <a href="{{ sponsor.external_url }}" title="{{ sponsor.name }}">
 
                              <img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}" style="width:100%"/>
 
                              <img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}">
 
                          </a>
...
 
@@ -102,3 +102,3 @@
 
  <div class="jumbotron homepage-block dark">
 
    <div class="homepage-block-bg" style="background-image: url('{% static "images/django-girls-2014.jpg" %}');"></div>
 
    <div class="homepage-block-bg djangogirls-background"></div>
 
    <div class="container homepage-block-content">
...
 
@@ -115,3 +115,3 @@
 

	
 
    <div class="homepage-block-footer" style="width: 100%">
 
    <div class="homepage-block-footer full-width">
 
      <div class="container">
...
 
@@ -123,3 +123,3 @@
 
          <div class="col-md-8 text-right">
 
            Image credit: <a href="https://www.flickr.com/photos/richard_jones/14638274749" title="Photo from DjangoGirls Brisbane 2014">DjangoGirls Brisbane 2014</a>, &copy; 2014 Richard Jones (CC-BY)
 
            Image credit: <a href="https://www.flickr.com/photos/richard_jones/14638274749" title="Photo from DjangoGirls Brisbane 2014">DjangoGirls Brisbane</a>, &copy; 2014 Richard Jones (<a href="https://creativecommons.org/licenses/by/2.0/" title="Creative Commons Attribute 2.0 Generic License">CC BY 2.0</a>)
 
          </div>
static/scss/custom.scss
Show inline comments
...
 
@@ -204 +204,27 @@ $homepage-block-min-height: 480px;
 
}
 

	
 
.website-background {
 
  background-image: url("../images/website-background.svg");
 
}
 

	
 
.mystic-background {
 
  background-image: url("../images/mystic.jpg");
 
}
 

	
 
.djangogirls-background {
 
  background-image: url("../images/django-girls-2014.jpg");
 
}
 

	
 

	
 

	
 
.sponsor-list a img {
 
  width: 100%;
 
}
 

	
 
.sponsor-list {
 
  margin-top: 1em;
 
}
 

	
 
.full-width {
 
  width: 100%;
 
}
0 comments (0 inline, 0 general)