1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

sidebar TOC tweaks

This commit is contained in:
Matthias Kretschmann 2019-01-28 10:00:06 +01:00
parent fa7037c419
commit 160dc564ba
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -79,6 +79,28 @@
&:focus { &:focus {
transform: none; transform: none;
color: $brand-purple; color: $brand-purple;
:global(.setup) & {
color: $brand-blue;
}
:global(.tutorials) & {
color: $orange;
}
:global(.references) & {
color: $green;
}
}
}
.toc a {
padding-top: $spacer / 12;
padding-bottom: $spacer / 12;
code {
background: none !important; // stylelint-disable-line
color: inherit !important; // stylelint-disable-line
} }
} }
@ -90,6 +112,7 @@
ul { ul {
border-left: 1px solid $brand-grey-lighter; border-left: 1px solid $brand-grey-lighter;
margin-left: $spacer; margin-left: $spacer;
font-size: $font-size-small;
} }
} }
@ -112,4 +135,9 @@
color: $orange; color: $orange;
border-left-color: $orange; border-left-color: $orange;
} }
:global(.references) & {
color: $green;
border-left-color: $green;
}
} }