From 63d59c6ce79e172e6ef332a63017e076840d5bf1 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Mon, 28 Nov 2022 16:52:11 +0100 Subject: [PATCH] fix timeline --- assets/sass/_theme/blocks/chapter.sass | 13 ++++++++----- assets/sass/_theme/blocks/timeline.sass | 10 +++------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/assets/sass/_theme/blocks/chapter.sass b/assets/sass/_theme/blocks/chapter.sass index 105d1269..c8390e53 100644 --- a/assets/sass/_theme/blocks/chapter.sass +++ b/assets/sass/_theme/blocks/chapter.sass @@ -1,8 +1,8 @@ -.blocks - .block.block-chapter - @include in-page-with-or-without-sidebar - h2, h3 - @extend .h2 +// .blocks +// .block.block-chapter +// @include in-page-with-or-without-sidebar +// h2, h3 +// @extend .h2 .block-chapter blockquote @@ -40,3 +40,6 @@ width: col(4) margin-left: col-offset(1) margin-bottom: 0 + @include in-page-with-or-without-sidebar + h2, h3 + @extend .h2 \ No newline at end of file diff --git a/assets/sass/_theme/blocks/timeline.sass b/assets/sass/_theme/blocks/timeline.sass index cd503778..aa0be3ea 100644 --- a/assets/sass/_theme/blocks/timeline.sass +++ b/assets/sass/_theme/blocks/timeline.sass @@ -62,12 +62,6 @@ overflow: hidden padding-bottom: $grid-gutter padding-top: $grid-gutter - // @include media-breakpoint-down(md) - // margin-bottom: 3rem - // &:first-of-type - // margin-top: 4rem - // @include media-breakpoint-down(md) - // margin-top: 1rem &::before display: none .timeline @@ -157,7 +151,6 @@ .event width: 25% - @include media-breakpoint-down(md) .events position: relative @@ -170,3 +163,6 @@ width: 75% .line margin-bottom: calc(#{$spacing2} + var(--min-title-height)) + @include in-page-with-or-without-sidebar + h2, h3 + @extend .h5 \ No newline at end of file -- GitLab