Skip to content
Snippets Groups Projects
Commit 3557bade authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Merge branch 'main' of github.com:noesya/osuny-hugo-theme-aaa

parents a37e3ff9 901f1d91
No related branches found
No related tags found
No related merge requests found
...@@ -219,6 +219,7 @@ $grid-breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 144 ...@@ -219,6 +219,7 @@ $grid-breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 144
// Table of content // Table of content
$toc-color: $color-text !default $toc-color: $color-text !default
$toc-active-color: $color-accent !default // TODO : checker ce que ça fait $toc-active-color: $color-accent !default // TODO : checker ce que ça fait
$toc-background-color: $color-background-alt !default
$toc-font-family: $meta-font-family !default $toc-font-family: $meta-font-family !default
$toc-font-size: $meta-size !default $toc-font-size: $meta-size !default
$toc-font-size-md: $meta-size-md !default $toc-font-size-md: $meta-size-md !default
......
@mixin offcanvas-toc @mixin offcanvas-toc
background: white background: $toc-background-color
position: fixed position: fixed
top: 0 top: 0
right: 0 right: 0
...@@ -85,10 +85,12 @@ ...@@ -85,10 +85,12 @@
padding: 0 padding: 0
span span
@extend .meta @extend .meta
color: $toc-color
text-overflow: ellipsis text-overflow: ellipsis
overflow: hidden overflow: hidden
&::after &::after
font-size: px2rem(13) font-size: px2rem(13)
color: $toc-color
@include media-breakpoint-down(md) @include media-breakpoint-down(md)
display: flex display: flex
justify-content: space-between justify-content: space-between
...@@ -127,6 +129,7 @@ ...@@ -127,6 +129,7 @@
.toc-title, .toc-cta, .toc-container button .toc-title, .toc-cta, .toc-container button
font-family: $toc-font-family font-family: $toc-font-family
font-size: $toc-title-font-size font-size: $toc-title-font-size
color: $toc-color
@include media-breakpoint-up(md) @include media-breakpoint-up(md)
font-size: $toc-title-font-size-md font-size: $toc-title-font-size-md
......
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