stars look better on my macbook now
authorAlex Chan <alex@alexwlchan.net>
Wed, 16 Dec 2020 19:34:34 +0000 (19:34 +0000)
committerAlex Chan <alex@alexwlchan.net>
Wed, 16 Dec 2020 19:34:34 +0000 (19:34 +0000)
static/style.css
templates/_review_entry.html

index 5dea87f..da77555 100644 (file)
@@ -251,6 +251,6 @@ footer a:hover {
 }
 
 .star_rating {
-  font-size: 140%;
+  font-size: 100%;
   letter-spacing: 4px;
 }
index 4c6238d..8ac6bf0 100644 (file)
@@ -48,18 +48,18 @@ id="review_preview_{{ r }}_{{ g }}_{{ b }}">
           read {{ review_entry.review.date_read | render_date }}
             <br/>
           {% endif %}
-        </small>
 
-        <span class="star_rating">
-        {% if review_entry.review.rating %}
-          {% for _ in range(review_entry.review.rating) -%}
-          ★
-          {%- endfor -%}
-          {%- for _ in range(5 - review_entry.review.rating) -%}
-          ☆
-          {%- endfor %}
-        {% endif %}
-        </span>
+          <span class="star_rating">
+          {% if review_entry.review.rating %}
+            {% for _ in range(review_entry.review.rating) -%}
+            ★
+            {%- endfor -%}
+            {%- for _ in range(5 - review_entry.review.rating) -%}
+            ☆
+            {%- endfor %}
+          {% endif %}
+          </span>
+        </small>
         {% if review_entry.review.did_not_finish %}
           (did not finish)
         {% endif %}