mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-15 01:25:28 +01:00
linked headers fixes
This commit is contained in:
parent
f8b006f21b
commit
8de5c43119
@ -51,7 +51,8 @@ module.exports = {
|
||||
{
|
||||
resolve: 'gatsby-remark-autolink-headers',
|
||||
options: {
|
||||
maintainCase: true
|
||||
maintainCase: true,
|
||||
icon: '<span>#</span>'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -5,4 +5,28 @@
|
||||
|
||||
.anchor {
|
||||
margin-top: $spacer / 3;
|
||||
font-size: $font-size-large;
|
||||
color: $brand-grey-light;
|
||||
font-weight: 700;
|
||||
|
||||
span {
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
.anchor span {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.anchor span {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user