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

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "2.8.2",
"version": "2.8.5",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

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

View file

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

View file

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