Remove font-awesome and migrate its icons
This commit is contained in:
parent
ca22dcbfee
commit
f57c466c93
16 changed files with 133 additions and 13 deletions
69
static/assets/css/fontello.css
vendored
Normal file
69
static/assets/css/fontello.css
vendored
Normal file
|
@ -0,0 +1,69 @@
|
|||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?91505657');
|
||||
src: url('../font/fontello.eot?91505657#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?91505657') format('woff2'),
|
||||
url('../font/fontello.woff?91505657') format('woff'),
|
||||
url('../font/fontello.ttf?91505657') format('truetype'),
|
||||
url('../font/fontello.svg?91505657#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?91505657#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
font-family: "fontello";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: never;
|
||||
|
||||
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-down-open:before { content: '\e800'; } /* '' */
|
||||
.icon-search:before { content: '\e801'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e802'; } /* '' */
|
||||
.icon-plus-circled:before { content: '\e803'; } /* '' */
|
||||
.icon-link:before { content: '\e804'; } /* '' */
|
||||
.icon-twitter:before { content: '\f099'; } /* '' */
|
||||
.icon-github-circled:before { content: '\f09b'; } /* '' */
|
||||
.icon-fork:before { content: '\f126'; } /* '' */
|
||||
.icon-angle-circled-left:before { content: '\f137'; } /* '' */
|
||||
.icon-angle-circled-right:before { content: '\f138'; } /* '' */
|
||||
.icon-stackoverflow:before { content: '\f16c'; } /* '' */
|
||||
.icon-linkedin-squared:before { content: '\f30c'; } /* '' */
|
Loading…
Add table
Add a link
Reference in a new issue