diff --git a/assets/css/_partials/_single/_code.scss b/assets/css/_partials/_single/_code.scss index baa560c3..ddfc7000 100644 --- a/assets/css/_partials/_single/_code.scss +++ b/assets/css/_partials/_single/_code.scss @@ -23,6 +23,7 @@ pre:not(.mermaid[data-processed='true']) { code { padding: 0; background-color: transparent; + font-size: inherit; @include border-radius(0); @include max-content(min-width); @@ -40,7 +41,6 @@ pre:not(.mermaid[data-processed='true']) { .highlight, .gist { - font-size: $code-block-font-size; font-family: $code-font-family; .table-wrapper { @@ -340,6 +340,7 @@ pre:not(.mermaid[data-processed='true']) { .gist-meta { padding: 0.4rem 0.8rem; @include link(false, false); + @include border-radius(0 0 $global-border-radius $global-border-radius); background-color: darken($code-background-color, 5%); [data-theme='dark'] & { @@ -348,12 +349,15 @@ pre:not(.mermaid[data-processed='true']) { } .table-wrapper { - .highlight { - background-color: $code-background-color; + padding-block: 0.25rem; + @include border-radius($global-border-radius $global-border-radius 0 0); + background-color: $code-background-color; - [data-theme='dark'] & { - background-color: $code-background-color-dark; - } + [data-theme='dark'] & { + background-color: $code-background-color-dark; + } + .highlight { + background-color: transparent; } } diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 2c3686c3..dea9861c 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.21-87ca54d0" -}} +{{- .Scratch.Set "version" "v0.3.21-b2e6f70a" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}