From 46d681c6b825d21b3f698d793c4e630c687d90ad Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 21 May 2026 21:41:53 +0000
Subject: [PATCH] =Major CustomBlocks.php overhaul, expanding block support and customization from the editor. theme.json should now be updated on new themes to set brand colours, etc. Also note: major change to .col vs .row alignment: simplifying it to .top .bottom vs the confusion of the differences for .col/.row .start and .a-start
---
src/faq/style.scss | 72 ++++++++++++++++++++++++++++++++++++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/src/faq/style.scss b/src/faq/style.scss
new file mode 100644
index 0000000..13564fa
--- /dev/null
+++ b/src/faq/style.scss
@@ -0,0 +1,72 @@
+nav#faq {
+ height: max-content;
+ display: block;
+ background-color: var(--base-100);
+ border-radius: var(--radius-outer);
+ padding: 1.5rem;
+ touch-action: auto;
+ ol {
+ list-style: decimal-leading-zero;
+ height: fit-content;
+ display: block;
+ counter-reset: faq;
+ li {
+ counter-increment: faq;
+ width: max-content;
+ &::before {
+ content: counter(faq);
+ display: block;
+ font-family: var(--heading);
+ font-weight: var(--fw-h-bold);
+ }
+ }
+ }
+ h2 {
+ left: 0;
+ font-size: var(--txt-large);
+ margin: .5rem 0 .5rem;
+ }
+ a {
+ padding: .5rem;
+ }
+}
+
+.faq-block {
+ padding-bottom: 3rem;
+ max-width: none;
+ width: 100%;
+ > * {
+ max-width: var(--wide);
+ margin: 1rem auto;
+ }
+ h2 {
+ margin: 5rem 0 1.5rem;
+ }
+ h3 {
+ margin: 0;
+ text-transform: none;
+ }
+ :target {
+ background-color: var(--base);
+ outline: none;
+
+ h2 {
+ background-color: var(--base);
+ padding: 1rem 1.5rem;
+ border-radius: var(--radius-outer);
+ }
+ }
+ details {
+ max-width: var(--content);
+ margin: 1rem auto;
+ padding: .75rem;
+ }
+ details + details {
+ margin-top: 3rem;
+ }
+ details .button {
+ height: fit-content;
+ display: flex;
+ margin-left: auto;
+ }
+}
--
Gitblit v1.10.0