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

View file

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

View file

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

View file

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

View file

@ -12,8 +12,16 @@
}
}
.contact-success-header {
margin: 0 0 var(--sizing-base);
.contact-success-wrapper {
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) {

View file

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