Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion assets/css/v2/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,26 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
align-items: flex-start;
}

/* Details/Summary */
details summary {
color: oklch(var(--color-brand));
transition: text-decoration-color 0.15s ease-in-out;
text-decoration: underline;
text-decoration-color: oklch(var(--color-brand) / 0.3);

& ~ * {
margin-top: 1rem;
}
}

details summary:hover {
text-decoration-color: oklch(var(--color-brand) / 0.8);
}

details:hover {
cursor: pointer;
}

/* Table of Contents */
#TableOfContents {
/* Close all TOC on sidebar */
Expand Down Expand Up @@ -1096,7 +1116,7 @@ h3:target,
h4:target,
h5:target,
h6:target {
color: var(--color-brand);
color: oklch(var(--color-brand));

.headerlink::before {
display: block !important;
Expand Down
6 changes: 6 additions & 0 deletions exampleSite/content/test-product/everything.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,9 @@ This won't render anything.

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


## details
<details open>
<summary>Learn how to pin NGINX Plus to a specific version</summary>
And this is the content on how to do so.
</details>
Loading