mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 23:33:15 +00:00
Improve detail styling
This commit is contained in:
@@ -110,24 +110,18 @@ details.doc-index ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
|
||||
.odin-doc-toggle {
|
||||
|
||||
details.odin-doc-toggle > summary.hideme span:before {
|
||||
content: "Expand description";
|
||||
}
|
||||
details.odin-doc-toggle[open] > summary.hideme span:before {
|
||||
content: "Close description";
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
details.odin-doc-toggle[open] > summary.hideme {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
details.odin-doc-toggle > summary.hideme {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
details.odin-doc-toggle[open] > summary.hideme span {
|
||||
content: "";
|
||||
}
|
||||
|
||||
|
||||
details.code-example > summary {
|
||||
font-weight: 700;
|
||||
}
|
||||
Reference in New Issue
Block a user