-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
23 changed files
with
358 additions
and
102 deletions.
There are no files selected for viewing
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
RewriteEngine On | ||
|
||
# Force www | ||
RewriteCond %{HTTP_HOST} !^www\.yourodmain\.com [NC] | ||
RewriteRule ^(.*)$ http://www.yourodmain.com/$1 [R=301,L] | ||
|
||
# Force ssl | ||
RewriteCond %{SERVER_PORT} 80 | ||
RewriteRule ^(.*)$ https://www.yourodmain.com/$1 [R=301,L] | ||
|
||
# Handle Front Controller... | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteRule ^ index.php [L] | ||
|
||
# ---------------------------------------------------------------------- | ||
# | Compression | | ||
# ---------------------------------------------------------------------- | ||
|
||
<IfModule mod_deflate.c> | ||
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css text/javascript application/javascript | ||
</IfModule> | ||
|
||
<IfModule mod_headers.c> | ||
Header unset ETag | ||
</IfModule> | ||
|
||
FileETag None | ||
|
||
<IfModule mod_expires.c> | ||
|
||
ExpiresActive on | ||
ExpiresDefault "access plus 1 month" | ||
|
||
# CSS | ||
ExpiresByType text/css "access plus 1 year" | ||
|
||
# Data interchange | ||
ExpiresByType application/atom+xml "access plus 1 hour" | ||
ExpiresByType application/rdf+xml "access plus 1 hour" | ||
ExpiresByType application/rss+xml "access plus 1 hour" | ||
|
||
ExpiresByType application/json "access plus 0 seconds" | ||
ExpiresByType application/ld+json "access plus 0 seconds" | ||
ExpiresByType application/schema+json "access plus 0 seconds" | ||
ExpiresByType application/vnd.geo+json "access plus 0 seconds" | ||
ExpiresByType application/xml "access plus 0 seconds" | ||
ExpiresByType text/xml "access plus 0 seconds" | ||
|
||
# Favicon (cannot be renamed!) and cursor images | ||
ExpiresByType image/vnd.microsoft.icon "access plus 1 week" | ||
ExpiresByType image/x-icon "access plus 1 week" | ||
|
||
# HTML | ||
ExpiresByType text/html "access plus 0 seconds" | ||
|
||
# JavaScript | ||
ExpiresByType application/javascript "access plus 1 year" | ||
ExpiresByType application/x-javascript "access plus 1 year" | ||
ExpiresByType text/javascript "access plus 1 year" | ||
|
||
# Manifest files | ||
ExpiresByType application/manifest+json "access plus 1 year" | ||
|
||
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" | ||
ExpiresByType text/cache-manifest "access plus 0 seconds" | ||
|
||
# Media files | ||
ExpiresByType audio/ogg "access plus 1 month" | ||
ExpiresByType image/bmp "access plus 1 month" | ||
ExpiresByType image/gif "access plus 1 month" | ||
ExpiresByType image/jpeg "access plus 1 month" | ||
ExpiresByType image/png "access plus 1 month" | ||
ExpiresByType image/svg+xml "access plus 1 month" | ||
ExpiresByType video/mp4 "access plus 1 month" | ||
ExpiresByType video/ogg "access plus 1 month" | ||
ExpiresByType video/webm "access plus 1 month" | ||
|
||
# Web fonts | ||
|
||
# Embedded OpenType (EOT) | ||
ExpiresByType application/vnd.ms-fontobject "access plus 1 month" | ||
ExpiresByType font/eot "access plus 1 month" | ||
|
||
# OpenType | ||
ExpiresByType font/opentype "access plus 1 month" | ||
|
||
# TrueType | ||
ExpiresByType application/x-font-ttf "access plus 1 month" | ||
|
||
# Web Open Font Format (WOFF) 1.0 | ||
ExpiresByType application/font-woff "access plus 1 month" | ||
ExpiresByType application/x-font-woff "access plus 1 month" | ||
ExpiresByType font/woff "access plus 1 month" | ||
|
||
# Web Open Font Format (WOFF) 2.0 | ||
ExpiresByType application/font-woff2 "access plus 1 month" | ||
|
||
# Other | ||
ExpiresByType text/x-cross-domain-policy "access plus 1 week" |
File renamed without changes.
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.js] | ||
indent_size = 2 | ||
|
||
[*.txt] | ||
insert_final_newline = false | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
a { | ||
color: $link-color; | ||
&:hover, | ||
&:focus, | ||
&:active { | ||
color: $link-color-hover; | ||
} | ||
} | ||
color: $link-color; | ||
text-decoration: none; | ||
transition: color .2s ease; | ||
&:hover, | ||
&:focus, | ||
&:active { | ||
color: $link-color-hover; | ||
} | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
} | ||
|
||
td, | ||
th { | ||
vertical-align: top; | ||
} |
This file contains 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
Oops, something went wrong.