From 6b46930cfd23c59a359460c84085e9333aea4521 Mon Sep 17 00:00:00 2001 From: Joel Stålnacke Date: Sat, 2 Aug 2025 18:25:14 +0300 Subject: Initial frontend --- TJLaskuri.Web/wwwroot/styles.css | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 TJLaskuri.Web/wwwroot/styles.css (limited to 'TJLaskuri.Web/wwwroot/styles.css') diff --git a/TJLaskuri.Web/wwwroot/styles.css b/TJLaskuri.Web/wwwroot/styles.css new file mode 100644 index 0000000..66a6ef5 --- /dev/null +++ b/TJLaskuri.Web/wwwroot/styles.css @@ -0,0 +1,72 @@ +* { + box-sizing: border-box; + max-width: none; +} + +html { + font-size: 100%; +} + +@font-face { + font-family: 'Cooper Black'; + font-weight: normal; + font-style: normal; + font-display: swap; + src: + local('Cooper Black'), + url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.woff2') format('woff2'), + url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.woff') format('woff'), + url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.otf') format('opentype'), + url('https://cdn.jsdelivr.net/npm/fonts-archive-cooper-black/CooperBlack-Regular.ttf') format('truetype'); +} + +body { + font-family: "Cooper Black", serif; + font-weight: bold; + max-width: 50rem; + margin: 0 auto; + padding: 1rem; +} + +.counter { + padding: 2rem; + text-align: center; + font-size: 2.5rem; + font-weight: 900; +} + +.counter_title { + display: block; + font-size: 1.2em; +} + +.counter_value { + display: block; + margin: 0; + font-weight: 900; + font-size: 2.5em; +} + +.counter_mornings { + display: block; +} + +.progress-bar { + height: 25px; + border-radius: 5px; + border: 1px solid black; + background-color: lightgrey; +} + +.progress-bar_value { + color: white; + height: 100%; + display: flex; + padding: 0 10px; + justify-content: flex-end; + align-items: center; + white-space: nowrap; + text-align: center; + border-radius: 5px; + min-width: 0; +} -- cgit v1.2.3