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
$('.city-input').keyup(function() { | |
filter(this); | |
}); | |
function filter(element) { | |
var value = $(element).val().toLowerCase(); | |
$('[data-filter]').each(function() { | |
var $this = $(this), | |
lower = $this.data('filter').toLowerCase(); | |
if (lower.indexOf(value) > -1) { |
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
RewriteCond %{HTTP_HOST} . | |
RewriteCond %{HTTP_HOST} www.site.com [NC] | |
RewriteRule (.*) http://site.com/$1 [R=301,L] | |
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(htm(l)?|php)\ HTTP/ | |
RewriteRule ^(([^/]+/)*)index\.(htm(l)?|php)$ http://site\.com/$1 [R=301,L] |
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
RewriteCond %{HTTP_USER_AGENT} wget [NC] | |
RewriteRule .* - [F] |
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
.image { | |
background-image: url('../images/image.png'); | |
background-size: 400px 200px; | |
width: 400px; | |
height: 200px; | |
} | |
/* 2 dpr retina monitors */ | |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { | |
.image { |
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
.cover-image { | |
overflow: hidden; | |
position: relative; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
height: 150px; |
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
var getSlug = window.location.href.substr(window.location.href.lastIndexOf("/") + 1); | |
$('body').addClass('page--' + getSlug); |
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
.list-circles { | |
li { | |
position: relative; | |
list-style: none; | |
font-size: 1rem; | |
line-height: 1rem; | |
&::before { | |
position: absolute; | |
top: 0; |