From 26fdea5d30b6af9b4f3a3e6991c3f163c690e998 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Fri, 31 May 2019 16:26:00 +0200 Subject: [PATCH] tab size, scope the inline code css --- liquet/css/singular.css | 11 ++++++++++- liquet/style.css | 8 -------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/liquet/css/singular.css b/liquet/css/singular.css index 0d13911..57455c4 100644 --- a/liquet/css/singular.css +++ b/liquet/css/singular.css @@ -59,7 +59,16 @@ font-size: .75em; } -#singular #content code { +#singular #content pre { + overflow: auto; + background-color: var(--clr-ligher); + padding: 1em; + border-radius: .25em; + overflow-wrap: initial; + tab-size: 4; +} + +#singular #content p code { background: var(--clr-ligher); padding: 0.3em .5em; border-radius: .25em; diff --git a/liquet/style.css b/liquet/style.css index 2a675bc..d9c5ec8 100644 --- a/liquet/style.css +++ b/liquet/style.css @@ -33,14 +33,6 @@ h1, h2, h3, h4, h5, h6 { margin: 0; } -pre { - overflow: auto; - background-color: var(--clr-ligher); - padding: 1em; - border-radius: .25em; - overflow-wrap: initial; -} - a { text-decoration: none; color: inherit;