Skip to content
This repository
Browse code

Adding in some wrappers

Annoyingly required to get equal-height boxes
  • Loading branch information...
commit 246dc12d6b2736f9f777a29d14e0a488baf4407e 1 parent 6869c85
Andrew Hayward authored December 04, 2012
56  gameon/static_site/templates/static_site/landing.html
@@ -41,31 +41,37 @@ <h2 class="exclaim">Submit your game prototype by {{ request.challenge.end_date.
41 41
 </section>
42 42
 <section class="participate cf">
43 43
     <div class="busta cf">
44  
-        <article class="submit_now">
45  
-            <h2 class="exclaim">Submit Your Game</h2>
46  
-            <p>Mozilla invites you to imagine how next-generation web technologies can revolutionize the way we make and play games. It's your opportunity to invent new game mechanics and re-imagine the web as a gaming platform.</p>
47  
-            <p>Excited? Good! Want to get involved? <a href="https://mozilla.org/gameon/">Sign up for more information</a>.</p>
48  
-            {% if request.challenge %}
49  
-                <p><strong>Submit your game prototype by {{ request.challenge.end_date.strftime('%B %e, %Y') }}</strong></p>
50  
-                {% if request.challenge.is_open() %}
51  
-                    {% include '_signup_login.html' %}
52  
-                {% endif %}
53  
-                <footer>
54  
-                    Submissions open on {{ request.challenge.start_date.strftime('%B %e, %Y') }} and close {{ request.challenge.end_date.strftime('%B %e, %Y') }}.
55  
-                </footer>
56  
-            {% endif %}
57  
-        </article>
58  
-        <article class="events">
59  
-            <h2 class="exclaim">Come to a Game Jam!</h2>
60  
-            <ul class="checks">
61  
-                <li>Got a game idea for the competition you'd like help testing and finishing up?</li>
62  
-                <li>Interested in playing with new technologies and meeting people who love making and  hacking games as much as you do?</li>
63  
-            </ul>
64  
-            [include upcoming game jam lists when merged]
65  
-            <footer>
66  
-                <a href="#">Register for an upcoming game jam [link through to gameon event page when merged in]</a> or <a href="https://webmaker.org/events/guides/game-jam/">run your own here</a>
67  
-            </footer>
68  
-        </article>
  44
+        <div class="wrapper">
  45
+            <article class="submit_now">
  46
+                <div class="inner">
  47
+                    <h2 class="exclaim">Submit Your Game</h2>
  48
+                    <p>Mozilla invites you to imagine how next-generation web technologies can revolutionize the way we make and play games. It's your opportunity to invent new game mechanics and re-imagine the web as a gaming platform.</p>
  49
+                    <p>Excited? Good! Want to get involved? <a href="https://mozilla.org/gameon/">Sign up for more information</a>.</p>
  50
+                    {% if request.challenge %}
  51
+                        <p><strong>Submit your game prototype by {{ request.challenge.end_date.strftime('%B %e, %Y') }}</strong></p>
  52
+                        {% if request.challenge.is_open() %}
  53
+                            {% include '_signup_login.html' %}
  54
+                        {% endif %}
  55
+                        <footer>
  56
+                            Submissions open on {{ request.challenge.start_date.strftime('%B %e, %Y') }} and close {{ request.challenge.end_date.strftime('%B %e, %Y') }}.
  57
+                        </footer>
  58
+                    {% endif %}
  59
+                </div>
  60
+            </article>
  61
+            <article class="events">
  62
+                <div class="inner">
  63
+                    <h2 class="exclaim">Come to a Game Jam!</h2>
  64
+                    <ul class="checks">
  65
+                        <li>Got a game idea for the competition you'd like help testing and finishing up?</li>
  66
+                        <li>Interested in playing with new technologies and meeting people who love making and  hacking games as much as you do?</li>
  67
+                    </ul>
  68
+                    <p>[include upcoming game jam lists when merged]</p>
  69
+                    <footer>
  70
+                        <a href="#">Register for an upcoming game jam [link through to gameon event page when merged in]</a> or <a href="https://webmaker.org/events/guides/game-jam/">run your own here</a>
  71
+                    </footer>
  72
+                </div>
  73
+            </article>
  74
+        </div>
69 75
     </div>
70 76
 </section>
71 77
 {% endblock %}

0 notes on commit 246dc12

Please sign in to comment.
Something went wrong with that request. Please try again.