mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-24 19:54:23 -04:00
anchored-headings: port to PaperMod
- add corresponding css - gen anchored headings for h1-h6 - link with single.html
This commit is contained in:
parent
2b0619f684
commit
cf4fd27e3d
3 changed files with 16 additions and 2 deletions
|
@ -315,6 +315,18 @@
|
|||
transform: scale(0.96);
|
||||
}
|
||||
|
||||
h1:hover .anchor,
|
||||
h2:hover .anchor,
|
||||
h3:hover .anchor,
|
||||
h4:hover .anchor,
|
||||
h5:hover .anchor,
|
||||
h6:hover .anchor {
|
||||
display: inline-flex;
|
||||
color: var(--secondary);
|
||||
margin-inline-start: 8px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.post-content blockquote {
|
||||
margin: 0 calc(var(--gap) * -1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue