Skip to content

Commit

Permalink
h5bp updates
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Aug 28, 2011
1 parent f7a1499 commit 1359953
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
38 changes: 19 additions & 19 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,24 @@ img.ui-datepicker-trigger { vertical-align: middle; }
.wp-caption-text { margin: 0; }


/* =============================================================================
PLACEHOLDER Media Queries for Responsive Design.
These override the primary ('mobile first') styles
Modify as content requires.
========================================================================== */

@media only screen and (min-width: 480px) {
/* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
/* Style adjustments for viewports 768px and over go here */

}



/* =============================================================================
Non-semantic helper classes
Please define your styles before this section.
Expand All @@ -552,25 +570,7 @@ img.ui-datepicker-trigger { vertical-align: middle; }

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* =============================================================================
PLACEHOLDER Media Queries for Responsive Design.
These override the primary ('mobile first') styles
Modify as content requires.
========================================================================== */

@media only screen and (min-width: 480px) {
/* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
/* Style adjustments for viewports 768px and over go here */

}
.clearfix { *zoom: 1; }



Expand Down
12 changes: 6 additions & 6 deletions inc/roots-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ function roots_google_analytics() {
$get_roots_google_analytics_id = esc_attr($roots_options['google_analytics_id']);
if ($roots_google_analytics_id !== '') {
echo "\n\t<script>\n";
echo "\t\twindow._gaq = [['_setAccount','$get_roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n";
echo "\t\tModernizr.load({\n";
echo "\t\t\tload: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'\n";
echo "\t\t});\n";
echo "\t</script>\n";
}
echo "\t\tvar _gaq=[['_setAccount','$get_roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n";
echo "\t\t(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\n";
echo "\t\tg.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';\n";
echo "\t\ts.parentNode.insertBefore(g,s)}(document,'script'));\n";
echo "\t</script>\n";
}
}

function roots_fout_b_gone() {
Expand Down

0 comments on commit 1359953

Please sign in to comment.