From 031305f5deaa04436e29a3ab8eb227dafdf23c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 24 Jul 2022 23:56:29 +0200 Subject: [PATCH] Add style for inline code. --- static/style.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/static/style.css b/static/style.css index 025d35c..191a919 100644 --- a/static/style.css +++ b/static/style.css @@ -74,11 +74,17 @@ pre code { font-size: medium; background: #fff; color: #000; + border: none; + font-size: 85%; } code { - padding: 0.25ex; + padding: 0.25ex 0.5ex; margin: 0.25ex; + background: #eee; + color: #600; + font-family: Menlo, Monaco, "Courier New", monospace; + font-size: 85%; } article.post { @@ -111,14 +117,16 @@ article.post { pre code { padding: 1ex; font-size: medium; + border: none; background: #000; color: #fff; - border: none; } code { - padding: 0.25ex; - margin: 0.25ex; - border: 1px solid #00000; + background: #262826; + color: #FFF; + font-family: Menlo, Monaco, "Courier New", monospace; + font-size: 85%; + } }