Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Docs: Add terminal output gutter styling

Maximilian Roosde215dead560
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index fa4ff702c..b986da807 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -300,7 +300,7 @@ main {
margin: 1rem 0;
font-family: var(--wt-font-mono);
font-size: 0.875rem;
- line-height: 1.5;
+ line-height: 1.4;
code {
background-color: transparent;
@@ -311,6 +311,15 @@ main {
.prompt {
color: var(--wt-color-text-soft);
}
+
+ // Gutter spans - extend vertically to form continuous line
+ // These are single-space spans with background color at line start
+ // Math: gap = (line-height - 1) / 2 = (1.4 - 1) / 2 = 0.2
+ span[style*="background:var(--bright-white"] {
+ display: inline-block;
+ margin: -0.2em 0;
+ padding: 0.2em 0;
+ }
}
// ============================================================================
diff --git a/docs/templates/_variables.html b/docs/templates/_variables.html
index b75c8dd3d..99d5e41e3 100644
--- a/docs/templates/_variables.html
+++ b/docs/templates/_variables.html
@@ -31,6 +31,7 @@
/* Terminal output colors (used by terminal shortcode) */
--cyan: #0a8080;
--green: #1b7f4b;
+ --bright-white: #ece9e6; /* gutter background - subtle on light theme */
/* Layout */
--wt-header-height: 60px;