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
.hide-text { | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
border: 0; | |
background-color: transparent; | |
} |
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-family:Verdana, Geneva, sans-serif; | |
font-family:Georgia, "Times New Roman", Times, serif; | |
font-family:"Courier New", Courier, monospace; | |
font-family:Arial, Helvetica, sans-serif; | |
font-family:Tahoma, Geneva, sans-serif; | |
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; | |
font-family:"Arial Black", Gadget, sans-serif; | |
font-family:"Times New Roman", Times, serif; | |
font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif; | |
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; |
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
/* Large desktop */ | |
@media (min-width: 1200px) { ... } | |
/* Portrait tablet to landscape and desktop */ | |
@media (min-width: 768px) and (max-width: 979px) { ... } | |
/* Landscape phone to portrait tablet */ | |
@media (max-width: 767px) { ... } | |
/* Landscape phones and down */ |
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
.thumb { | |
-webkit-filter: grayscale(100%); // Chrome | |
filter: url("data:image/svg+xml;utf8,<svg%20xmlns='http://www.w3.org/2000/svg'><filter%20id='grayscale'><feColorMatrix%20type='matrix'%20values='0.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200%200%200%201%200'/></filter></svg>#grayscale"); // Firefox | |
&:hover { | |
-webkit-filter: grayscale(0%); | |
filter: none; | |
img { | |
filter: none; | |
} | |
} |
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 my_ads_shortcode( $attr ) { | |
ob_start(); | |
get_template_part( 'ads' ); | |
return ob_get_clean(); | |
} | |
add_shortcode( 'ads', 'my_ads_shortcode' ); |
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
.title { | |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9bc7e2), color-stop(100%, #9bc7e2)); | |
background-image: -webkit-linear-gradient(#ffffff,#9bc7e2); | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: transparent; | |
color: #fff; | |
position: relative; | |
text-shadow: none; | |
} | |
.title:before { |
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
Правка последнего коммита | |
git commit --amend -m "Add comment" | |
====================================== | |
Лог | |
git log --all --pretty=format:'%h %cd %s (%an)' --since='7 days ago' | |
====================================== | |
Откат до определенного коммита | |
git reset --hard sha_commit_code |
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
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/query.php | |
*/ | |
$args = array( |
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
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', true ); | |
define( 'SAVEQUERIES', true ); | |
define( 'SCRIPT_DEBUG', true ); | |
//define( 'DISABLE_WP_CRON', true ); | |
define( 'CONCATENATE_SCRIPTS', false ); | |
// Write to the log file. | |
error_log( var_export( $foo, true ) ); |
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
// var | |
@margin : 2%; | |
// mixin | |
.colsWidth(@margin, @num_cols : 1) { | |
width: ( 100 - @margin * ( @num_cols - 1 ) ) / @num_cols; | |
} | |
// style.less | |
.price-cols-2 .col { .colsWidth(@margin, 2); } |
OlderNewer