From 6a2e2461fb0b718893f9d337e5c6fe9ca29234b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=B6ln?= Date: Wed, 20 Mar 2019 17:02:05 +0100 Subject: [PATCH] quote inline code --- src/theme/css/book.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/theme/css/book.css b/src/theme/css/book.css index fa541039..61281049 100644 --- a/src/theme/css/book.css +++ b/src/theme/css/book.css @@ -7,8 +7,17 @@ p { } code { font-family: "Source Code Pro", monospace; + padding: 0 !important; +} +code:not(.block) { padding: 0 0 1pt 0 !important; } +code:not(.block)::before { + content: '‘'; +} +code:not(.block)::after { + content: '’'; +} pre { margin-left: 2em; }