Skip to content
Snippets Groups Projects
Commit a6881865 authored by alexisben's avatar alexisben
Browse files

toc

parent a756a76b
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,12 @@ $post-time-color: color-contrast($main-color, 20%) !default
// Table of content
$toc-color: $main-color !default
$toc-active-color: $main-color !default // TODO : checker ce que ça fait
$toc-font-family: $body-font-family !default
$toc-font-size: $h4-size !default
$toc-font-size-md: $h4-size-md !default
$toc-line-height: $h4-line-height !default
$toc-font-weight: normal !default
// Person
$persons-avatar-background-color: $main-light-color !default
......
......@@ -59,6 +59,8 @@
.pages
@include grid(3, md)
margin-top: $spacing2
@include in-page-with-aside
@include grid(2, md)
.page
aspect-ratio: 0.8
background-color: $block-pages-card-page-background
......
......@@ -14,7 +14,7 @@
transform: translateX(-50%)
width: 100%
> div
@include sticky
@include sticky($spacing1)
> *
width: col(4)
pointer-events: auto
......
......@@ -10,12 +10,15 @@
&:not(:last-child)
margin-bottom: 1rem
a
// TODO : nav link style ?
color: $toc-color
display: block
font-size: px2rem(18)
line-height: px2rem(20)
font-size: $toc-font-size
font-family: $toc-font-family
font-weight: $toc-font-weight
line-height: $toc-line-height
text-decoration: none
@include media-breakpoint-up(md)
font-size: $toc-font-size-md
&:hover
text-decoration: underline
.active
......
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