File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed
Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,23 @@ main a:has(span.gh-label) {
278278 color : # 000000 ;
279279}
280280
281+ /* Sidebar Visual Distinction */
282+ main : has ( > aside .sidebar ) > aside .sidebar {
283+ background-color : var (--vocabulary-brand-color-soft-gold );
284+ margin-left : 4.1rem ;
285+ padding : 1em 1em 1em 4.1em ;
286+ height : fit-content;
287+ }
288+
289+ main > aside .sidebar nav .filter-menu ul li .current {
290+ background : var (--vocabulary-brand-color-dark-tomato );
291+ font-weight : bold;
292+ }
293+
294+ main > aside .sidebar nav .filter-menu ul li .current a {
295+ --underline-background-color : var (--vocabulary-brand-color-dark-tomato );
296+ }
297+
281298/* CC Search Feature */
282299.steps-list {
283300 list-style : none;
Original file line number Diff line number Diff line change @@ -302,10 +302,7 @@ main:has( > aside.sidebar) > article {
302302main : has ( > aside .sidebar ) > aside .sidebar {
303303 grid-column : 7 / span 4 ;
304304 grid-row-start : 2 ;
305- background-color : var (--vocabulary-brand-color-soft-gold );
306- margin-left : 4.1rem ;
307- padding : 1em 1em 1em 4.1em ;
308- height : fit-content;
305+ padding-left : 4.1em ;
309306}
310307
311308main > aside .sidebar h2 {
@@ -325,13 +322,13 @@ main > aside.sidebar nav.filter-menu ul li {
325322}
326323
327324main > aside .sidebar nav .filter-menu ul li .current {
328- background : var (--vocabulary-brand-color-dark -tomato );
325+ background : var (--vocabulary-brand-color-soft -tomato );
329326 /* padding: 1em; */
330327 font-weight : bold;
331328}
332329
333330main > aside .sidebar nav .filter-menu ul li .current a {
334- --underline-background-color : var (--vocabulary-brand-color-dark -tomato );
331+ --underline-background-color : var (--vocabulary-brand-color-soft -tomato );
335332}
336333
337334main > aside .sidebar nav ul {
@@ -437,7 +434,7 @@ main aside.opening p {
437434main a {
438435 /* better hyperlink underline typesetting inspired by Tufte CSS */
439436 --underline-color : var (--vocabulary-brand-color-dark-tomato );
440- /* --underline-background-color: white; */
437+ --underline-background-color : white;
441438 color : var (--vocabulary-brand-color-dark-tomato );
442439 text-decoration : none;
443440
You can’t perform that action at this time.
0 commit comments