diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-01-06 16:18:26 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-01-06 16:18:26 +0300 |
| commit | 1baaa2ddfe88b0014feebbd7895d0e9ce3d9c87c (patch) | |
| tree | b9e77de8892ba9aad154f3fa4943291a47eb3464 /_sass | |
| parent | 585c08987fdd40274bd628bae15be9b9399b357e (diff) | |
| download | aaoth.xyz-1baaa2ddfe88b0014feebbd7895d0e9ce3d9c87c.tar.gz aaoth.xyz-1baaa2ddfe88b0014feebbd7895d0e9ce3d9c87c.zip | |
add post about cgit on openbsd and make minor edits to stylesheet
Diffstat (limited to '_sass')
| -rw-r--r-- | _sass/main.scss | 43 |
1 files changed, 25 insertions, 18 deletions
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 { |
