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
input::-webkit-input-placeholder { | |
font-weight: 400; | |
font-size: 16px; | |
} | |
input::-moz-placeholder { | |
font-weight: 400; | |
font-size: 16px; | |
} | |
input:-moz-placeholder { | |
font-weight: 400; |
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
<div class="tabs-widget"> | |
<div class="header"> | |
<a href="#tab-1-1">Первая вкладка</a> | |
<a href="#tab-1-2">Вторая вкладка</a> | |
<a href="#tab-1-3">Третья вкладка</a> | |
</div> | |
<div class="content"> | |
<div id="tab-1-1" class="scroller"></div> | |
<div class="item"> | |
<p>Это первая вкладка этого классного виджета табов.</p> |
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
<div class="form-group"> | |
<label class="control-label" for="af_message">Загрузите скриншот</label><br><br> | |
<label for="input-file" class="input-upload"> | |
<input name="project" type="file" id="input-file" accept=".jpg, .jpeg, .png, .psd, .pdf, .doc, .docx"> | |
<img src="/tmp/img/arrow-up.svg" alt="upload file" /> | |
<br> | |
<span>выбрать файл для отправки</span> | |
</label> | |
</div> |
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
<!-- GoogleAnalytics counter --> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-54873391-1', 'auto'); | |
ga('send', 'pageview'); | |
setTimeout("ga('send', 'event', '15 seconds', 'read')",15000); |
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
$('a[href^="#"]').on('click', function(event) { | |
event.preventDefault(); | |
var sc = $(this).attr("href"), | |
dn = $(sc).offset().top; | |
$('html, body').animate({scrollTop: dn}, 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
function cleanNumberPhone($string) { | |
$newString = preg_replace('~\D+~','', $string); | |
return $newString; | |
} |
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="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | |
<link rel="icon" type="image/png" sizes="64x64" href="/favicon64.png"> | |
<link rel="icon" type="image/png" sizes="32x32" href="/favicon32.png"> | |
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | |
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 %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php|html|htm)\ HTTP/ | |
RewriteRule ^(.*)index\.(php|html|htm)$ $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
add_action('init', 'art_register_port'); | |
function art_register_port(){ | |
register_post_type('portfolio', array( | |
'labels' => array( | |
'name' => 'Portfolio', // Основное название типа записи | |
'singular_name' => 'Portfolio', // отдельное название записи типа Book | |
'add_new' => 'Add', | |
'add_new_item' => 'Add new', | |
'edit_item' => 'Edit', |
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
/* Smoothing */ | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; | |
font-smoothing: antialiased; | |
-webkit-font-smoothing: antialiased; |
OlderNewer