mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
fix: improve code block background color in hints (#839)
This commit is contained in:
parent
5ad7f11b8f
commit
7befded667
@ -28,31 +28,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.
|
||||||
|
@ -143,6 +143,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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user