Commit a497e8df authored by JC Brand's avatar JC Brand

Don't show double icons for fa-icon elements

parent aec0ba71
...@@ -66,21 +66,26 @@ ...@@ -66,21 +66,26 @@
#conversejs, .converse-website { #conversejs, .converse-website {
/* Apparent font-awesome bug? The circle has some kind of bottom margin */ /* Apparent font-awesome bug? The circle has some kind of bottom margin */
.far {
fa-icon:before {
content: none !important;
}
.far:not(fa-icon) {
font-family: 'ConverseFontAwesomeRegular' !important; font-family: 'ConverseFontAwesomeRegular' !important;
font-weight: 400; font-weight: 400;
} }
.fa, .fa:not(fa-icon),
.fas { .fas:not(fa-icon) {
font-family: 'ConverseFontAwesomeSolid' !important; font-family: 'ConverseFontAwesomeSolid' !important;
font-weight: 900; font-weight: 900;
} }
.fab { .fab:not(fa-icon) {
font-family: 'ConverseFontAwesomeBrands'; font-family: 'ConverseFontAwesomeBrands';
} }
.fa, .far, .fas, .fab { .fa:not(fa-icon), .far:not(fa-icon), .fas:not(fa-icon), .fab:not(fa-icon) {
display: inline-block; display: inline-block;
font-size: inherit; font-size: inherit;
text-rendering: auto; text-rendering: auto;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment