summaryrefslogtreecommitdiffstats
path: root/static/css
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-07-02 03:49:18 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-07-02 03:49:18 +0200
commit36697fc350a0806cd244f7421a2f313edef816a0 (patch)
tree0848806955edcba22831e13879aed34648543e9f /static/css
parentcc0ed9dfe81f2e489d58c305ff1a0440c34ed7c7 (diff)
CSS: Add background color to code snippets.
Diffstat (limited to 'static/css')
-rw-r--r--static/css/fripost.css9
1 files changed, 9 insertions, 0 deletions
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;
+}