diff --git a/static/css/blog/post.css b/static/css/blog/post.css index 6d2c4a9..403def9 100644 --- a/static/css/blog/post.css +++ b/static/css/blog/post.css @@ -138,6 +138,12 @@ img { margin: auto; } +/* Code */ +kbd, +code { + font-family: Consolas, monospace; +} + /* Little snippet of code (not blocks) */ kbd, code:not(.hljs):not(:has(svg)) { @@ -145,10 +151,7 @@ code:not(.hljs):not(:has(svg)) { border-radius: 3px; color: var(--code-font-color); box-shadow: 0 1px 1px #000000; - display: inline-block; font-size: calc(var(--font-size) / 1.2); - font-weight: 700; - line-height: 1; padding: 2px 4px; vertical-align: 1.5px; }