Skip to content

Commit

Permalink
Change unicode characters to svg
Browse files Browse the repository at this point in the history
  • Loading branch information
Aphanite committed Jun 12, 2024
1 parent 1ce5c85 commit b355fb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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"/></svg>');
margin-right: 1em;
color: #555;
font-size: 0.8em;
}

.col-cnt {
Expand All @@ -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"/></svg>');
}

hr {
Expand Down

0 comments on commit b355fb1

Please sign in to comment.