From 690e76d59b825d9f57d373d8feecb7ba6a928335 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 31 Aug 2022 12:14:32 +0200 Subject: [PATCH] some styling improvements to the site --- web/_includes/social.html | 14 +++++++------- web/_includes/top.html | 8 ++++---- web/style.css | 22 +++++++++++++++++++++- 3 files changed, 32 insertions(+), 12 deletions(-) diff --git a/web/_includes/social.html b/web/_includes/social.html index a4bb08b..3ee6c32 100644 --- a/web/_includes/social.html +++ b/web/_includes/social.html @@ -5,12 +5,12 @@

-
- +
+
-
- +
+
@@ -25,12 +25,12 @@

- - + +

-
+ diff --git a/web/_includes/top.html b/web/_includes/top.html index 440249e..103e028 100644 --- a/web/_includes/top.html +++ b/web/_includes/top.html @@ -1,6 +1,6 @@
- Tiny Life + Tiny Life

A fun simulation game where you mess with people's lives

@@ -8,13 +8,13 @@

Play the free beta

- itch.io + itch.io

Wishlist and play

- Steam + Steam
@@ -48,4 +48,4 @@ background.css("background-position", `${x}% ${y}%`); }, 30); }); - \ No newline at end of file + diff --git a/web/style.css b/web/style.css index 7ca4382..e5d88a9 100644 --- a/web/style.css +++ b/web/style.css @@ -147,4 +147,24 @@ body { margin-top: 40px; padding: 20px; border-radius: 5px; -} \ No newline at end of file +} + +@media (max-width: 576px) { + + .top-content { + max-width: 90%; + } + + .top-container img { + max-width: 150px; + } + + .top-container h3 { + font-size: 1.5rem; + } + + .top-content { + padding-top: 40px; + } + +}