chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-09-18 14:54:56 -07:00
parent 54cc4bdc01
commit ae03a77a67
No known key found for this signature in database
13 changed files with 12 additions and 156 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "24.17.0", "version": "24.18.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "24.17.0", "version": "24.18.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.5.0", "@cdransf/api-text": "^1.5.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "24.17.0", "version": "24.18.0",
"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",
"scripts": { "scripts": {

View file

@ -3,8 +3,6 @@ body {
color: var(--text-color); color: var(--text-color);
background: var(--background-color); background: var(--background-color);
font-family: var(--font-mono); font-family: var(--font-mono);
scrollbar-width: thin;
scrollbar-color: var(--accent-color) var(--gray-light);
} }
html { html {
@ -27,25 +25,6 @@ body {
background: var(--accent-color); background: var(--accent-color);
} }
::-webkit-scrollbar-track {
background-color: var(--gray-light);
}
::-webkit-scrollbar-thumb {
background: var(--accent-color);
border-radius: var(--border-radius-full);
}
::-webkit-scrollbar-button {
background-color: var(--accent-color);
}
::-webkit-scrollbar,
body::-webkit-scrollbar {
width: var(--sizing-md);
height: var(--sizing-md);
}
p { p {
margin: var(--margin-vertical-base-horizontal-zero); margin: var(--margin-vertical-base-horizontal-zero);
overflow: visible; overflow: visible;
@ -79,7 +58,6 @@ p {
& a { & a {
text-decoration: underline; text-decoration: underline;
text-decoration-style: dashed;
text-underline-offset: var(--spacing-xs); text-underline-offset: var(--spacing-xs);
} }
} }
@ -172,26 +150,6 @@ a {
stroke: var(--accent-color-hover); stroke: var(--accent-color-hover);
} }
a:focus,
a:focus-within
a:has(svg):focus svg,
a:has(svg):focus-within svg {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
text-decoration: none;
}
a.icon-link:focus,
a.icon-link:focus-within {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
text-decoration: none;
& svg {
outline: none;
}
}
a:hover, a:hover,
a:focus, a:focus,
a:active, a:active,
@ -549,5 +507,4 @@ ul, ol {
border-radius: var(--border-radius-slight); border-radius: var(--border-radius-slight);
height: auto; height: auto;
width: 100%; width: 100%;
display: block;
} }

View file

@ -12,15 +12,6 @@
justify-content: center; justify-content: center;
} }
& a {
outline: none;
&:focus img,
&:focus-within img {
outline: var(--outline-default);
}
}
& img { & img {
image-rendering: pixelated; image-rendering: pixelated;
} }

View file

@ -36,28 +36,23 @@
&.old-post, &.old-post,
&.rss, &.rss,
&.warning { &.warning {
&.error { --border-color: var(--error); } &.error { --banner-accent-color: var(--error); }
&.github { --border-color: var(--brand-github); } &.github { --banner-accent-color: var(--brand-github); }
&.npm { --border-color: var(--brand-npm); } &.npm { --banner-accent-color: var(--brand-npm); }
&.old-post { --border-color: var(--gray-dark); } &.old-post { --banner-accent-color: var(--gray-dark); }
&.rss { --border-color: var(--brand-rss); } &.rss { --banner-accent-color: var(--brand-rss); }
&.warning { --border-color: var(--warning); } &.warning { --banner-accent-color: var(--warning); }
border-color: var(--border-color); border-color: var(--banner-accent-color);
& p a:hover, & p a:hover,
& p a:active, & p a:active,
& p a:focus { & p a:focus {
color: var(--border-color); color: var(--banner-accent-color);
}
& p a:focus,
& p a:focus-within {
outline: 2px dashed var(--border-color);
} }
& svg { & svg {
stroke: var(--border-color); stroke: var(--banner-accent-color);
} }
} }
} }

View file

@ -35,20 +35,6 @@ button,
transition-duration: var(--transition-duration-default); transition-duration: var(--transition-duration-default);
} }
&:not(.theme-toggle, .active):focus,
&:not(.theme-toggle, .active):focus-within {
transition-property: none;
outline: var(--outline-default);
padding: calc(var(--spacing-xs) + 2px) calc(var(--spacing-md) + 2px);
border: 0;
}
&.theme-toggle:focus,
&.theme-toggle:focus-within {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
}
&.secondary { &.secondary {
color: var(--accent-color); color: var(--accent-color);
background: transparent; background: transparent;

View file

@ -33,16 +33,6 @@ textarea:focus-within {
padding: calc(var(--spacing-sm) + 1px); padding: calc(var(--spacing-sm) + 1px);
} }
input:focus,
input:focus-within,
textarea:focus,
textarea:focus-within,
select:focus,
select:focus-within {
border: 0;
outline: var(--outline-default);
}
select { select {
color: var(--text-color); color: var(--text-color);
border: var(--border-gray); border: var(--border-gray);

View file

@ -75,12 +75,6 @@
border-color: var(--accent-color-hover) border-color: var(--accent-color-hover)
} }
& a:focus .item::after,
& a:focus-within .item::after {
border: 0;
outline: var(--outline-default);
}
& .meta-text { & .meta-text {
position: absolute; position: absolute;
z-index: 2; z-index: 2;

View file

@ -29,19 +29,12 @@ menu {
& .menu-button-container { & .menu-button-container {
display: none; display: none;
outline: none;
margin-left: var(--spacing-md); margin-left: var(--spacing-md);
& svg { & svg {
cursor: pointer; cursor: pointer;
} }
&:focus,
&:focus-within {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
}
&:hover svg, &:hover svg,
&:focus svg, &:focus svg,
&:focus-within svg, &:focus-within svg,
@ -125,17 +118,6 @@ menu {
& .active { & .active {
font-size: var(--font-size-lg); font-size: var(--font-size-lg);
} }
&:focus a,
&:focus-within a {
outline: none;
}
&:focus,
&:focus-within {
border-top: var(--outline-default);
border-bottom: var(--outline-default);
}
} }
.menu-button-container { .menu-button-container {

View file

@ -51,22 +51,10 @@
display: inline-flex; display: inline-flex;
vertical-align: middle; vertical-align: middle;
&:active svg,
&:focus svg,
&:focus-within svg {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
}
& svg { & svg {
cursor: pointer; cursor: pointer;
stroke: var(--accent-color); stroke: var(--accent-color);
&:focus {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
}
&:hover, &:hover,
&:focus, &:focus,
&:active { &:active {

View file

@ -43,12 +43,6 @@
display: flex; display: flex;
} }
& a:focus img,
& a:focus-within img {
outline: var(----outline-default);
border: 0;
}
& img { & img {
border: var(--border-default); border: var(--border-default);
border-radius: var(--border-radius-slight); border-radius: var(--border-radius-slight);

View file

@ -27,15 +27,6 @@ input[id="tracks-recent"] ~ [for="tracks-recent"]:has(+ [for="tracks-window"]) {
background: transparent; background: transparent;
} }
#tracks-recent:not(:checked) ~ [for="tracks-recent"]:focus,
#tracks-recent:not(:checked) ~ [for="tracks-recent"]:focus-within,
#tracks-window:not(:checked) ~ [for="tracks-window"]:focus,
#tracks-window:not(:checked) ~ [for="tracks-window"]:focus-within {
transition-property: none;
outline: var(--outline-default);
border: 0;
}
#tracks-recent:checked ~ [for="tracks-recent"], #tracks-recent:checked ~ [for="tracks-recent"],
#tracks-window:checked ~ [for="tracks-window"] { #tracks-window:checked ~ [for="tracks-window"] {
cursor: not-allowed; cursor: not-allowed;

View file

@ -1,9 +1,3 @@
a:focus > .watching.hero::after,
a:focus-within > .watching.hero::after {
border: 0;
outline: var(--outline-default);
}
a:hover > .watching.hero::after, a:hover > .watching.hero::after,
a:active > .watching.hero::after { a:active > .watching.hero::after {
border-color: var(--accent-color-hover); border-color: var(--accent-color-hover);
@ -93,12 +87,6 @@ a:active > .watching.hero::after {
border-color: var(--accent-color-hover) border-color: var(--accent-color-hover)
} }
& a:focus .item::after,
& a:focus-within .item::after {
border: 0;
outline: var(--outline-default);
}
& div { & div {
position: relative; position: relative;