summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-14 17:25:37 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-14 18:30:40 +0200
commit6ddc9d73f1299cdeb90bc88ed0bb53821c4825aa (patch)
tree7672dd034ec0bacdaa1534813981a5f5de5a7650 /public
parent8847db139bef9dd8f9465c31438f16af13593267 (diff)
Supply related-asset URLs/name and public inline-image CSS
RelatedAssetsController#create's JSON includes large_url, original_url, and name alongside thumb_url/url; the related-asset list items in both editors carry them as data-large-url, data-original-url, and data-name. ccc.css gets the public-facing .inline-image--full/--half/--left/ --right rules -- admin.css and TinyMCE's content_style cover the cockpit and in-editor renderings respectively.
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/ccc.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css
index bb4f7e3..cbeea17 100644
--- a/public/stylesheets/ccc.css
+++ b/public/stylesheets/ccc.css
@@ -627,3 +627,24 @@ label[for=light-mode] {
627.chapter_partial_content { 627.chapter_partial_content {
628 min-width: 0; 628 min-width: 0;
629} 629}
630
631
632.inline-image--full {
633 width: 100%;
634 margin: 1rem 0;
635}
636
637.inline-image--half {
638 width: 48%;
639 margin-bottom: 1rem;
640}
641
642.inline-image--left {
643 float: left;
644 margin-right: 1rem;
645}
646
647.inline-image--right {
648 float: right;
649 margin-left: 1rem;
650}