From 2729f53fd3b0c074234b355619a849792b5070a2 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 20 Mar 2024 19:20:10 +0100 Subject: Add achievements banner to index --- static/index.css | 28 ++++++++++++++++++++++++++++ views/index.html | 19 +++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/static/index.css b/static/index.css index 06e60b1..0838304 100644 --- a/static/index.css +++ b/static/index.css @@ -36,3 +36,31 @@ font-size: large; font-style: italic; } + +.achievements { + padding: 2rem 1rem; + + /* Use a dark and twisted color to make this band stand out as a separate element. */ + background-color: #6e1818; + + /* Disperse achievements evenly horisontally */ + display: flex; + justify-content: space-around; + align-items: center; +} + +.achievements__item { + /* Stack the two children vertically */ + display: flex; + flex-direction: column; + align-items: center; +} + +.achievements__item__number { + /* Numbers should be big and attention grabbing */ + font-size: 2rem; + font-style: bold; +} + +.achievements__item__text { +} diff --git a/views/index.html b/views/index.html index 5c2c206..245e346 100644 --- a/views/index.html +++ b/views/index.html @@ -13,5 +13,24 @@

Blind

An epic guild for epic gamers

+ +
+
+ #1 + ...at raiding +
+
+ 9,398,988 + ...coins +
+
+ 1 morbillion + ...monsters slain +
+
+ + {# TODO: Add a series of boxes, each either an image or some text + describing the guild. We will create two columns and have a kind of + asymmetric layout where the two columns don't line up row-wise. #} {% endblock %} -- cgit v1.2.3