add pretty css anchors

main
dozens 2024-02-03 14:45:14 -07:00
parent 538957e043
commit b8a5be6b7e
2 changed files with 36 additions and 0 deletions

18
dist/index.html vendored
View File

@ -9,6 +9,24 @@
border-bottom: solid 1px black;
margin-top: 3rem;
}
h2, h3 {
position: relative;
}
h2 a, h3 a {
position: absolute;
left: -1.2rem;
text-decoration: none;
opacity: 0.2;
}
h2 a {
line-height: 1.4;
}
h3 a {
line-height: 1.2;
}
h2:hover a, h3:hover a {
opacity: 1;
}
</style>
<h1>Gamelogs</h1>
<p>All the roleplaying games I've played.</p>

View File

@ -68,6 +68,24 @@ html:
border-bottom: solid 1px black;
margin-top: 3rem;
}
h2, h3 {
position: relative;
}
h2 a, h3 a {
position: absolute;
left: -1.2rem;
text-decoration: none;
opacity: 0.2;
}
h2 a {
line-height: 1.4;
}
h3 a {
line-height: 1.2;
}
h2:hover a, h3:hover a {
opacity: 1;
}
</style>
EOF
## END: STYLE ##