Mercurial > libervia-media
view fonts/fontello/css/fontello.css @ 42:9a8a5d8f5b86
fonts: added a set of icon fonts generated by fontello + their plain svg version (cf. README_SAT)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 11 Mar 2018 19:13:35 +0100 |
parents | |
children | edbbdece2a68 |
line wrap: on
line source
@font-face { font-family: 'fontello'; src: url('../font/fontello.eot?95304879'); src: url('../font/fontello.eot?95304879#iefix') format('embedded-opentype'), url('../font/fontello.woff2?95304879') format('woff2'), url('../font/fontello.woff?95304879') format('woff'), url('../font/fontello.ttf?95304879') format('truetype'), url('../font/fontello.svg?95304879#fontello') 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: 'fontello'; src: url('../font/fontello.svg?95304879#fontello') format('svg'); } } */ [class^="icon-"]:before, [class*=" icon-"]:before { font-family: "fontello"; font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: .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: .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-doc:before { content: '\e800'; } /* '' */ .icon-folder-open-empty:before { content: '\f115'; } /* '' */ .icon-level-up:before { content: '\f148'; } /* '' */ .icon-file-image:before { content: '\f1c5'; } /* '' */ .icon-file-audio:before { content: '\f1c7'; } /* '' */ .icon-file-video:before { content: '\f1c8'; } /* '' */