chore: styles

This commit is contained in:
Cory Dransfeldt 2024-09-10 17:43:22 -07:00
parent b92b2524bc
commit 6b9f329cce
No known key found for this signature in database
3 changed files with 8 additions and 6 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "24.7.14", "version": "24.7.15",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "24.7.14", "version": "24.7.15",
"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.7.14", "version": "24.7.15",
"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

@ -19,15 +19,17 @@ pre {
padding: var(--spacing-lg); padding: var(--spacing-lg);
margin: var(--sizing-xl) 0; margin: var(--sizing-xl) 0;
overflow: auto; overflow: auto;
background: var(--gray-1000);
border: 1px solid var(--gray-200);
} }
:not(pre) > code { :not(pre) > code {
padding: var(--spacing-xs); padding: var(--spacing-xs);
white-space: normal; white-space: normal;
}
pre,
:not(pre) > code {
background: var(--gray-1000); background: var(--gray-1000);
border-radius: var(--border-radius-slight); border: 1px solid var(--gray-200);
} }
.namespace { .namespace {