add pretty css anchors

main
Dozens B. McCuzzins 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; border-bottom: solid 1px black;
margin-top: 3rem; 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> </style>
<h1>Gamelogs</h1> <h1>Gamelogs</h1>
<p>All the roleplaying games I've played.</p> <p>All the roleplaying games I've played.</p>

View File

@ -68,6 +68,24 @@ html:
border-bottom: solid 1px black; border-bottom: solid 1px black;
margin-top: 3rem; 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> </style>
EOF EOF
## END: STYLE ## ## END: STYLE ##