invisible fonts

This commit is contained in:
pjohns 2018-05-26 15:43:07 -06:00
parent 7e57b28158
commit a8105a039b
7 changed files with 125 additions and 41 deletions

10
website/critical.js Normal file
View File

@ -0,0 +1,10 @@
var critical = require('critical');
critical.generate({
inline: true,
base: 'dist/',
src: 'index.html',
dest: 'index.html',
ignore: ['@font-face'],
minify: true
});

File diff suppressed because one or more lines are too long

82
website/dist/website.4f94ef01.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -389,6 +389,11 @@
}
}
},
"buffer-from": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.0.0.tgz",
"integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA=="
},
"builtin-modules": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
@ -720,10 +725,11 @@
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"concat-stream": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz",
"integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=",
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
"integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
"requires": {
"buffer-from": "1.0.0",
"inherits": "2.0.3",
"readable-stream": "2.3.6",
"typedarray": "0.0.6"
@ -1556,29 +1562,14 @@
}
},
"extract-zip": {
"version": "1.6.6",
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz",
"integrity": "sha1-EpDt6NINCHK0Kf0/NRyhKOxe+Fw=",
"version": "1.6.7",
"resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz",
"integrity": "sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k=",
"requires": {
"concat-stream": "1.6.0",
"concat-stream": "1.6.2",
"debug": "2.6.9",
"mkdirp": "0.5.0",
"mkdirp": "0.5.1",
"yauzl": "2.4.1"
},
"dependencies": {
"minimist": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
},
"mkdirp": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz",
"integrity": "sha1-HXMHam35hs2TROFecfzAWkyavxI=",
"requires": {
"minimist": "0.0.8"
}
}
}
},
"extsprintf": {
@ -2822,7 +2813,7 @@
"reaver": "2.0.0",
"resolve": "1.7.1",
"slash": "1.0.0",
"uglify-js": "3.3.26"
"uglify-js": "3.3.27"
},
"dependencies": {
"atob": {
@ -4863,7 +4854,7 @@
"integrity": "sha512-WDnC1FSHTedvRSS8BZB73tPAx2svUCWFdcxVjrybw8pbKOAB1v5S/pW0EamkqQoL1mXiBc+v8lyYjhhzMHIk1Q==",
"requires": {
"debug": "3.1.0",
"extract-zip": "1.6.6",
"extract-zip": "1.6.7",
"https-proxy-agent": "2.2.1",
"mime": "2.3.1",
"progress": "2.0.0",
@ -5864,9 +5855,9 @@
"integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c="
},
"uglify-js": {
"version": "3.3.26",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.26.tgz",
"integrity": "sha512-XHxutZNxbx0UnqNUrjL/wvABLxirEYpbAnjCWGakPfQRJbbAGF2dI+YYw300F5mYKm7zBtgYiw3kOiQFobzglQ==",
"version": "3.3.27",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.27.tgz",
"integrity": "sha512-O94wxMSb3td/TlofkITYvYIlvIVdldvNXDVRekzK13CQZuL37ua4nrdXX0Ro7MapfUVzglRHs0/+imPRUdOghg==",
"requires": {
"commander": "2.15.1",
"source-map": "0.6.1"

View File

@ -16,6 +16,7 @@
src: url("../fonts/ionicons.eot") format("embedded-opentype"), url("../fonts/ionicons.woff") format("woff"), url("../fonts/ionicons.ttf") format("truetype"), url("../fonts/ionicons.svg") format("svg");
font-weight: normal;
font-style: normal;
font-display: block;
}
.ion, .ionicons,
.ion-ios-bolt-outline:before,

View File

@ -8,7 +8,7 @@
font-style: normal;
font-weight: normal;
text-rendering: optimizeLegibility;
font-display: fallback;
font-display: swap;
}
/* Webfont: Lato-LightItalic */@font-face {
@ -21,5 +21,5 @@
font-style: italic;
font-weight: normal;
text-rendering: optimizeLegibility;
font-display: fallback;
font-display: swap;
}