Skip to content

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

docs: Clean up custom SASS stylesheet

Maximilian Roos22c7b1efc138
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index ff86d8777..93c056d3a 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -1,29 +1,13 @@
// Custom styles for Worktrunk docs
+// Only add what the theme doesn't provide; prefer theme defaults
-// Better code block styling
-.content {
- pre {
- border: 1px solid #e0e0e0;
- border-radius: 6px;
- padding: 1rem;
- overflow-x: auto;
- margin: 1rem 0;
- }
-
- code {
- background-color: #f5f5f5;
- border-radius: 3px;
- padding: 0.15em 0.4em;
- font-size: 0.9em;
- }
-
- pre code {
- background-color: transparent;
- padding: 0;
- }
+// Code block enhancements (theme handles colors via CSS vars)
+.content pre {
+ border: 1px solid #e0e0e0;
+ border-radius: 6px;
}
-// Better table styling
+// Table styling (theme doesn't provide)
table {
border-collapse: collapse;
width: 100%;
@@ -45,40 +29,13 @@ table {
}
}
-// Sidebar improvements
-.toc {
- .toc-item {
- margin: 0.35rem 0;
- }
-
- .toc-item-child {
- margin: 0.25rem 0;
- padding-left: 1rem;
-
- &.nested {
- padding-left: 1.5rem;
- }
- }
-
- .toc-divider {
- border-top: 1px solid #e0e0e0;
- margin: 0.5rem 0;
- }
-
- a.active {
- color: var(--toc-highlight-text-color);
- font-weight: 600;
- }
-}
-
-// Better heading styling
-.heading-text {
- font-size: 2rem;
- margin-bottom: 1rem;
- color: var(--primary-text-color);
+// TOC divider (theme doesn't have this element)
+.toc .toc-divider {
+ border-top: 1px solid #e0e0e0;
+ margin: 0.5rem 0;
}
-// Page navigation at bottom
+// Page navigation (new element, theme doesn't have)
.page-nav {
display: flex;
justify-content: space-between;
@@ -87,7 +44,6 @@ table {
border-top: 1px solid #e0e0e0;
a {
- text-decoration: none;
color: var(--primary-link-color);
&:hover {
@@ -96,67 +52,24 @@ table {
}
}
-// Better list styling
-.content ul, .content ol {
- margin: 1rem 0;
- padding-left: 1.5rem;
-
- li {
- margin: 0.5rem 0;
- }
-}
-
-// Improve blockquote
-blockquote {
- border-left: 4px solid var(--primary-color);
- margin: 1.5rem 0;
- padding: 0.5rem 1rem;
- background-color: #f8f8f8;
-
- p {
- margin: 0;
- }
-}
-
-// Button styling
-.button {
- display: inline-block;
- padding: 0.75rem 1.5rem;
- background-color: var(--primary-color, #00d4aa);
- color: white !important;
- text-decoration: none;
- border-radius: 6px;
- font-weight: 600;
- transition: background-color 0.2s, transform 0.2s;
-
- &:hover {
- background-color: darken(#00d4aa, 10%);
- transform: translateY(-1px);
- text-decoration: none;
- }
-}
-
-// Footer styling
+// Footer (custom layout for our links)
footer {
- margin-top: 3rem;
padding: 1.5rem 0;
border-top: 1px solid #e0e0e0;
- text-align: center;
display: flex;
+ flex-direction: row;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
+ background-color: var(--secondary-color);
- span {
- a {
- color: var(--secondary-text-color);
- text-decoration: none;
- opacity: 0.8;
+ a {
+ color: var(--secondary-text-color);
+ opacity: 0.8;
- &:hover {
- opacity: 1;
- text-decoration: underline;
- }
+ &:hover {
+ opacity: 1;
+ text-decoration: underline;
}
}
}