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> | |
<!-- | |
320 and Up boilerplate extension | |
Author: Andy Clarke | |
Version: 0.9b | |
URL: http://stuffandnonsense.co.uk/projects/320andup | |
--> | |
<!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]--> |
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> | |
<!-- | |
320 and Up boilerplate extension | |
Author: Andy Clarke | |
Version: 0.9b | |
URL: http://stuffandnonsense.co.uk/projects/320andup | |
--> | |
<!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]--> |
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 $maps = $('a[href^="http://maps.google.com.au/maps?"]:has(img[src^="http://maps.google.com/maps/api/staticmap?"]),img[src^="http://maps.google.com/maps/api/staticmap?"]:not(a[href^="http://maps.google.com.au/maps?"] img)'); |
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
a:link, | |
a:visited { | |
color: #1670a4; | |
background: transparent; | |
text-decoration: underline; | |
/* double ups required as multiple psuedo classes can apply at once */ | |
} | |
a:focus { |
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
.gradient(@start: #dddddd, @end: #ffffff, @background: 'set to start') { | |
//awful code - less can't access outer scope | |
@s: @start; | |
@b: @background; | |
background-color: ~`(this.b.toJS() == "'set to start'")?this.s.toJS():this.b.toJS()`; | |
background-image: -moz-linear-gradient(top, @start, @end); | |
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, @start),color-stop(1, @end)); | |
background-image: linear-gradient(top, @start, @end); | |
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorStr='%d', EndColorStr='%d')", @start, @end)); |
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 | |
function mytheme_html5shiv() { | |
$result = ""; | |
$result .= '<!--[if lt IE 9]>'; | |
$result .= '<script src="'; | |
$result .= $parent['js']; | |
$result .= '/html5shiv.js"></script>'; | |
$result .= '<![endif]-->' . "\n"; | |
echo $result; | |
} |
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
--- class-metabox.php (saved version) | |
+++ (current document) | |
@@ -514,6 +514,7 @@ | |
public function enqueue() { | |
$color = get_user_meta( get_current_user_id(), 'admin_color', true ); | |
+ if ($color == '') $color = 'fresh'; | |
wp_enqueue_style( 'metabox-tabs', WPSEO_URL.'css/metabox-tabs.css', WPSEO_VERSION ); | |
wp_enqueue_style( "metabox-$color", WPSEO_URL.'css/metabox-'.$color.'.css', WPSEO_VERSION ); |
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 | |
if ( (is_home()) && (get_option('show_on_front') == 'page') && (get_option('page_for_posts') != 0) ) { | |
echo '<h1>' . esc_html(get_the_title(get_option('page_for_posts'))) . '</h1>'; | |
} | |
?> |
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
.320up(){ | |
.three20 { | |
color: #fff; | |
} | |
} /* end 320up 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
<html> | |
<head> | |
<title>blah</title> | |
</head> | |
<body> | |
<header> ... </header> | |
<section>... </section> | |
<footer> ... </footer> |
OlderNewer