diff options
| author | Christine Dodrill <me@christine.website> | 2020-09-27 20:09:48 -0400 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2020-09-27 20:09:48 -0400 |
| commit | aee2904e742a06a42f330feeff8d16c03f4cd83f (patch) | |
| tree | 30678ed8dd3220caefd4962df738c6cc511dcd07 /templates | |
| parent | a5fba33197a1f8f445f4b1b042f5526d5a7a03cc (diff) | |
| download | xesite-aee2904e742a06a42f330feeff8d16c03f4cd83f.tar.xz xesite-aee2904e742a06a42f330feeff8d16c03f4cd83f.zip | |
avif and CSS
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mara.rs.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/mara.rs.html b/templates/mara.rs.html index a8f69a3..3161cd6 100644 --- a/templates/mara.rs.html +++ b/templates/mara.rs.html @@ -1,7 +1,8 @@ @(mood: &str, character: &str, message: Html<String>) <div class="conversation"> - <div class="conversation-picture" + <div class="conversation-picture"> <picture> + <source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).avif" type="image/avif"> <source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).webp" type="image/webp"> <img src="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).png" alt="@character is @mood"> </picture> |
