From c5967c2b3b7b9ba0c91981ebb64bc31cabe4f55f Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Fri, 23 Jun 2023 15:49:26 +0100 Subject: fix font and responsiveness css --- static/style.css | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 67cd922..0683c11 100644 --- a/static/style.css +++ b/static/style.css @@ -25,7 +25,8 @@ body { } #page { - padding: 6vw; + /* padding: 6vw; */ + padding: 4vw; max-width: 2000px; display: flex; flex-direction: column; @@ -68,9 +69,9 @@ ul { } .panel { - margin: 4vh; + margin: 2vw; border: 4px solid #311f20; - padding: 2rem 4rem; + padding: 2vw 4vw; position: relative; } @@ -151,12 +152,14 @@ footer { display: flex; align-items: center; z-index: -1; + flex-wrap: wrap; background-color: #e8d2c5; } .badge, .badge * { height: 31px; + min-width: 88px; padding: 0; border-radius: 0; border: 0; @@ -311,9 +314,17 @@ iframe { .skweet-info { display: flex; justify-content: space-between; + flex-wrap: wrap; gap: 1em; } +.skweet-info h4 { + max-width: 40vw; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + .skweet-text { margin-top: 0.8em; margin-bottom: 0.8em; @@ -322,6 +333,7 @@ iframe { .skweet img, .skweet video { max-height: 80vh; + width: 100%; } /* contact page */ -- cgit