From 10617a45ae0853b288d3e385d91311a8e87f99bf Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 1 Jan 2024 15:23:43 -0800 Subject: [PATCH] chore: trim styles --- src/assets/styles/index.css | 10 +++++++--- src/assets/styles/prism.css | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index b864aac6..36f24ac2 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -424,7 +424,6 @@ h1 > a.header-anchor { } code { - font-family: var(--font-mono); padding: .125rem; background-color: var(--black); } @@ -491,7 +490,6 @@ article time { font-weight: 400 !important; border-radius: var(--rounded-sm); background-color: var(--white); - outline: none; border: 1px solid var(--blue-600); } @@ -920,7 +918,6 @@ textarea { color: var(--black); background-color: var(--white); width: 100%; - outline: none; border: 1px solid var(--blue-600); padding: .5rem; margin-bottom: 1.5rem; @@ -928,6 +925,13 @@ textarea { line-height: var(--line-height-base); } +input[type="text"], +input[type="email"], +textarea, +.pagefind-ui__search-input { + outline: none; +} + input[type="text"]:focus, input[type="email"]:focus, textarea:focus { diff --git a/src/assets/styles/prism.css b/src/assets/styles/prism.css index 273840eb..71e1f194 100644 --- a/src/assets/styles/prism.css +++ b/src/assets/styles/prism.css @@ -6,7 +6,7 @@ pre[class*='language-'] { color: #d9e0ee; background: none; text-shadow: 0 1px rgba(0, 0, 0, 0.3); - font-family: ml, ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace; + font-family: ml, ui-monospace, monospace; text-align: left; white-space: pre; word-spacing: normal;