diff --git a/package-lock.json b/package-lock.json index 56923fe1..0f09d2be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "22.2.9", + "version": "22.2.1.", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "22.2.9", + "version": "22.2.1.", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index 2724d025..f9552ccd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "22.2.9", + "version": "22.2.1.", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index 160fd87b..69fcb629 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -36,7 +36,7 @@ body { a:focus, a:focus-within { - outline: 2px dashed var(--accent-color); + outline: var(--outline-default); text-decoration: none; } @@ -91,7 +91,6 @@ code { &.brand-mastodon > svg { stroke: var(--brand-mastodon); } &.article > svg { stroke: var(--posts); } &.books > svg { stroke: var(--books); } - &.brain > svg { stroke: var(--brand-listenbrainz); } &.clock-hour-3 > svg { stroke: var(--now); } &.coffee > svg { stroke: var(--brand-buy-me-a-coffee); } &.device-tv > svg { stroke: var(--tv); } @@ -106,13 +105,12 @@ code { &.search > svg { stroke: var(--search); } } -:is(body, html, nav .search) svg { - stroke: var(--text-color); +:is(h1, h2, h3, h4, h5, h6) svg { + stroke-width: var(--stroke-width-bold); } -:is(h1, h2, h3, h4, h5, h6) svg { - margin-right: var(--sizing-xs); - stroke-width: var(--stroke-width-bold); +:is(h1, h2, h3, h4, h5, h6):has(svg) { + gap: var(--sizing-xs) } strong, @@ -301,7 +299,7 @@ td { } } -td::first-of-type, +td:first-of-type, :where(thead, tfoot) th:nth-child(2) { border-inline-start: none; } @@ -325,10 +323,6 @@ th { font-weight: var(--font-weight-extrabold); margin: 0; padding: 0; - - & a { - text-decoration: none; - } } } @@ -356,7 +350,7 @@ a svg:focus { stroke: var(--accent-color-hover); } -a.link-icon { +a:has(svg) { display: inline-flex; align-items: center; gap: var(--sizing-xs); @@ -441,8 +435,9 @@ article { } footer { - & .explainer { + & p:first-of-type { margin: var(--sizing-3xl) 0 var(--sizing-lg); + font-size: var(--font-size-sm); } & nav { @@ -554,10 +549,6 @@ li { text-align: center !important; } -.text-small { - font-size: var(--font-size-sm) !important; -} - .flex-centered { display: flex; flex-direction: row; diff --git a/src/assets/styles/components/badge-grid.css b/src/assets/styles/components/badge-grid.css index 4e3b5481..a5339bd8 100644 --- a/src/assets/styles/components/badge-grid.css +++ b/src/assets/styles/components/badge-grid.css @@ -14,7 +14,7 @@ &:focus img, &:focus-within img { - outline: var(--outline) + outline: var(--outline-default) } } diff --git a/src/assets/styles/components/banners.css b/src/assets/styles/components/banners.css index 0713835f..92dede95 100644 --- a/src/assets/styles/components/banners.css +++ b/src/assets/styles/components/banners.css @@ -1,9 +1,12 @@ -.footnotes + .banner { - margin-top: 0; +* + .banner { + margin-top: var(--sizing-base); +} + +.banner:has(+ *) { + margin-bottom: var(--sizing-base); } .banner { - margin: var(--sizing-base) 0; padding: var(--sizing-md); border: 1px solid; diff --git a/src/assets/styles/components/buttons.css b/src/assets/styles/components/buttons.css index 98ffd56e..66170d9f 100644 --- a/src/assets/styles/components/buttons.css +++ b/src/assets/styles/components/buttons.css @@ -8,7 +8,7 @@ button, &:not(.theme-toggle) { border: 2px solid var(--accent-color); - padding: var(--sizing-sm) var(--sizing-lg); + padding: var(--sizing-xs) var(--sizing-md); cursor: pointer; display: inline-flex; flex-direction: row; @@ -36,25 +36,14 @@ button, &:not(.theme-toggle, .active):focus, &:not(.theme-toggle, .active):focus-within { transition-property: none; - outline: 2px dashed var(--accent-color); - padding: calc(var(--sizing-sm) + 2px) calc(var(--sizing-lg) + 2px); + outline: var(--outline-default); + padding: calc(var(--sizing-xs) + 2px) calc(var(--sizing-md) + 2px); border: 0; } &.theme-toggle:focus, &.theme-toggle:focus-within { - outline: 2px dashed var(--accent-color); - } - - &.small { - font-size: var(--font-size-sm); - line-height: var(--line-height-sm); - padding: var(--sizing-xs) var(--sizing-sm); - - &:not(.active):focus, - &:not(.active):focus-within { - padding: var(--sizing-xs) calc(var(--sizing-sm) + 2px); - } + outline: var(--outline-default); } &.secondary { diff --git a/src/assets/styles/components/forms.css b/src/assets/styles/components/forms.css index 6cfd9013..609bcdd3 100644 --- a/src/assets/styles/components/forms.css +++ b/src/assets/styles/components/forms.css @@ -32,7 +32,7 @@ input:focus-within, textarea:focus, textarea:focus-within { border: 0; - outline: 2px dashed var(--accent-color); + outline: var(--outline-default); padding: calc(var(--sizing-sm) + 1px); } @@ -46,7 +46,7 @@ select { &:focus, &:focus-within { border: 0; - outline: var(--outline) + outline: var(--outline-default) } } diff --git a/src/assets/styles/components/menu.css b/src/assets/styles/components/menu.css index 8c413cf9..918081a0 100644 --- a/src/assets/styles/components/menu.css +++ b/src/assets/styles/components/menu.css @@ -29,7 +29,7 @@ &:focus, &:focus-within { - outline: 2px dashed var(--accent-color); + outline: var(--outline-default); } & svg { @@ -132,8 +132,8 @@ &:focus, &:focus-within { - border-top: 2px dashed var(--accent-color); - border-bottom: 2px dashed var(--accent-color); + border-top: var(--outline-default); + border-bottom: var(--outline-default); } } diff --git a/src/assets/styles/components/modal.css b/src/assets/styles/components/modal.css index 951abbf6..800ce5b1 100644 --- a/src/assets/styles/components/modal.css +++ b/src/assets/styles/components/modal.css @@ -25,7 +25,7 @@ &:focus svg, &:focus-within svg { - outline: var(--outline); + outline: var(--outline-default); } & svg { @@ -34,7 +34,7 @@ transition: transform var(--transition-duration-default) var(--transition-ease-in-out); &:focus { - outline: var(--outline); + outline: var(--outline-default); } &:hover, @@ -76,7 +76,7 @@ &:focus svg, &:focus-within svg { - outline: var(--outline); + outline: var(--outline-default); } & svg { @@ -86,7 +86,7 @@ transition: transform var(--transition-duration-default) var(--transition-ease-in-out); &:focus { - outline: var(--outline); + outline: var(--outline-default); } &:hover, diff --git a/src/assets/styles/components/music-chart.css b/src/assets/styles/components/music-chart.css index 974ccd1b..e517a7de 100644 --- a/src/assets/styles/components/music-chart.css +++ b/src/assets/styles/components/music-chart.css @@ -65,7 +65,7 @@ &:focus, &:focus-within { - outline: var(--outline); + outline: var(--outline-default); } } diff --git a/src/assets/styles/components/tab-buttons.css b/src/assets/styles/components/tab-buttons.css index 4b0323e5..cdbfae59 100644 --- a/src/assets/styles/components/tab-buttons.css +++ b/src/assets/styles/components/tab-buttons.css @@ -30,7 +30,7 @@ input[id="tracks-recent"] ~ [for="tracks-recent"]:has(+ [for="tracks-window"]) { #tracks-window:not(:checked) ~ [for="tracks-window"]:focus, #tracks-window:not(:checked) ~ [for="tracks-window"]:focus-within { transition-property: none; - outline: 2px dashed var(--accent-color); + outline: var(--outline-default); border: 0; } diff --git a/src/assets/styles/defaults/vars.css b/src/assets/styles/defaults/vars.css index 2954b61e..a222857a 100644 --- a/src/assets/styles/defaults/vars.css +++ b/src/assets/styles/defaults/vars.css @@ -70,7 +70,7 @@ --webrings: #da70d6; /* outline */ - --outline: 2px dashed var(--accent-color); + --outline-default: 2px dashed var(--accent-color); /* borders */ --border-default: 1px solid var(--accent-color); diff --git a/src/assets/styles/feed.xsl b/src/assets/styles/feed.xsl index c62b433e..17904e17 100644 --- a/src/assets/styles/feed.xsl +++ b/src/assets/styles/feed.xsl @@ -76,6 +76,9 @@ --font-weight-bold: 600; --font-weight-extrabold: 800; + /* outline */ + --outline-default: var(--outline-default); + /* borders */ --border-default: 1px solid var(--accent-color); } @@ -184,7 +187,7 @@ a:focus, a:focus-within { - outline: 2px dashed var(--accent-color); + outline: var(--outline-default); text-decoration: none; } diff --git a/src/assets/styles/pages/blogroll.css b/src/assets/styles/pages/blogroll.css index 290d8db7..36ffc531 100644 --- a/src/assets/styles/pages/blogroll.css +++ b/src/assets/styles/pages/blogroll.css @@ -9,7 +9,7 @@ &:focus svg, &:focus-within svg { - outline: var(--outline) + outline: var(--outline-default) } } } \ No newline at end of file diff --git a/src/assets/styles/pages/contact.css b/src/assets/styles/pages/contact.css index 4a216529..20c9a6f8 100644 --- a/src/assets/styles/pages/contact.css +++ b/src/assets/styles/pages/contact.css @@ -18,10 +18,6 @@ justify-content: center; align-items: center; min-height: 60vh; - - & h2 { - margin: 0 0 var(--sizing-base); - } } @media screen and (min-width: 768px) { diff --git a/src/assets/styles/pages/music.css b/src/assets/styles/pages/music.css index c16aa478..5d2e7fac 100644 --- a/src/assets/styles/pages/music.css +++ b/src/assets/styles/pages/music.css @@ -3,6 +3,10 @@ border-bottom: 0; } +.genre-focus [data-toggle-content] p:last-of-type { + font-size: var(--font-size-sm); +} + .artist-focus { margin-top: var(--sizing-base); @@ -72,14 +76,22 @@ & .brain { outline: 0; + & > svg { + stroke: var(--brand-listenbrainz); + } + &:focus svg, &:focus-within svg { - outline: var(--outline) + outline: var(--outline-default) } } } } } + + & table + p { + font-size: var(--font-size-sm); + } } .concert-list { diff --git a/src/assets/styles/pages/post.css b/src/assets/styles/pages/post.css index 730a3455..c34dbadb 100644 --- a/src/assets/styles/pages/post.css +++ b/src/assets/styles/pages/post.css @@ -1,6 +1,4 @@ .footnotes { - padding-bottom: var(--sizing-base); - & .footnotes-list { margin-bottom: 0; padding-left: 0; diff --git a/src/includes/partials/footer.liquid b/src/includes/partials/footer.liquid index 89e52b40..e1c8bf8d 100644 --- a/src/includes/partials/footer.liquid +++ b/src/includes/partials/footer.liquid @@ -1,6 +1,6 @@ {%- if updated -%} -

This page was last updated on {{ updated | strip }}.

+

This page was last updated on {{ updated | strip }}.

{%- endif -%}