Skip to content

Commit

Permalink
update admonition
Browse files Browse the repository at this point in the history
  • Loading branch information
DininduSenanayake committed Aug 24, 2023
1 parent 9b0750f commit 6c17a8e
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,22 @@
-webkit-mask-image: var(--md-admonition-icon--tower-observation);
mask-image: var(--md-admonition-icon--tower-observation);
}



:root {
--md-admonition-icon--copyright: url('data:image/svg+xml;charset=utf-9,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM199.4 312.6c-31.2-31.2-31.2-81.9 0-113.1s81.9-31.2 113.1 0c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9c-50-50-131-50-181 0s-50 131 0 181s131 50 181 0c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0c-31.2 31.2-81.9 31.2-113.1 0z"/></svg>')
}
.md-typeset .admonition.copyright,
.md-typeset details.copyright {
border-color: rgb(177, 235, 138);
}
.md-typeset .copyright > .admonition-title,
.md-typeset .copyright > summary {
background-color: rgba(84, 226, 55, 0.459);
}
.md-typeset .copyright > .admonition-title::before,
.md-typeset .copyright > summary::before {
background-color: rgb(3, 139, 3);
-webkit-mask-image: var(--md-admonition-icon--copyright);
mask-image: var(--md-admonition-icon--copyright);
}

0 comments on commit 6c17a8e

Please sign in to comment.