Skip to content
Snippets Groups Projects
Commit 0b518efc authored by Olivia206's avatar Olivia206
Browse files

papers sidebar refacto

parent 18dcd4f4
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,8 @@ details
top: 0
.posts__page,
.events__page
.events__page,
.papers__page
.section-sidebar
@include media-breakpoint-down(desktop)
padding: 0 half($grid-gutter-sm)
......@@ -139,7 +140,7 @@ details
height: 100%
position: absolute
width: col-outside-container(4)
> div
&:not(.paper-sidebar)> div
@include sticky($spacing1)
.toc-container
border-top: 1px solid $color-border
......
......@@ -51,7 +51,6 @@
.document-content
aside
order: 2
padding: 0 half($grid-gutter-sm)
margin-bottom: $spacing3
@include media-breakpoint-up(desktop)
.hero
......@@ -59,23 +58,13 @@
> h1, > hgroup
width: auto
.paper-sidebar
@include container-margin-left
margin-top: 0
top: 0
left: 0
height: 100%
position: absolute
width: col-outside-container(4)
> div
height: 100%
position: relative
aside
border-bottom: 1px solid $color-border
padding-bottom: $spacing1
.toc-container
height: unset
margin-left: 0
padding-top: $spacing1
@include sticky(-1px)
.media
width: col(2, 4)
......
<div class="paper-sidebar">
<div class="section-sidebar paper-sidebar">
<div>
<aside class="document-nav">
<dl>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment