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
@mixin md($case){ | |
.#{$case} &{ | |
@content; | |
} | |
} | |
@mixin the-bg($trans: 1){ | |
background: url(assets/img/pixel-#{$trans}.png) repeat; | |
background: rgba(black, ($trans/10)); | |
} |
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 wrap = $('.content'); | |
var col1 = $('.content .primary'); | |
var col2 = $('.content .sidebar'); | |
if (col1.height() < wrap.height()){ | |
col1.css('height', wrap.height()+'px'); | |
} | |
if (col2.height() < wrap.height()){ | |
col2.css('height', wrap.height()+'px'); |
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
jQuery(document).ready(function($){ | |
var _custom_media = true, | |
_orig_send_attachment = wp.media.editor.send.attachment; | |
$('.stag-metabox-table .button').click(function(e) { | |
var send_attachment_bkp = wp.media.editor.send.attachment; | |
var button = $(this); | |
var id = button.attr('id').replace('_button', ''); | |
_custom_media = true; | |
wp.media.editor.send.attachment = function(props, attachment){ | |
if ( _custom_media ) { |
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
<IfModule mod_deflate.c> | |
#The following line is enough for .js and .css | |
AddOutputFilter DEFLATE js css | |
AddOutputFilterByType DEFLATE text/plain text/xml application/xhtml+xml text/css application/xml application/rss+xml application/atom_xml application/x-javascript application/x-httpd-php application/x-httpd-fastphp text/html | |
#The following lines are to avoid bugs with some browsers | |
BrowserMatch ^Mozilla/4 gzip-only-text/html | |
BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
</IfModule> |
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
#wrapper{ | |
max-width:300px; | |
margin:30px auto; | |
padding:0px 20px; | |
} | |
.floatleft{ | |
float:left; | |
} | |
[class^="smiley-"]{ |
NewerOlder