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 41 insertions and 22 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,3 +56,7 @@
 

	
 
      <div class="bottom-align" style="width: 100%">
 
    </div>
 

	
 
    <div class="homepage-block-footer" style="width: 100%">
 
      <div class="container">
 
        <div class="row">
 
          <div class="btn-group col-md-4">
...
 
@@ -61,3 +66,5 @@
 
          <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>
 
            Image credit: <a href="https://www.instagram.com/p/BU-G5dGAkHt">Mystic Theatre</a>, &copy; 2017 Christopher Neugebauer (CC-BY-SA)
 
          </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,5 +97,7 @@
 
      <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="bottom-align" style="width: 100%">
 
    <div class="homepage-block-footer" style="width: 100%">
 
      <div class="container">
 
        <div class="row">
 
          <div class="btn-group col-md-4">
...
 
@@ -95,2 +112,4 @@
 

	
 
  </div>
 

	
 
{% endblock %}
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 {
0 comments (0 inline, 0 general)