Add some styling for in-page links
This commit is contained in:
parent
ab8563386f
commit
68f94b4ab0
1 changed files with 19 additions and 0 deletions
|
|
@ -259,6 +259,25 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// in-page-links
|
||||||
|
article {
|
||||||
|
a[href^="#"] {
|
||||||
|
color: $alternative-links;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: $alternative-links-1;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(.footnote-ref a):not(.footnote-backref) {
|
||||||
|
&:before {
|
||||||
|
content: '#';
|
||||||
|
padding-right: .3em;
|
||||||
|
opacity: .3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue