Created
March 31, 2020 20:18
-
-
Save ggrossetie/086470f842e8c19ebf4d520324033eff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.doc .admonitionblock .icon { | |
border-radius: 1rem; | |
} | |
i.fa[class^='icon-'], | |
i.fa[class*=' fa-']::before, | |
i.fa[class*=' icon-']::before { | |
content: ""; | |
height: 1.25rem; | |
width: 1.25rem; | |
margin-right: 0.25rem; | |
margin-left: -0.5rem; | |
} | |
i.fa.icon-note::before { | |
background: no-repeat url("../img/note.svg"); | |
} | |
i.fa.icon-tip::before { | |
background: no-repeat url("../img/tip.svg"); | |
} | |
i.fa.icon-important::before { | |
background: no-repeat url("../img/important.svg"); | |
} | |
i.fa.icon-warning::before { | |
background: no-repeat url("../img/warning.svg"); | |
} | |
i.fa.icon-caution::before { | |
background: no-repeat url("../img/caution.svg"); | |
} | |
i.fa.fa-file-pdf::before { | |
background: no-repeat url("../img/file-pdf.svg"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment