chore: styles

This commit is contained in:
Cory Dransfeldt 2024-08-14 08:06:38 -07:00
parent c3563b0ac3
commit 51b60301d1
No known key found for this signature in database
6 changed files with 45 additions and 46 deletions

24
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "22.2.8", "version": "22.2.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "22.2.8", "version": "22.2.9",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.5.0", "@cdransf/api-text": "^1.5.0",
@ -517,13 +517,13 @@
"peer": true "peer": true
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.2.0", "version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==", "integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.13.0" "undici-types": "~6.18.2"
} }
}, },
"node_modules/@types/phoenix": { "node_modules/@types/phoenix": {
@ -1147,9 +1147,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.6", "version": "1.5.7",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.6.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.7.tgz",
"integrity": "sha512-jwXWsM5RPf6j9dPYzaorcBSUg6AiqocPEyMpkchkvntaH9HGfOOMZwxMJjDY/XEs3T5dM7uyH1VhRMkqUU9qVw==", "integrity": "sha512-6FTNWIWMxMy/ZY6799nBlPtF1DFDQ6VQJ7yyDP27SJNt5lwtQ5ufqVvHylb3fdQefvRcgA3fKcFMJi9OLwBRNw==",
"dev": true, "dev": true,
"license": "ISC" "license": "ISC"
}, },
@ -3506,9 +3506,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.13.0", "version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==", "integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },

View file

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

@ -554,13 +554,6 @@ li {
text-align: center !important; text-align: center !important;
} }
.text-centered-vertically {
min-height: 60vh;
display: flex;
align-items: center;
justify-content: center;
}
.text-small { .text-small {
font-size: var(--font-size-sm) !important; font-size: var(--font-size-sm) !important;
} }

View file

@ -1,25 +1,27 @@
[data-toggle-content].text-toggle-hidden { [data-toggle-content] {
position: relative; &.text-toggle-hidden {
height: 500px; position: relative;
overflow: hidden; height: 500px;
margin-bottom: var(--sizing-base); overflow: hidden;
margin-bottom: var(--sizing-base);
& p:first-of-type { & p:first-of-type {
margin-top: 0; margin-top: 0;
}
&::after {
position: absolute;
z-index: 1;
content: '';
box-shadow: inset 0 -120px 80px -60px var(--background-color);
width: 100%;
height: 20%;
bottom: 0;
left: 0;
}
} }
&::after { & + button[data-toggle-button]:has(+ *) {
position: absolute; margin: 0 0 var(--sizing-base);
z-index: 1;
content: '';
box-shadow: inset 0 -120px 80px -60px var(--background-color);
width: 100%;
height: 20%;
bottom: 0;
left: 0;
} }
}
[data-toggle-content] + button[data-toggle-button]:has(+ table) {
margin: 0 0 var(--sizing-base);
} }

View file

@ -12,8 +12,16 @@
} }
} }
.contact-success-header { .contact-success-wrapper {
margin: 0 0 var(--sizing-base); display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 60vh;
& h2 {
margin: 0 0 var(--sizing-base);
}
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {

View file

@ -1,10 +1,6 @@
.webring-wrapper { .webring-wrapper {
margin: var(--sizing-base) 0; margin: var(--sizing-base) 0;
& h3 {
margin: var(--sizing-2xl) 0 var(--sizing-lg);
}
& .webring-navigation { & .webring-navigation {
gap: var(--sizing-sm); gap: var(--sizing-sm);