diff -ruN orig/css/quizzity.less mod/css/quizzity.less --- orig/css/quizzity.less +++ mod/css/quizzity.less @@ -1,4 +1,9 @@ -@import (css) url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700); +@font-face { + font-family: 'Roboto Condensed'; + font-weight: 400 700; + font-style: normal; + src: url(../fonts/RobotoCondensed.ttf) format('truetype'); +} @water: #4576b2; @@ -152,7 +157,7 @@ } // Source code panel -#github, #paypal { +#github { .box(3px, 0.9); bottom: @pageMargin; left: @pageMargin; @@ -161,19 +166,9 @@ padding-left: 10px; padding-right: 10px; - font-size: 20px; + font-size: 14px; .transparent; - - a { - text-decoration: none; - color: black; - pointer-events: auto; - } -} - -#paypal { - bottom: @pageMargin + 40px; } // flashing score during the game @@ -287,10 +282,6 @@ display: none; } - #paypal { - display: none; - } - #points { top: 45px; } diff -ruN orig/index.html mod/index.html --- orig/index.html +++ mod/index.html @@ -4,24 +4,12 @@ quizzity - a geography game + - - - - - - - - - - - - - @@ -49,8 +37,7 @@

-
Source on GitHub
-
Support this game
+
Map: Natural Earth (public domain). Cities: GeoNames, CC BY 4.0.
@@ -58,14 +45,5 @@ - diff -ruN orig/js/quizzity.js mod/js/quizzity.js --- orig/js/quizzity.js +++ mod/js/quizzity.js @@ -23,7 +23,8 @@ maxZoom: Quizzity.maxZoom, minZoom: Quizzity.minZoom, noWrap: true, - tms: true + tms: true, + attribution: 'Natural Earth; GeoNames (CC BY 4.0)' } ).addTo(this.map); @@ -88,7 +89,6 @@ this.$panel.show(); this.$panel.startAnimation('bounceIn'); - ga('send', 'event', 'button', 'click', 'start-game'); }; Quizzity.prototype.showPoints = function() { @@ -152,11 +152,6 @@ this.$dialog.show(); this.$dialog.startAnimation('zoomIn'); - $.ajax({ - type: 'POST', - url: 'php/log.php', - data: { guesses: JSON.stringify(this.cities) } - }); }; Quizzity.prototype.isGameActive = function() { @@ -204,7 +199,6 @@ content += 'Time:' + (Math.round(city.time / 100) / 10).toString() + 's'; content += 'Points:' + city.points.toString() + ''; content += ''; - content += ' City information'; content += ''; cityMarker.bindPopup(content, {closeButton: false});