From b958678b54c3df9317471678b23e683913fb6dac Mon Sep 17 00:00:00 2001 From: David Bushell Date: Fri, 6 Dec 2024 08:16:17 +0000 Subject: [PATCH] notes (fzf) --- src/css/base/code.css | 14 +++++++++++--- src/data | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/css/base/code.css b/src/css/base/code.css index 8248cc0..a3947c4 100644 --- a/src/css/base/code.css +++ b/src/css/base/code.css @@ -1,12 +1,11 @@ -pre, -code { +:is(code, kbd, pre) { font-family: 'Roboto Mono', monospace; font-size: var(--font-size-0); font-weight: 400; -webkit-text-size-adjust: 100%; } -:not(pre) > code { +:is(:where(:not(pre)) > code, kbd) { background: oklch(var(--color-background2)); border: var(--border-size-1) solid oklch(var(--color-quaternary)); color: oklch(var(--color-secondary2)); @@ -18,6 +17,15 @@ code { text-decoration: none; } +kbd { + border-radius: var(--radius-1); + background-color: transparent; + color: oklch(var(--color-foreground)); + border: var(--border-size-1) solid oklch(var(--color-primary) / 0.5); + font-weight: var(--font-weight-1); + /* border-color: oklch(var(--color-primary)); */ +} + pre { --background-color: var(--db-dark); --background-alt: var(--db-midnight); diff --git a/src/data b/src/data index 6fb76fc..620d15e 160000 --- a/src/data +++ b/src/data @@ -1 +1 @@ -Subproject commit 6fb76fc5d4ca04b5ff64ef01fcc11e3f17597852 +Subproject commit 620d15e254fdbcc2947d24629dda9d5bf9db245e