diff --git a/package-lock.json b/package-lock.json index 08c96384..e9596aee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "1.0.4", + "version": "1.0.5", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", @@ -39,7 +39,7 @@ "postcss-import-ext-glob": "^2.1.1", "postcss-js": "^4.0.1", "rimraf": "^6.0.1", - "sanitize-html": "^2.13.0", + "sanitize-html": "^2.13.1", "slugify": "^1.6.6", "terser": "^5.34.1", "truncate-html": "^1.1.2" @@ -4439,9 +4439,9 @@ "license": "MIT" }, "node_modules/sanitize-html": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz", - "integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.1.tgz", + "integrity": "sha512-ZXtKq89oue4RP7abL9wp/9URJcqQNABB5GGJ2acW1sdO8JTVl92f4ygD7Yc9Ze09VAZhnt2zegeU0tbNsdcLYg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f093f542..6f1ebe49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "1.0.4", + "version": "1.0.5", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { @@ -52,7 +52,7 @@ "postcss-import-ext-glob": "^2.1.1", "postcss-js": "^4.0.1", "rimraf": "^6.0.1", - "sanitize-html": "^2.13.0", + "sanitize-html": "^2.13.1", "slugify": "^1.6.6", "terser": "^5.34.1", "truncate-html": "^1.1.2" diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index 0c3f7577..2d095fa1 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -18,27 +18,27 @@ body { } ::-moz-selection { - color: var(--color-lightest); + color: var(--text-color-inverted); background: var(--accent-color); } ::selection { - color: var(--color-lightest); + color: var(--text-color-inverted); background: var(--accent-color); } p { margin: var(--margin-vertical-base-horizontal-zero); overflow: visible; +} - & a { - text-decoration: underline; - text-underline-offset: var(--spacing-xs); - } +:is(p, ul, ol) a { + text-decoration: underline; + text-underline-offset: var(--spacing-xs); } .highlight-text { - color: var(--color-lightest); + color: var(--text-color-inverted); background-color: var(--accent-color); padding: var(--spacing-xs); border-radius: var(--border-radius-slight); diff --git a/src/assets/styles/components/buttons.css b/src/assets/styles/components/buttons.css index 5694f67a..c737d08c 100644 --- a/src/assets/styles/components/buttons.css +++ b/src/assets/styles/components/buttons.css @@ -19,7 +19,7 @@ button, font-weight: var(--font-weight-bold); line-height: var(--line-height-base); white-space: nowrap; - color: var(--color-lightest); + color: var(--text-color-inverted); background-color: var(--accent-color); appearance: none; transition-property: border; diff --git a/src/assets/styles/components/forms.css b/src/assets/styles/components/forms.css index 8d455b3b..190e777e 100644 --- a/src/assets/styles/components/forms.css +++ b/src/assets/styles/components/forms.css @@ -50,5 +50,9 @@ select { & li { margin: var(--spacing-sm) 0; + + & a { + text-decoration: none; + } } } \ No newline at end of file diff --git a/src/assets/styles/components/menu.css b/src/assets/styles/components/menu.css index 4de554e4..7060aeb1 100644 --- a/src/assets/styles/components/menu.css +++ b/src/assets/styles/components/menu.css @@ -15,6 +15,10 @@ menu { margin: 0; display: flex; + & a { + text-decoration: none; + } + & .icon > svg, & .active > svg { display: block; diff --git a/src/assets/styles/components/music-chart.css b/src/assets/styles/components/music-chart.css index f310e786..cf5a572a 100644 --- a/src/assets/styles/components/music-chart.css +++ b/src/assets/styles/components/music-chart.css @@ -96,10 +96,6 @@ & .title { font-weight: var(--font-weight-bold); - - &.window { - margin-bottom: calc(var(--spacing-sm) * -1); - } } & .title, diff --git a/src/assets/styles/defaults/vars.css b/src/assets/styles/defaults/vars.css index 81183f31..7a9ad5d7 100644 --- a/src/assets/styles/defaults/vars.css +++ b/src/assets/styles/defaults/vars.css @@ -54,9 +54,9 @@ --books-light: #1a7b1a; --collected-light: #9a501a; --concerts-light: #cb426e; - --country-light: #1a908d; + --country-light: #146a67; --error-light: #b81f1f; - --favorite-light: #cc5490; + --favorite-light: #b03c72; --link-light: #7b5cba; --music-light: #1565c3; --newsletter-light: #37b0b0; diff --git a/src/includes/partials/media/music/chart.liquid b/src/includes/partials/media/music/chart.liquid index 383df89b..6b62052c 100644 --- a/src/includes/partials/media/music/chart.liquid +++ b/src/includes/partials/media/music/chart.liquid @@ -7,7 +7,7 @@