This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// needed for viewport size detection in javascript | |
body::before { | |
display: none; | |
content: "xs"; | |
} | |
@media (min-width: $screen-sm-min) { | |
body::before { | |
content: "sm"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
# If the user agent accepts gzip encoding... | |
RewriteCond %{HTTP:Accept-Encoding} gzip | |
# ...and if gzip-encoded version of the requested file exists (<file>.gz)... | |
RewriteCond %{REQUEST_FILENAME}.gz -f | |
# ...then serve the gzip-encoded file. Done. | |
RewriteRule ^(.+)$ $1.gz [L] | |
# Or if the user agent accepts gzip encoding... | |
RewriteCond %{HTTP:Accept-Encoding} gzip | |
# ...and the requested file exists... |