chore: css cleanup

This commit is contained in:
Cory Dransfeldt 2024-02-04 09:58:22 -08:00
parent fdc7253588
commit d31d0fcdd5
No known key found for this signature in database
5 changed files with 16 additions and 27 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "5.2.8", "version": "5.2.9",
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.", "description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -1,7 +1,4 @@
.four-oh-four__wrapper .image__banner { .four-oh-four__wrapper .image__banner,
margin-bottom: 1.25rem;
}
.four-oh-four__wrapper a { .four-oh-four__wrapper a {
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
} }

View file

@ -1,4 +1,3 @@
/* contact */
.contact__wrapper textarea { .contact__wrapper textarea {
height: 10rem; height: 10rem;
resize: none; resize: none;

View file

@ -1,44 +1,37 @@
/** /* Catppuccin Prism theme */
* Catppuccin Prism theme code[class*="language-"],
*/ pre[class*="language-"] {
code[class*='language-'],
pre[class*='language-'] {
color: #d9e0ee; color: #d9e0ee;
background: none; background: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.3); text-shadow: 0 1px rgba(0, 0, 0, 0.3);
font-family: ui-monospace, monospace; font-family: var(--font-mono);
text-align: left; text-align: left;
white-space: pre; white-space: pre;
word-spacing: normal; word-spacing: normal;
word-break: normal; word-break: normal;
word-wrap: normal; word-wrap: normal;
line-height: 1.5; line-height: 1.5;
-moz-tab-size: 4; tab-size: 2;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none; hyphens: none;
} }
/* Code blocks */ /* Code blocks */
pre[class*='language-'] { pre[class*="language-"] {
padding: 1em; padding: 1em;
margin: 0.5em 0; margin: 0.5em 0;
overflow: auto; overflow: auto;
border-radius: 0.3em; border-radius: var(--rounded-md);
} }
:not(pre) > code[class*='language-'], :not(pre) > code[class*="language-"],
pre[class*='language-'] { pre[class*="language-"] {
background:#1e1d2f; background:#1e1d2f;
} }
/* Inline code */ /* Inline code */
:not(pre) > code[class*='language-'] { :not(pre) > code[class*="language-"] {
padding: 0.1em; padding: 0.1em;
border-radius: 0.3em; border-radius: var(--rounded-md);
white-space: normal; white-space: normal;
} }
@ -106,7 +99,7 @@ pre[class*='language-'] {
.token.important, .token.important,
.token.bold { .token.bold {
font-weight: bold; font-weight: 700;
} }
.token.italic { .token.italic {

View file

@ -16,7 +16,7 @@
} }
.post-graph__year { .post-graph__year {
font-family: var(--font-mono) font-family: var(--font-mono);
} }
.post-graph__progress, .post-graph__progress,