Skip to content

Commit 0f04985

Browse files
committed
feat: Added underline + example
1 parent 2ac87dd commit 0f04985

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

assets/css/v2/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,8 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
10181018
details summary {
10191019
color: oklch(var(--color-brand));
10201020
transition: text-decoration-color 0.15s ease-in-out;
1021+
text-decoration: underline;
1022+
text-decoration-color: oklch(var(--color-brand) / 0.3);
10211023

10221024
& ~ * {
10231025
margin-top: 1rem;

exampleSite/content/test-product/everything.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,9 @@ This won't render anything.
6464

6565
{{< see-also >}}See also!{{< /see-also >}}
6666

67+
68+
## details
69+
<details open>
70+
<summary style="font-weight:bold;">Learn how to pin NGINX Plus to a specific version</summary>
71+
And this is the content on how to do so.
72+
</details>

0 commit comments

Comments
 (0)