Skip to content

Commit 6e5fd25

Browse files
committed
Update styling for column content nav
1 parent fcd73b2 commit 6e5fd25

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

app/javascript/css/application.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
@import './components/site-header.css';
3131
@import './components/main-content.css';
3232
@import './components/article-content.css';
33+
@import './components/column-content.css';
3334
@import './components/footer.scss';
3435
@import './components/footer.css';
3536
@import './components/newsletter-banner.css';

app/javascript/css/components/article-content.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,3 @@
131131
padding-inline-start: var(--space-s);
132132
}
133133
}
134-
135-
.column-content {
136-
& li:has(+ li) {
137-
margin-bottom: var(--space-xs);
138-
}
139-
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.column-content {
2+
& li.active {
3+
background-color: var(--joy-background-header);
4+
}
5+
}

app/javascript/css/config/theme.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
--joy-background-banner: var(--joy-color-100);
4646
--joy-background-footer: var(--joy-color-200);
4747
--joy-background-blockquote: var(--joy-color-100);
48+
--joy-background-active: var(--joy-color-200);
4849

4950
--joy-background-mask: var(--color-darken);
5051
--joy-background-reset: white;
@@ -103,6 +104,7 @@
103104
--joy-background-banner: var(--color-slate-900);
104105
--joy-background-footer: var(--color-slate-800);
105106
--joy-background-blockquote: var(--color-slate-800);
107+
--joy-background-active: var(--color-slate-800);
106108

107109
--joy-background-mask: var(--color-lighten);
108110
--joy-background-reset: var(--color-slate-950);

0 commit comments

Comments
 (0)