Changeset - 52c20b16ef2d
[Not reviewed]
0 3 0
Christopher Neugebauer - 7 years ago 2017-08-13 14:52:11
chrisjrn@gmail.com
Homepage now renders correctly in mobile.
3 files changed with 52 insertions and 33 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/_footer.html
Show inline comments
 
<div class="row">
 
  <div class="pull-left">
 
    <p>North Bay Python is a member project of <a href="https://sfconservancy.org" title="Software Freedom Conservancy">Software Freedom Conservancy</a>, a 501(c)(3) charity.</p>
 
  <div class="col-md-8">
 
    <p>&copy; 2017 North Bay Python. North Bay Python is a member project of <a href="https://sfconservancy.org" title="Software Freedom Conservancy">Software Freedom Conservancy</a>, a 501(c)(3) charity.</p>
 

	
...
 
@@ -7,5 +7,5 @@
 

	
 
  <div class="pull-right">
 
      Site powered by <a href="https://github.com/chrisjrn/symposion/" title="Symposion Git Repository"><b>Symposion</b></a>
 
      and <a href="https://github.com/chrisjrn/registrasion/" title="Registrasion Git Repository"><b>Registrasion</b></a>.
 
  <div class="col-md-4 text-right">
 
      This site is <a href="https://github.com/northbaypython/website">Free and Open Source Software</a>, powered by <a href="https://github.com/chrisjrn/symposion/" title="Symposion Git Repository">Symposion</a>
 
      and <a href="https://github.com/chrisjrn/registrasion/" title="Registrasion Git Repository">Registrasion</a>.
 
  </div>
pinaxcon/templates/static_pages/homepage.html
Show inline comments
...
 
@@ -26,3 +26,2 @@
 

	
 
      <div class="bottom-align">
 
        <h3>
...
 
@@ -36,3 +35,5 @@
 

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

	
 
      <div class="container homepage-block-footer">
 

	
...
 
@@ -55,11 +56,17 @@
 

	
 
      <div class="bottom-align" style="width: 100%">
 
        <div class="btn-group col-md-4">
 
          <a class="btn btn-lg btn-primary" href="/about/north-bay-python">Find out more</a>
 
        </div>
 
    </div>
 

	
 
    <div class="homepage-block-footer" style="width: 100%">
 
      <div class="container">
 
        <div class="row">
 
          <div class="btn-group col-md-4">
 
            <a class="btn btn-lg btn-primary" href="/about/north-bay-python">Find out more</a>
 
          </div>
 

	
 
        <div class="col-md-8 text-right">
 
          Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt">Mystic Theatre</a>, &copy; 2017 Christopher Neugebauer (CC-BY-SA)</div>
 
          <div class="col-md-8 text-right">
 
            Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt">Mystic Theatre</a>, &copy; 2017 Christopher Neugebauer (CC-BY-SA)
 
          </div>
 
        </div>
 
      </div>
 
  </div>
 
    </div>
 

	
...
 
@@ -72,2 +79,10 @@
 
    </div>
 

	
 
    <div class="container homepage-block-footer">
 

	
 
      <div class="btn-group">
 
        <a class="btn btn-lg btn-primary" href="/sponsors">Become a sponsor</a>
 
      </div>
 
    </div>
 

	
 
  </div>
...
 
@@ -82,13 +97,17 @@
 
      <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>
 

	
 
    <div class="homepage-block-footer" style="width: 100%">
 
      <div class="container">
 
        <div class="row">
 
          <div class="btn-group col-md-4">
 
            <a class="btn btn-lg btn-primary" href="/code-of-conduct">View our code of conduct</a>
 
          </div>
 

	
 
      <div class="bottom-align" style="width: 100%">
 
        <div class="btn-group col-md-4">
 
          <a class="btn btn-lg btn-primary" href="/code-of-conduct">View our code of conduct</a>
 
          <div class="col-md-8 text-right">
 
            Image credit: <a href="https://www.flickr.com/photos/richard_jones/14638274749">DjangoGirls Brisbane 2014</a>, &copy; 2014 Richard Jones (CC-BY)</div>
 
          </div>
 
        </div>
 

	
 
        <div class="col-md-8 text-right">
 
          Image credit: <a href="https://www.flickr.com/photos/richard_jones/14638274749">DjangoGirls Brisbane 2014</a>, &copy; 2014 Richard Jones (CC-BY)</div>
 
      </div>
 
    </div>
 

	
 
  </div>
static/scss/custom.scss
Show inline comments
...
 
@@ -105,11 +105,3 @@ body.auth .panel-heading .panel-title span.pull-right {
 

	
 
.homepage-block-content {
 
  position: relative;
 
  height: 100%;
 
}
 

	
 
.bottom-align {
 
  position: absolute;
 
  bottom: 0;
 
}
 
$homepage-block-min-height: 480px;
 

	
...
 
@@ -118,4 +110,3 @@ body.auth .panel-heading .panel-title span.pull-right {
 
  margin-bottom: 0;
 
  min-height: 480px;  // TODO: change
 
  height: 480px;
 
  min-height: $homepage-block-min-height;
 
  position: relative;
...
 
@@ -125,2 +116,11 @@ body.auth .panel-heading .panel-title span.pull-right {
 

	
 
.homepage-block-content {
 
  min-height: ($homepage-block-min-height - 80px);
 
}
 

	
 
/* ??? */
 
.homepage-block-footer {
 

	
 
}
 

	
 
.homepage-block.light {
...
 
@@ -190,2 +190,2 @@ body.auth .panel-heading .panel-title span.pull-right {
 
  margin-top: 1em;
 
}
...
 
\ No newline at end of file
 
}
0 comments (0 inline, 0 general)