diff options
| author | Samuel W <samuel.wilhelmsson@gmail.com> | 2024-02-25 15:53:36 +0100 |
|---|---|---|
| committer | Samuel W <samuel.wilhelmsson@gmail.com> | 2024-02-25 15:53:36 +0100 |
| commit | 8488643e5efe4c89ee1abe6f05a8857b8ab122d1 (patch) | |
| tree | 802f3e2512fa430fb2a1ef5dc370c57a229d595b /assets/style.css | |
| parent | 9a59ce82149865f059157e8a050b7a3e15ca55b2 (diff) | |
| download | tinygram-8488643e5efe4c89ee1abe6f05a8857b8ab122d1.tar.gz tinygram-8488643e5efe4c89ee1abe6f05a8857b8ab122d1.zip | |
working thing
Diffstat (limited to 'assets/style.css')
| -rw-r--r-- | assets/style.css | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/assets/style.css b/assets/style.css index 1abdc8e..2994f18 100644 --- a/assets/style.css +++ b/assets/style.css @@ -8,6 +8,22 @@ body { justify-content:center; } +.upload { + display: flex; + justify-content:center; + flex-direction: column; +} + +#uploadlink { + text-decoration: none; + color: black; +} + +.imgcontainer { + width: 100%; + padding-top: 100%; + position: relative; +} #container { max-width: 600px; @@ -17,8 +33,19 @@ body { align-items:center; } +#posts { + width: 100%; +} + img{ - width:100%; + object-fit: cover; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + height: 100%; + width: 100%; } .description { @@ -44,7 +71,7 @@ img{ padding-left: 10px; padding-right: 10px; justify-content: center; - gap: 20px; + gap: 5px; word-wrap:break-word; align-items: center; } |
