diff --git a/assets/css/screen.css b/assets/css/screen.css index 6a3900e..95c5a5e 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -107,11 +107,11 @@ table { border-collapse: collapse; border-spacing: 0; } /* Import the font file with the icons in it */ @font-face { font-family: "casper-icons"; - src:url("../fonts/casper-icons.eot"); - src:url("../fonts/casper-icons.eot?#iefix") format("embedded-opentype"), - url("../fonts/casper-icons.woff") format("woff"), - url("../fonts/casper-icons.ttf") format("truetype"), - url("../fonts/casper-icons.svg#icons") format("svg"); + src:url("../fonts/casper-icons.eot?v=1"); + src:url("../fonts/casper-icons.eot?v=1#iefix") format("embedded-opentype"), + url("../fonts/casper-icons.woff?v=1") format("woff"), + url("../fonts/casper-icons.ttf?v=1") format("truetype"), + url("../fonts/casper-icons.svg?v=1#icons") format("svg"); font-weight: normal; font-style: normal; } @@ -164,6 +164,11 @@ table { border-collapse: collapse; border-spacing: 0; } .icon-menu:before { content: "\f609"; } +/* + IMPORTANT: When making any changes to the icon font, be sure to increment + the version number by 1 in the @font-face rule. `?v=1` becomes `?v=2` + This forces browsers to download the new font file. +*/ /* ==========================================================================