aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--static/style.css9
-rw-r--r--templates/main/info/resources.html23
2 files changed, 24 insertions, 8 deletions
diff --git a/static/style.css b/static/style.css
index 04f83fa7..0120f56c 100644
--- a/static/style.css
+++ b/static/style.css
@@ -138,3 +138,12 @@ img.navbar-logo {
#wiki-nav uk-nav-divider {
min-width: 7rem;
}
+
+/* Resource page styling */
+div.payment-icon img {
+ height: 2em;
+}
+
+div.payment-icon {
+ margin-right: 1em;
+} \ No newline at end of file
diff --git a/templates/main/info/resources.html b/templates/main/info/resources.html
index c947d4ed..ae416d33 100644
--- a/templates/main/info/resources.html
+++ b/templates/main/info/resources.html
@@ -28,15 +28,22 @@
a resource or not. You can also hover them for more information on the payment (or tap them on
mobile).
</p>
- <p class="uk-text-center">
- <img src="{{ static_file("images/payment_icons/green.svg") }}" style="height: 2rem;" uk-tooltip="Free" />
- Free
- <img src="{{ static_file("images/payment_icons/yellow.svg") }}" style="height: 2rem;" uk-tooltip="Payment Optional" />
- Payment Optional
- <img src="{{ static_file("images/payment_icons/red.svg") }}" style="height: 2rem;" uk-tooltip="Paid" />
- Paid
- </p>
+ <div class="uk-text-center uk-flex uk-flex-center">
+ <div class="payment-icon">
+ <img src="{{ static_file("images/payment_icons/green.svg") }}" uk-tooltip="Free" />
+ <span>Free</span>
+ </div>
+ <div class="payment-icon">
+ <img src="{{ static_file("images/payment_icons/yellow.svg") }}" uk-tooltip="Payment Optional" />
+ <span>Payment optional</span>
+ </div>
+
+ <div class="payment-icon">
+ <img src="{{ static_file("images/payment_icons/red.svg") }}" uk-tooltip="Paid" />
+ <span>Paid</span>
+ </div>
+ </div>
{% if categories is none %}
<div class="uk-alert-danger" uk-alert>
<p>