Skip to content

Commit

Permalink
✨ sidebar css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Nov 1, 2023
1 parent 7aaf4bb commit 71b46ec
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions site/gdocs/centered-article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,35 +49,38 @@
}

li {
&:first-child {
margin-top: 36px;
}

&.section {
margin-top: 24px;
margin-top: 20px;
}
&.subsection a {
color: $blue-60;
margin-left: 16px;
line-height: 1.125em;
}
&.active a {
border-left-color: $vermillion;
background: unset;
font-weight: bold;
}
a {
padding-left: 16px;
color: $blue-90;
}
}
li.section a,
li.subsection a {
border-width: 4px;
padding-right: 32px;
margin-left: 0;
border-width: 4px;
padding-right: 32px;
margin-left: 0;
font-weight: 400;

&:hover {
background: none;
text-decoration: underline;
&:hover {
background: none;
text-decoration: underline;
}
}
}

li.subsection a {
color: $blue-60;
margin-left: 16px;
}

li.active a {
border-left-color: $vermillion;
background: unset;
}
.toggle-toc {
margin-left: 0;
transform: translateX(calc(100% + 16px));
Expand Down

0 comments on commit 71b46ec

Please sign in to comment.