From 36697fc350a0806cd244f7421a2f313edef816a0 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 2 Jul 2020 03:49:18 +0200 Subject: CSS: Add background color to code snippets. --- static/css/fripost.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'static') diff --git a/static/css/fripost.css b/static/css/fripost.css index 2f6c40e..443c825 100644 --- a/static/css/fripost.css +++ b/static/css/fripost.css @@ -24,3 +24,12 @@ table > tr > td { table > tr > th { padding: 0 1ex; } +pre { + padding: 16px; + font-size: 85%; + line-height: 1.45; + background-color: #f6f8fa; + border-radius: 6px; + tab-size: 4; + -moz-tab-size: 4; +} -- cgit v1.2.3