From 2b0c25156a51f30631296782277c36245b1f6ef2 Mon Sep 17 00:00:00 2001 From: Stelian Tsekov Date: Tue, 9 Apr 2024 10:32:26 +0200 Subject: [PATCH] [c] Fixes and style tweaks - fix links - tweak styling - fix translations --- assets/css/home.css | 8 +++++++- assets/css/signup.css | 8 +++++++- assets/i18n/de.json | 4 ++-- assets/i18n/en.json | 6 +++--- index.html | 12 ++++++------ signup/index.html | 2 +- 6 files changed, 26 insertions(+), 14 deletions(-) diff --git a/assets/css/home.css b/assets/css/home.css index 923bcd6..156833f 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -10,7 +10,7 @@ section { display: flex; flex-direction: column; align-items: center; - margin: 2em; + margin: 2.8em; width: 100%; } @@ -76,9 +76,14 @@ section { display: flex; gap: 0.5em; justify-content: center; + /* height: 2.5em; */ /* margin: 1em; */ } +section.join > .button-container .button { + white-space: nowrap; +} + .row { /* margin: 0 16em 0 16em; */ margin: 0 auto 0 auto; @@ -93,6 +98,7 @@ section { padding: 0.8em; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); transition: all ease-in-out 0.2s; + margin-bottom: 1em; } .service h2 { diff --git a/assets/css/signup.css b/assets/css/signup.css index ecc27f2..e83f474 100644 --- a/assets/css/signup.css +++ b/assets/css/signup.css @@ -15,15 +15,20 @@ button.nopadding { .signup.form { /* width: fit-content; */ + padding-bottom: 3em; + padding-top: 3em; max-width: 70%; + height: 100%; } .signup.container { - padding: 2em; + height: 100vh; + padding: 0 2em 0 2em; display: flex; justify-content: center; align-items: center; width: 50%; + overflow: auto; } .signup.banner { @@ -53,6 +58,7 @@ button.nopadding { .button-container { display: flex; gap: 0.5em; + margin-bottom: 3em; } @media screen and (max-width: 800px) { diff --git a/assets/i18n/de.json b/assets/i18n/de.json index dd94517..6c8ae31 100644 --- a/assets/i18n/de.json +++ b/assets/i18n/de.json @@ -35,10 +35,10 @@ "content": "Dies ist eine inoffizielle Community-Plattform, betrieben von Lernenden für Lernende der TBZ. Für Anfragen und Unterstützung, bitte kontaktiere uns hier." }, "footer": { - "source": "Diese Webseite wurde mit dem chota CSS Framework erstellt. Den Quellcode dieser Seite findest du hier." + "source": "Diese Webseite wurde mit dem chota CSS Framework erstellt. Den Quellcode dieser Seite findest du hier." }, "buttons": { - "visit": "Besuchen", + "visit": "Unter Wartung", "join": "Beitreten", "explore": "Projekte erkunden" } diff --git a/assets/i18n/en.json b/assets/i18n/en.json index b5fb368..2007e03 100644 --- a/assets/i18n/en.json +++ b/assets/i18n/en.json @@ -3,7 +3,7 @@ "links": { "git": "Git", "forum": "Forum", - "signup": "Signup" + "signup": "Register" } }, "home": { @@ -35,10 +35,10 @@ "content": "This is an unofficial community platform run by students, for students of the TBZ. For inquiries and support, please contact us here." }, "footer": { - "source": "This website's been made using the chota CSS framework. You can find this site's source code here." + "source": "This website's been made using the chota CSS framework. You can find this site's source code here." }, "buttons": { - "visit": "Visit", + "visit": "Under Construction", "join": "Join us", "explore": "Explore Projects" } diff --git a/index.html b/index.html index 220e291..0c836f6 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ Forum
- Sign Up + Register