From 8d081663ed6035cfa1246c940e29892e9b7ae1d7 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Tue, 1 Sep 2020 04:05:27 +0000 Subject: [PATCH] css: make inline code look the same as before bootstrap 4 upgrade --- assets/css/beautifuljekyll.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/assets/css/beautifuljekyll.css b/assets/css/beautifuljekyll.css index 7be6e36..21f6411 100644 --- a/assets/css/beautifuljekyll.css +++ b/assets/css/beautifuljekyll.css @@ -824,6 +824,19 @@ table tr td :last-child { /* --- Code blocks --- */ +code { + padding: 0.125rem 0.25rem; + color: #c7254e; + background-color: #f9f2f4; + border-radius: 0.25rem; +} + +pre code { + padding: 0; + background-color: transparent; + border-radius: 0; +} + pre { font-size: 1rem; line-height: 1.5;