@wiris/mathtype-froala
Version:
MathType Web for Froala Editor
72 lines (56 loc) • 1.91 kB
CSS
@font-face {
font-family: "wirisplugin";
src: url("../font/wirisplugin.eot?760662");
src:
url("../font/wirisplugin.eot?760662#iefix") format("embedded-opentype"),
url("../font/wirisplugin.woff2?760662") format("woff2"),
url("../font/wirisplugin.woff?760662") format("woff"),
url("../font/wirisplugin.ttf?760662") format("truetype"),
url("../font/wirisplugin.svg?760662#wirisplugin") format("svg");
font-weight: normal;
font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'wirisplugin';
src: url('../font/wirisplugin.svg?760662#wirisplugin') format('svg');
}
}
*/
[class^="icon-mathtype-"]::before,
[class*=" icon-mathtype-"]::before {
font-family: "wirisplugin";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: 0.2em;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes */
font-variant: normal;
text-transform: none;
/* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
margin-left: 0.2em;
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-mathtype-chemistry::before {
content: "\e803";
} /* '' */
.icon-mathtype-editor::before {
content: "\e805";
} /* '' */