diff --git a/package-lock.json b/package-lock.json index a3bfe309..0b0c0459 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.5.0", diff --git a/package.json b/package.json index 20a8faa0..aa97edf9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "1.0.1", + "version": "1.0.2", "description": "The source for my personal site. Built using 11ty (and other tools).", "type": "module", "scripts": { diff --git a/src/assets/styles/plugins/prism.css b/src/assets/styles/plugins/prism.css index df8142d5..e7a8219d 100644 --- a/src/assets/styles/plugins/prism.css +++ b/src/assets/styles/plugins/prism.css @@ -19,6 +19,10 @@ pre { padding: var(--spacing-lg); margin: var(--sizing-xl) 0; overflow: auto; + + & > code { + padding: 0; + } } :not(pre) > code { @@ -32,10 +36,6 @@ pre, border: 1px solid var(--gray-300); } -pre > code { - padding: 0; -} - .namespace { opacity: 0.7; } @@ -47,65 +47,65 @@ pre > code { .token { color: var(--blue-200); -} -.token.comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: var(--gray-500); -} + &.comment, + &.prolog, + &.doctype, + &.cdata { + color: var(--gray-500); + } -.token.punctuation { - color: var(--gray-300); -} + &.punctuation { + color: var(--gray-300); + } -.token.boolean, -.token.number { - color: var(--blue-400); -} + &.boolean, + &.number { + color: var(--blue-400); + } -.token.selector, -.token.attr-name, -.token.string, -.token.char, -.token.builtin, -.token.inserted { - color: #6fff6f; -} + &.selector, + &.attr-name, + &.string, + &.char, + &.builtin, + &.inserted { + color: #6fff6f; + } -.token.operator, -.token.entity, -.token.url, -.token.variable { - color: #99ccff; -} + &.operator, + &.entity, + &.url, + &.variable { + color: #99ccff; + } -.token.atrule, -.token.attr-value, -.token.function, -.token.class-name { - color: #ff8f66; -} + &.atrule, + &.attr-value, + &.function, + &.class-name { + color: #ff8f66; + } -.token.keyword { - color: #00ffff; -} + &.keyword { + color: #00ffff; + } -.token.regex, -.token.important { - color: #ff7373; -} + &.regex, + &.important { + color: #ff7373; + } -.token.italic { - font-style: italic; -} + &.italic { + font-style: italic; + } -.token.entity { - cursor: help; -} + &.entity { + cursor: help; + } -.token.important, -.token.bold { - font-weight: var(--font-weight-bold); + &.important, + &.bold { + font-weight: var(--font-weight-bold); + } } \ No newline at end of file