]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
The statline is a class, not an ID.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 4 Mar 2015 01:44:55 +0000 (20:44 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 4 Mar 2015 01:44:55 +0000 (20:44 -0500)
xonstat/static/css/app.css
xonstat/templates/main_index.mako

index 90932eb1207d3357fef2f6bde479d0b566e51e25..dee747b9e192b406d57c9ca3f9c67627da56e9b9 100644 (file)
@@ -117,10 +117,9 @@ ul, ol, dl {
   margin-left: 0;
 }
 
-/* One-off elements */
-#statline {
+.statline {
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 0.9rem;
   position: relative;
-  top: -25px;
+  top: -20px;
 }
index 5e35cb6438cb513ffd764919b83d0aed2341a542..8baec3a708846f29b81597fa9a173b6124ee359c 100644 (file)
@@ -13,13 +13,13 @@ Leaderboard
   <div class="text-center">
     <img src="/static/css/img/xonotic-logo.png" />
     % if stat_line is None:
-    <p id="statline">Tracking Xonotic statistics since October 2011.</p>
+    <p class="statline">Tracking Xonotic statistics since October 2011.</p>
     % else:
-    <p id="statline">Tracking ${stat_line|n} since October 2011.</p>
+    <p class="statline">Tracking ${stat_line|n} since October 2011.</p>
     % endif
 
     % if day_stat_line is not None:
-    <p id="statline">${day_stat_line|n} in the past 24 hours.</p>
+    <p class="statline">${day_stat_line|n} in the past 24 hours.</p>
     % endif
   </div>
 </%block>