Fix chevron display (#6)

* Change unicode characters to svg

* Phrasing suggestion

* Apply grey fill color

---------

Co-authored-by: Zsolt Ero <zsolt.ero@gmail.com>
This commit is contained in:
Ena Rajović
2024-06-13 01:18:05 +02:00
committed by GitHub
parent c1dbdc318d
commit fb8488e8c0
2 changed files with 6 additions and 6 deletions

View File

@@ -251,10 +251,9 @@ code {
}
.col-lbl:before {
content: '►';
/* Triangle pointing right */
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="0.8em" height="0.8em" viewBox="0 0 180 180" id="U+25B6"><path d="m20,15v150l130-75" fill="%23555"/></svg>');
margin-right: 1em;
color: #555;
font-size: 0.8em;
}
.col-cnt {
@@ -267,7 +266,8 @@ code {
}
.col-chk:checked ~ .col-lbl:before {
content: '▼';
/* Triangle pointing down */
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="0.8em" height="0.8em" viewBox="0 0 180 180" id="U+25BC"><path d="m90,150 75-130H15" fill="%23555"/></svg>');
}
hr {