fix: improve code block background color in hints (#541)

This commit is contained in:
Robert Kaussow 2024-06-07 21:43:31 +02:00 committed by GitHub
parent 8d2b742852
commit a8fe024d40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 5 deletions

View File

@ -208,31 +208,31 @@ Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclima
{{< hint type=note >}} {{< hint type=note >}}
**Markdown content**\ **Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Dolor sit, sumo unique `argument um no`. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re. Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}} {{< /hint >}}
{{< hint type=tip >}} {{< hint type=tip >}}
**Markdown content**\ **Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Dolor sit, sumo unique `argument um no`. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re. Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}} {{< /hint >}}
{{< hint type=important >}} {{< hint type=important >}}
**Markdown content**\ **Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Dolor sit, sumo unique `argument um no`. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re. Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}} {{< /hint >}}
{{< hint type=caution >}} {{< hint type=caution >}}
**Markdown content**\ **Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Dolor sit, sumo unique `argument um no`. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re. Ornateness bland it ex enc, est yeti am bongo detract re.
{{< /hint >}} {{< /hint >}}
{{< hint type=warning >}} {{< hint type=warning >}}
**Markdown content**\ **Markdown content**\
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Dolor sit, sumo unique `argument um no`. Gracie nominal id xiv. Romanesque acclimates investiture.
Ornateness bland it ex enc, est yeti am bongo detract re. Ornateness bland it ex enc, est yeti am bongo detract re.
Romanesque acclimates investiture. Romanesque acclimates investiture.

View File

@ -190,6 +190,12 @@
background-color: scale-color($color, $lightness: 95%, $saturation: -30%); background-color: scale-color($color, $lightness: 95%, $saturation: -30%);
color: $body-font-color; color: $body-font-color;
padding: 0; padding: 0;
code,
pre {
background-color: scale-color($color, $lightness: 80%, $saturation: -75%);
color: $code-font-color;
}
} }
} }