Browse files

html cleanup

  • Loading branch information...
1 parent f7f1129 commit 1a955a4c7115cad940cee02c5704b228b72c0002 @wraithan committed Sep 16, 2012
Showing with 16 additions and 10 deletions.
  1. +2 −0 anyday/core/templates/base.html
  2. +14 −10 anyday/core/templates/home.html
View
2 anyday/core/templates/base.html
@@ -12,6 +12,8 @@
<script type="text/javascript" src="//use.typekit.net/idv4vus.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+ {% block head %}
+ {% endblock head %}
</head>
<body>
<header>
View
24 anyday/core/templates/home.html
@@ -1,16 +1,7 @@
{% extends 'base.html' %}
{% load typogrify_tags %}
-{% block content %}
-<h2>Rejoice, for your <em>random funday</em> is:</h2>
-
-<div class="choice">
- <div class="container">
- <h3>&ldquo;{{ object.name }}&rdquo;</h3>
- <p>{{ object.description|typogrify }}</p>
- <p><strong>Don't remember that one? For shame.</strong><br><a href="{{ object.video }}">View the <strong>&ldquo;{{object.name}}&rdquo;</strong> episode of Funday Monday!</a></p>
- </div>
-
+{% block head %}
<style type="text/css">
/* So Bryan can hate me... */
.race_specific h4 {
@@ -27,6 +18,18 @@
padding-right: 10px;
}
</style>
+{% endblock head %}
+
+{% block content %}
+<h2>Rejoice, for your <em>random funday</em> is:</h2>
+
+<div class="choice">
+ <div class="container">
+ <h3>&ldquo;{{ object.name }}&rdquo;</h3>
+ <p>{{ object.description|typogrify }}</p>
+ <p><strong>Don't remember that one? For shame.</strong><br><a href="{{ object.video }}">View the <strong>&ldquo;{{object.name}}&rdquo;</strong> episode of Funday Monday!</a></p>
+ </div>
+
<div class="container race_specific">
<h4>Want a race-specific funday?</h4>
<ul>
@@ -50,6 +53,7 @@
<a href="{% url random_race race='zerg' %}">Zerg</a>
{% if race and race == 'zerg' %}</strong>{% endif %}
</li>
+ </ul>
</div>
</div>

0 comments on commit 1a955a4

Please sign in to comment.