Skip to content

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

Tighten typography spacing and reduce padding in docs

Maximilian Roos4928e7ad4bd8
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index 0279373d1..f55d486ef 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -18,7 +18,7 @@ html {
body {
font-family: var(--wt-font-sans);
font-size: 15px;
- line-height: 1.6;
+ line-height: 1.5;
color: var(--wt-color-text);
background-color: var(--wt-color-bg);
}
@@ -45,8 +45,8 @@ h2 {
font-size: 1.4rem;
font-weight: 600;
letter-spacing: -0.02em;
- margin-top: 2rem;
- margin-bottom: 0.5rem;
+ margin-top: 1.5rem;
+ margin-bottom: 0.4rem;
position: relative;
display: inline-block;
@@ -67,8 +67,8 @@ h2 {
h3 {
font-size: 1.15rem;
font-weight: 550;
- margin-top: 1.5rem;
- margin-bottom: 0.4rem;
+ margin-top: 1.25rem;
+ margin-bottom: 0.3rem;
color: var(--wt-color-text-muted);
}
@@ -222,7 +222,7 @@ main {
.content {
max-width: 860px;
- padding: 2rem 40px;
+ padding: 1.5rem 30px;
background-color: var(--wt-color-bg-elevated);
border-radius: 12px;
border: 1px solid var(--wt-color-border-subtle);
@@ -232,7 +232,7 @@ main {
// Paragraphs
.content p {
max-width: 70ch;
- margin-bottom: 1rem;
+ margin-bottom: 0.75rem;
}
// Tighten spacing between paragraphs and code blocks
@@ -639,7 +639,7 @@ ul, ol {
}
ul > li, ol > li {
- padding: 0.25rem 0;
+ padding: 0.15rem 0;
color: var(--wt-color-text);
}