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
font-size: calc( 4rem + ((2 - 1) * 16) * (100vw - 320px) / (848 - 320) ) |
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
$(document).ready(function () { | |
$('input,textarea').focus(function(){ | |
$(this).data('placeholder',$(this).attr('placeholder')) | |
$(this).attr('placeholder',''); | |
}); | |
$('input,textarea').blur(function(){ | |
$(this).attr('placeholder',$(this).data('placeholder')); | |
}); | |
}); |
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
$(".tabs").on("click", "li", function(){ | |
$(".tabs li").removeClass("active"); //удаляем класс во всех вкладках | |
$(this).addClass("active"); //добавляем класс текущей (нажатой) | |
}); |
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
<link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon"> | |
<link rel="apple-touch-icon" href="img/favicon/apple-touch-icon.png"> | |
<link rel="apple-touch-icon" sizes="72x72" href="img/favicon/apple-touch-icon-72x72.png"> | |
<link rel="apple-touch-icon" sizes="114x114" href="img/favicon/apple-touch-icon-114x114.png"> |
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
$(".menu a, .logo").mPageScroll2id({ | |
offset: 0, | |
scrollSpeed: 800 | |
}); |
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
/* | |
* Replace all SVG images with inline SVG | |
*/ | |
$('img.img-svg').each(function () { | |
var $img = jQuery(this); | |
var imgID = $img.attr('id'); | |
var imgClass = $img.attr('class'); | |
var imgURL = $img.attr('src'); | |
$.get(imgURL, function (data) { |
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
$(".top_nav a, .top").mPageScroll2id({ | |
offset: 50, | |
scrollSpeed: 1000 | |
}); |
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
/*Base style*/ | |
*::-webkit-input-placeholder | |
color: #1e1e1e | |
opacity: 1 | |
*:-moz-placeholder | |
color: #666 | |
opacity: 1 | |
*::-moz-placeholder |
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
$(document).ready(function() { | |
//Таймер обратного отсчета | |
//Документация: http://keith-wood.name/countdown.html | |
//<div class="countdown" date-time="2015-01-07"></div> | |
var austDay = new Date($(".countdown").attr("date-time")); | |
$(".countdown").countdown({until: austDay, format: 'yowdHMS'}); | |
//Попап менеджер FancyBox | |
//Документация: http://fancybox.net/howto |
NewerOlder