Fixed FontAwesome to avoid collisions and preserve backwards compatibility.
parent
6bb9c9a9b6
commit
57b1c88435
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 197 KiB |
|
@ -1,10 +1,8 @@
|
|||
/* Font Awesome font licensed under SIL OFL 1.1 · Code licensed under MIT License */
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src:url('../fonts/fontawesome-webfont.eot');
|
||||
src:url('../fonts/FontAwesome.otf?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/fontawesome-webfont.woff') format('woff'),
|
||||
url('../fonts/fontawesome-webfont.ttf') format('truetype'),
|
||||
url('../fonts/fontawesome-webfont.svg') format('svg');
|
||||
font-family: 'H5PFontAwesome4'; /* Named so to avoid collisions and preserve backwards compatibility! */
|
||||
src: url('../fonts/fontawesome-webfont.eot?v=4.0.3');
|
||||
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
@ -42,7 +40,7 @@ div.h5p-semi-fullscreen {
|
|||
}
|
||||
|
||||
.h5p-enable-fullscreen:before, .h5p-disable-fullscreen:before {
|
||||
font-family: FontAwesome;
|
||||
font-family: H5PFontAwesome4;
|
||||
margin-right: 10px;
|
||||
content: "\f0b2";
|
||||
font-size: 1.2em;
|
||||
|
|
Loading…
Reference in New Issue