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
// Translate mixin | |
// ------------------------------ | |
.translate(@x; @y) { | |
-webkit-transform: translate(@x, @y); | |
-ms-transform: translate(@x, @y); | |
-o-transform: translate(@x, @y); | |
transform: translate(@x, @y); | |
} | |
// Center-align mixin |
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
<!DOCTYPE html> | |
<title>!</title> |
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
/* http://posteed.com/internetzugriffe-von-wordpress-blocken/ */ | |
define( 'WP_HTTP_BLOCK_EXTERNAL', 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
<IfModule mod_headers.c> | |
<FilesMatch "\.(png|jpg|jpeg|gif)$"> | |
Header append Cache-Control "public, no-transform" | |
</FilesMatch> | |
</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
# HTTP(S) Stuff | |
# Redirect all users except IE 5-8 & Android < 4 to HTTPS | |
RewriteCond %{SERVER_PORT} !^443$ | |
RewriteCond %{HTTP_USER_AGENT} !MSIE\ [5-8] | |
RewriteCond %{HTTP_USER_AGENT} !Android.*(Mobile)?\ [0-3] | |
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L] |
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
ul { | |
list-style: none; | |
position: relative; | |
margin: 0; | |
padding: 0; | |
} | |
li { | |
padding-left: 1.5em; | |
} |
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
/* ... Bookmark this page ... */ | |
var $pageFav = $('.page-favor'), // li.page-favor | |
$pageFavLink = $pageFav.find('a'); | |
if ( window.sidebar || 'AddFavorite' in window.external || window.opera ) { | |
$pageFav.show(); | |
} | |
/* Source: http://calisza.wordpress.com/2008/11/03/javascript-jquery-bookmark-script/ */ | |
// add a 'rel' attrib if Op 7+ && Fx >= 23 | |
if ( window.opera || window.sidebar ) { |
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
/* Don't show shadows when selecting text */ | |
::-moz-selection { text-shadow: none; } | |
::selection { text-shadow: 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
body { | |
font: 100%/1.25 sans-serif; | |
color: #636363; | |
padding: 1em; | |
} | |
table { | |
width: 100%; | |
margin: 0; | |
border-top: 1px solid #e4e2e8; |
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
/* Add the desktop-hidden class to any HTML tag that contains mobile specific content */ | |
.desktop-hidden { | |
*display:none !important; /* IE6-7 */ | |
} | |
@media \0 screen { | |
.desktop-hidden { | |
display:none !important; /* IE8 only */ |