aboutsummaryrefslogtreecommitdiff
path: root/acarp.css
diff options
context:
space:
mode:
authorSam Scholten2026-08-27 14:29:06 +1000
committerSam Scholten2026-08-27 14:29:06 +1000
commite627d7363dc59890743c80bb3fdce1a354e10f22 (patch)
tree3455de7573fcec8daafc9ae14a4dd20bef9a3582 /acarp.css
parentc0b512d2b44458176cf30ef937f10cbd37eb4c8c (diff)
downloadacarp-marp-theme-e627d7363dc59890743c80bb3fdce1a354e10f22.tar.gz
acarp-marp-theme-e627d7363dc59890743c80bb3fdce1a354e10f22.zip
add highlight-left/right modifiers for column emphasis
Diffstat (limited to 'acarp.css')
-rw-r--r--acarp.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/acarp.css b/acarp.css
index ed10edb..2e4c05a 100644
--- a/acarp.css
+++ b/acarp.css
@@ -598,6 +598,23 @@ section.layout-2col-center img {
}
/* ============================================================================
+ LAYOUT: highlight-left / highlight-right
+
+ Modifiers that fade out one column of a two-column slide to draw
+ attention to the other. Combine with layout-2col or layout-2col-center:
+
+ <!-- _class: layout-2col-center highlight-left -->
+
+ Use across consecutive slides to build up a two-sided comparison,
+ introducing one half first, then the other.
+ ============================================================================ */
+
+section.highlight-left .right-column,
+section.highlight-right .left-column {
+ opacity: 0.35;
+}
+
+/* ============================================================================
SYNTAX HIGHLIGHTING OVERRIDE
Override highlight.js theme colors for consistent academic styling.