From 1baaa2ddfe88b0014feebbd7895d0e9ce3d9c87c Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Wed, 6 Jan 2021 16:18:26 +0300 Subject: add post about cgit on openbsd and make minor edits to stylesheet --- _sass/main.scss | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) (limited to '_sass') diff --git a/_sass/main.scss b/_sass/main.scss index af609ae..dfb4a6f 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -120,19 +120,25 @@ ul { } } -.post-page .post-header { - ul { - display: flex; - flex-direction: row; - li { - margin-right: 0.5em; - a { - background: $color-main-grey; - border-radius: 5px; - padding: 2px; +.post-page { + .post-header { + ul { + display: flex; + flex-direction: row; + li { + margin-right: 0.5em; + a { + background: $color-main-grey; + border-radius: 5px; + padding: 2px; + } } } } + + ul { + padding-left: 20px; + } } @@ -149,17 +155,18 @@ blockquote { code { font-family: $code-font; font-size: 0.9em; - &.language-plaintext.highlighter-rouge { - background: $color-main-grey; - padding: 2px; - border-radius: 5px; - } + background: $color-main-grey; + padding: 2px; + border-radius: 5px; } -div.language-plaintext.highlighter-rouge { +div.highlight { overflow-x: auto; background: $color-main-grey; padding-left: 0.5em; border-radius: 5px; + code { + padding: 0; + } } audio { @@ -239,10 +246,10 @@ footer { border-bottom: $border-dark; } } - code.language-plaintext.highlighter-rouge { + code { background: $color-darker-grey; } - div.language-plaintext.highlighter-rouge { + div.highlight { background: $color-darker-grey; } .post { -- cgit v1.2.3