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
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, embed, |
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
@font-face { | |
font-family: "Font Family"; | |
src: url("../fonts/font-family_normal/font.eot"); | |
src: url("../fonts/font-family_normal/font.eot?#iefix") format("embedded-opentype"), | |
url("../fonts/font-family_normal/font.woff2") format("woff2"), | |
url("../fonts/font-family_normal/font.woff") format("woff"), | |
url("../fonts/font-family_normal/font.ttf") format("truetype"), | |
url("../fonts/font-family_normal/font.svg#fontfamily") format("svg"); | |
font-style: normal; | |
font-weight: normal; |
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
// [ DELETE ME ] | |
function debug (string) { | |
if(!$('.debug').length) { | |
$('body').append('<div class="debug" style="position:fixed; z-index:10000; top:66px; left:0; padding:7px 10px; border-radius:0 5px 5px 0; border:1px solid #c00; none; background:#eee; color:#333;"></div>'); | |
} | |
$('.debug').html(string); | |
} | |
// [ /DELETE ME ] | |
$(function () { |
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
/* ___________1. Сброс CSS_____________________ */ | |
a,abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,ins,kbd,label,legend,li,mark,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::after,blockquote::before,q::after,q::before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}input[type=submit],input[type=reset]{cursor:pointer}::-moz-focus-inner{padding:0;border:0} | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
*::before, | |
*::after { | |
-webkit-box-sizing: border-box; |
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
.container { | |
margin-right: auto; | |
margin-left: auto; | |
padding-right: 15px; | |
padding-left: 15px; | |
width: 100%; | |
max-width: 1170px; | |
} | |
.container__row { | |
margin: 0 -15px; |
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
$(function () { | |
// открытие модальных окон | |
// - [all] | |
$('.js-popup').magnificPopup({ | |
type: 'inline', | |
midClick: true, | |
closeMarkup: '<button title="%title%" type="button" class="mfp-close"></button>', | |
mainClass: 'mfp-fade', | |
removalDelay: 300, | |
}); |
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
$(function () { | |
// параллакс при прокрутке | |
// - [all] | |
function pagerScroll () { | |
let t = $(window).scrollTop(); | |
// code ... | |
} | |
$(window).scroll(function () { | |
pagerScroll(); | |
}); |
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
function initialize () { | |
var myLatlng = new google.maps.LatLng(55.7531262, 37.6203079); | |
var mapOptions = { | |
center: myLatlng, | |
zoom: 16, | |
mapTypeId: google.maps.MapTypeId.ROADMAP, | |
scrollwheel: false, | |
}; | |
var map = new google.maps.Map(document.getElementById('map'), mapOptions); |
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
ymaps.ready(function () { | |
var loc = [55.830963, 37.130694], | |
z = 16; | |
var myMap = new ymaps.Map('map', { | |
center: loc, | |
zoom: z | |
}, { | |
searchControlProvider: 'yandex#search' | |
}), | |
myPlacemark = new ymaps.Placemark(loc, { |
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
$(function () { | |
// стилизация элементов форм | |
// - [all] | |
$('\ | |
select, \ | |
textarea, \ | |
input[type="checkbox"], \ | |
input[type="radio"], \ | |
input[type="number"], \ | |
input[type="file"]\ |
OlderNewer