Merge pull request #682 from thelounge/xpaw/svg-ttf
Remove all font files except WOFF
This commit is contained in:
commit
8a4100cd01
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 244 KiB |
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 231 KiB |
Binary file not shown.
Binary file not shown.
@ -2,38 +2,31 @@
|
||||
font-family: "Lato";
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
src: url("fonts/Lato-regular/Lato-regular.eot");
|
||||
src:
|
||||
url("fonts/Lato-regular/Lato-regular.eot?#iefix") format("embedded-opentype"),
|
||||
local("Lato Regular"),
|
||||
local("Lato-regular"),
|
||||
url("fonts/Lato-regular/Lato-regular.woff2") format("woff2"),
|
||||
url("fonts/Lato-regular/Lato-regular.woff") format("woff"),
|
||||
url("fonts/Lato-regular/Lato-regular.ttf") format("truetype"),
|
||||
url("fonts/Lato-regular/Lato-regular.svg#Lato") format("svg");
|
||||
url("fonts/Lato-regular/Lato-regular.woff") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Lato";
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
src: url("fonts/Lato-700/Lato-700.eot");
|
||||
src:
|
||||
url("fonts/Lato-700/Lato-700.eot?#iefix") format("embedded-opentype"),
|
||||
local("Lato Bold"),
|
||||
local("Lato-700"),
|
||||
url("fonts/Lato-700/Lato-700.woff2") format("woff2"),
|
||||
url("fonts/Lato-700/Lato-700.woff") format("woff"),
|
||||
url("fonts/Lato-700/Lato-700.ttf") format("truetype"),
|
||||
url("fonts/Lato-700/Lato-700.svg#Lato") format("svg");
|
||||
url("fonts/Lato-700/Lato-700.woff") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "FontAwesome";
|
||||
src: url("../fonts/fontawesome-webfont.eot?v=4.6.3");
|
||||
src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2?v=4.6.3") format("woff2"), url("../fonts/fontawesome-webfont.woff?v=4.6.3") format("woff"), url("../fonts/fontawesome-webfont.ttf?v=4.6.3") format("truetype"), url("../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular") format("svg");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src:
|
||||
url("../fonts/fontawesome-webfont.woff2?v=4.6.3") format("woff2"),
|
||||
url("../fonts/fontawesome-webfont.woff?v=4.6.3") format("woff");
|
||||
}
|
||||
|
||||
html,
|
||||
|
@ -10,7 +10,7 @@ GitHub: https://github.com/aynik
|
||||
|
||||
@font-face {
|
||||
font-family: Inconsolata-g;
|
||||
src: url("../css/fonts/inconsolatag.woff") format("woff"), url("../css/fonts/inconsolatag.ttf") format("ttf");
|
||||
src: url("../css/fonts/inconsolatag.woff") format("woff");
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -5,9 +5,6 @@ var fs = require("fs-extra");
|
||||
var srcDir = "./node_modules/font-awesome/fonts/";
|
||||
var destDir = "./client/fonts/";
|
||||
var fonts = [
|
||||
"fontawesome-webfont.eot",
|
||||
"fontawesome-webfont.svg",
|
||||
"fontawesome-webfont.ttf",
|
||||
"fontawesome-webfont.woff",
|
||||
"fontawesome-webfont.woff2"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user