From 35598136e9d65f2218891ecf0974aa6635b0b99a Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 1 Aug 2026 20:48:34 +0200 Subject: Add partial for disclosure realm --- app/views/custom/partials/_date_and_title.html.erb | 11 +++++++++++ public/stylesheets/ccc.css | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 app/views/custom/partials/_date_and_title.html.erb diff --git a/app/views/custom/partials/_date_and_title.html.erb b/app/views/custom/partials/_date_and_title.html.erb new file mode 100644 index 00000000..e9e69342 --- /dev/null +++ b/app/views/custom/partials/_date_and_title.html.erb @@ -0,0 +1,11 @@ +
+ +
+

<%= link_to_path page.title, page.node.unique_name %>

+ <% if page.abstract.present? %> +

<%= page.abstract %>

+ <% end %> +
+
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 9bd9f965..978b319b 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -730,6 +730,16 @@ div#center_column .chapter_partial h2.headline { border-top: none; } +div#center_column .date_and_title_partial h2.headline { + border-top: none; + padding-top: 0; +} + +.date_and_title_partial { + border-top: 1px solid color-mix(in srgb, CanvasText, Canvas 70%); + padding-top: 30px; +} + div.article_partial h2 a { text-decoration: none; } -- cgit v1.3