From 38f9ad70ec075e38f84cc1b25343198975be8504 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 29 Nov 2024 19:42:07 -0600 Subject: [PATCH] feat(post): style code --- styles/post.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/styles/post.css b/styles/post.css index 8c558d1..da6af9b 100644 --- a/styles/post.css +++ b/styles/post.css @@ -49,6 +49,16 @@ li { display: inline-block; } +code { + font-family: "Courier New", Courier, monospace; + background-color: #f4f4f4; + padding: 2px 4px; + border: 1px solid #e1e1e1; + border-radius: 4px; + font-size: 0.95em; + white-space: nowrap; +} + .post-title::before { content: ""; position: absolute;