Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.css - right-nav changes #573

Merged
merged 5 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions source-assets/styles2022/sass/custom/major-elements.sass
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,13 @@ main
padding-right: 0

#_side-toc-page
background-color: $c_white
background-color: $c_fog
margin-right: 0
padding-left: 0
padding-left: 1.5rem

// background-color: $c_white
// margin-right: 0
// padding-left: 0

&.sticky
article
Expand Down
24 changes: 21 additions & 3 deletions source-assets/styles2022/sass/custom/side-toc.sass
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,15 @@ $you_are_here_weight: 600

.side-title
color: $c_pine
font-size: $i_font_menu
font-weight: 800

margin-top: 1rem
margin-bottom: 0.5rem
font-size: 0.875rem
font-weight: 600

// font-size: $i_font_menu
// font-weight: 800


// fix the display of the em.citetitle that is somehow included in every
// other guide name...
em
Expand All @@ -53,6 +59,18 @@ $you_are_here_weight: 600

// "On this page"
#_side-toc-page

a
color: $c_jungle
padding: 0.4rem 0

&:focus,
&:hover,
&:active
background-color: transparent
text-decoration: underline


@include m_tablet
background-color: $c_white
border: .2rem solid $c_pine
Expand Down
Loading