fix(base/index.css): back link should only have bottom margin when not adjacent to headers

This commit is contained in:
Cory Dransfeldt 2025-04-14 14:42:55 -07:00
parent d83a804ab4
commit dab3899dcb
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "1.7.8",
"version": "1.7.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "1.7.8",
"version": "1.7.9",
"license": "MIT",
"dependencies": {
"html-minifier-terser": "7.2.0",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "1.7.8",
"version": "1.7.9",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -257,7 +257,10 @@ a {
display: inline-flex;
align-items: center;
gap: var(--spacing-xs);
margin-bottom: var(--spacing-base);
&:not(:has(+ h1, + h2, + h3)) {
margin-bottom: var(--spacing-base);
}
&:is(:hover, :focus, :active) svg {
transform: var(--transform-icon-default);