From c24e154bb2b2299c68abbff8356e58008c875dbe Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 20 Jun 2023 23:04:56 +0100 Subject: improve skweet widget, namely time formatting --- static/style.css | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 7098687..a912b53 100644 --- a/static/style.css +++ b/static/style.css @@ -231,6 +231,9 @@ iframe { border-color: #bf42a0; background-color: #28446c; z-index: -1; + display: flex; + flex-direction: column; + gap: 1em; } #skinnyverse h5 { @@ -247,10 +250,15 @@ iframe { color: #bf42a0; } +.boosted-skweet>h4 { + margin: 0.25em 0; + font-family: 'Cherry Bomb'; +} + .skweet { display: flex; gap: 2em; - margin: 2em 0; + margin: 0; } .skweet a { @@ -284,6 +292,7 @@ iframe { .skweet-info { display: flex; justify-content: space-between; + gap: 1em; } .skweet-text { @@ -291,17 +300,9 @@ iframe { margin-bottom: 0.8em; } -.skweet-gallery { - display: flex; - max-width: 100%; - gap: 1em; -} - -.skweet-gallery img, -.skweet-gallery video { - border: 4px solid #bf42a0; - flex: 1 1 auto; - width: 10px; +.skweet img, +.skweet video { + max-height: 80vh; } /* contact page */ -- cgit