From 5b4ea07103cf8b8c6b6b3ae15b020d3c797481f4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 12 Jun 2024 10:27:46 +0000 Subject: fix(index.html): attribution position on mobile --- index.html | 44 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 8 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 9ebfb03..27257eb 100644 --- a/index.html +++ b/index.html @@ -33,12 +33,6 @@ 0 6px 20px -3px rgba(0, 0, 0, 0.2); } - @media (max-width: 768px) { - main { - flex-direction: column; - } - } - img { display: block; margin: 10px 0; @@ -90,7 +84,7 @@ white-space: pre-wrap; word-wrap: break-word; max-width: 100%; - margin-top: 40px; + margin-top: 30px; } a { @@ -109,6 +103,30 @@ bottom: 20px; left: 35.4px; } + + .attribution-2 { + display: none; + } + + @media (max-width: 768px) { + main { + flex-direction: column; + gap: 60px; + } + + .attribution-1 { + display: none; + } + + .attribution-2 { + display: block; + } + + .attribution { + position: unset; + margin-top: 40px; + } + }
@@ -121,7 +139,7 @@ -

+

Written by @Fuwn @@ -140,6 +158,16 @@ />

hi
+ +

+ Written by + @Fuwn + +
+ + Source code available on + GitHub +

-- cgit v1.2.3