From eb29ab94903899a23a688ce066b0fa3a4aea0cc2 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 6 Apr 2025 23:02:36 +0300 Subject: Add a class for demarcating diffusion image generator output I could expose the flag for generated images in the same way alt-text is currently represented. But this is for the future. I don't think I'll ever use this feature, this is just for completeness. Change-Id: Ide942b9cf8b03488c0cb50774e7a35f3e0fbdbaf --- templates/assets/style.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'templates/assets/style.css') diff --git a/templates/assets/style.css b/templates/assets/style.css index 511de8b..97483d4 100644 --- a/templates/assets/style.css +++ b/templates/assets/style.css @@ -301,11 +301,13 @@ body > a#skip-to-content:focus { white-space: nowrap; width: 1px; } - +/* Extras: styles to demarcate output generated by machine learning models + * (No, LLMs and diffusion image generation models are not artificial intelligence) + */ figure.llm-quote { background: #ddd; border-left: 0.5em solid black; - border-image: repeating-linear-gradient(45deg, #000000, #000000 0.75em, #FFFF00 0.75em, #FFFF00 1.5em) 8; + border-image: repeating-linear-gradient(45deg, #000000, #333333 0.75em, #DDDD00 0.75em, #FFFF00 1.5em) 8; padding: 0.5em; padding-left: 0.75em; margin-left: 3em; @@ -320,3 +322,7 @@ figure.llm-quote > figcaption { background-color: #242424; } } +img.diffusion-model-output { + border-left: 0.5em solid black; + border-image: repeating-linear-gradient(45deg, #000000, #333333 0.75em, #DDDD00 0.75em, #FFFF00 1.5em) 8; +} -- cgit 1.4.1