fix(base/index.css): back link should only have bottom margin when not adjacent to headers
This commit is contained in:
parent
d83a804ab4
commit
dab3899dcb
3 changed files with 7 additions and 4 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "1.7.8",
|
"version": "1.7.9",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "1.7.8",
|
"version": "1.7.9",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"html-minifier-terser": "7.2.0",
|
"html-minifier-terser": "7.2.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "1.7.8",
|
"version": "1.7.9",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -257,7 +257,10 @@ a {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--spacing-xs);
|
gap: var(--spacing-xs);
|
||||||
|
|
||||||
|
&:not(:has(+ h1, + h2, + h3)) {
|
||||||
margin-bottom: var(--spacing-base);
|
margin-bottom: var(--spacing-base);
|
||||||
|
}
|
||||||
|
|
||||||
&:is(:hover, :focus, :active) svg {
|
&:is(:hover, :focus, :active) svg {
|
||||||
transform: var(--transform-icon-default);
|
transform: var(--transform-icon-default);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue