fix: styles

This commit is contained in:
Cory Dransfeldt 2024-11-09 15:03:49 -08:00
parent b1b8c1c926
commit 1368b738ae
No known key found for this signature in database
5 changed files with 23 additions and 11 deletions

10
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "2.8.2", "version": "2.8.5",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "2.8.2", "version": "2.8.5",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@11ty/eleventy-fetch": "4.0.1", "@11ty/eleventy-fetch": "4.0.1",
@ -3536,9 +3536,9 @@
} }
}, },
"node_modules/object-inspect": { "node_modules/object-inspect": {
"version": "1.13.2", "version": "1.13.3",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz",
"integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {

View file

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

View file

@ -427,7 +427,7 @@ td:first-of-type,
.default-wrapper { .default-wrapper {
padding-top: var(--spacing-2xl); padding-top: var(--spacing-2xl);
& > h2:first-child { & h2:first-of-type {
margin-top: 0; margin-top: 0;
} }
} }

View file

@ -18,6 +18,8 @@ menu {
& a, & a,
& .active { & .active {
display: flex;
align-items: center;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -71,11 +73,16 @@ menu {
} }
&:checked ~ .menu-primary li { &:checked ~ .menu-primary li {
border-bottom: var(--border-gray);
height: calc(var(--sizing-3xl) * 1.5); height: calc(var(--sizing-3xl) * 1.5);
@media (max-width: 767px) {
border-bottom: var(--border-gray);
}
&:first-child { &:first-child {
border-top: var(--border-gray); @media (max-width: 767px) {
border-top: var(--border-gray);
}
} }
} }
} }
@ -99,10 +106,14 @@ menu {
left: unset; left: unset;
width: auto; width: auto;
& > li { & > li {
padding: 0;
background: none; background: none;
& a {
width: var(--sizing-svg-base);
height: var(--sizing-svg-base);
}
:is(.icon, .active) > svg { :is(.icon, .active) > svg {
display: block; display: block;
} }

View file

@ -19,5 +19,6 @@
} }
.about-title { .about-title {
margin: var(--margin-vertical-base-horizontal-zero);
text-align: center; text-align: center;
} }