diff options
author | Vika <vika@fireburn.ru> | 2021-12-07 16:11:24 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-12-07 16:11:24 +0300 |
commit | 87bd73fc619ae6a50d1c3871e92825328ea3e88f (patch) | |
tree | 20b51a5e7bb863ef2d4d545eccd51f9697d623df | |
parent | 986035afba24b984abea5be1cfcda600879917ff (diff) | |
download | kittybox-87bd73fc619ae6a50d1c3871e92825328ea3e88f.tar.zst |
Small fixes for code block and vcard avatar CSS
-rw-r--r-- | src/frontend/style.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/style.css b/src/frontend/style.css index a0add44..0b09f81 100644 --- a/src/frontend/style.css +++ b/src/frontend/style.css @@ -131,6 +131,12 @@ article.h-entry > header.metadata ul { list-style-type: none; } +article.h-entry .e-content pre { + border: 1px solid gray; + border-radius: 0.5em; + overflow-y: auto; + padding: 0.5em; +} article.h-entry img.u-photo { max-width: 80%; max-height: 90vh; @@ -159,6 +165,8 @@ article.h-card img.u-photo { height: 8rem; border: 1px solid gray; margin-right: .75em; + object-fit: cover; + aspect-ratio: 1; } .mini-h-card img { |