easier anchor linking
This commit is contained in:
parent
df23ab9ee8
commit
afa797dbbd
4 changed files with 37 additions and 0 deletions
22
css/area_main-content-anchor.less
Normal file
22
css/area_main-content-anchor.less
Normal file
|
@ -0,0 +1,22 @@
|
|||
#dokuwiki__content.main-content {
|
||||
h1, h2, h3, h4, h5 {
|
||||
a.anchor {
|
||||
vertical-align: middle;
|
||||
margin-left: 0.25em;
|
||||
display: none;
|
||||
position: absolute;
|
||||
|
||||
svg {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
fill: @ini_link;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a.anchor {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue