mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add styling to heading anchors
This commit is contained in:
@@ -200,3 +200,17 @@ aside#recent-updates time {
|
|||||||
a code {
|
a code {
|
||||||
color: #268bd2;
|
color: #268bd2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.anchor {
|
||||||
|
opacity: 0;
|
||||||
|
position: absolute;
|
||||||
|
margin-left: -1.5em;
|
||||||
|
padding-right: 1em;
|
||||||
|
font-size: 0.6em;
|
||||||
|
vertical-align: baseline;
|
||||||
|
line-height: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
:hover>a.anchor {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user