diff options
| author | Fuwn <[email protected]> | 2024-06-12 03:27:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-12 03:27:46 -0700 |
| commit | a32144eb294ac65f16d1826def1e0f54a58464e1 (patch) | |
| tree | 88640efe90ca9577e92dd2c1320e1a96fa57b90f /index.html | |
| parent | be7e85232ac8db849195b3ad241895d780bbfa47 (diff) | |
| download | mayu-a32144eb294ac65f16d1826def1e0f54a58464e1.tar.xz mayu-a32144eb294ac65f16d1826def1e0f54a58464e1.zip | |
fix(index.html): attribution position on mobile
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 44 |
1 files changed, 36 insertions, 8 deletions
@@ -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; + } + } </style> <main> @@ -121,7 +139,7 @@ <input type="text" id="inputField" placeholder="@demo" /> - <p class="attribution"> + <p class="attribution attribution-1"> Written by <a href="https://anilist.co/user/fuwn/" target="_blank">@Fuwn</a> @@ -140,6 +158,16 @@ /> <pre id="copy-codes" class="copy-codes">hi</pre> + + <p class="attribution attribution-2"> + Written by + <a href="https://anilist.co/user/fuwn/" target="_blank">@Fuwn</a> + + <br /> + + Source code available on + <a href="https://github.com/Fuwn/mayu" target="_blank">GitHub</a> + </p> </div> </main> |