h5bp updates
This commit is contained in:
@@ -533,6 +533,24 @@ img.ui-datepicker-trigger { vertical-align: middle; }
|
|||||||
.wp-caption-text { margin: 0; }
|
.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
|
Non-semantic helper classes
|
||||||
Please define your styles before this section.
|
Please define your styles before this section.
|
||||||
@@ -552,25 +570,7 @@ img.ui-datepicker-trigger { vertical-align: middle; }
|
|||||||
|
|
||||||
.clearfix:before, .clearfix:after { content: ""; display: table; }
|
.clearfix:before, .clearfix:after { content: ""; display: table; }
|
||||||
.clearfix:after { clear: both; }
|
.clearfix:after { clear: both; }
|
||||||
.clearfix { zoom: 1; }
|
.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 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ function roots_google_analytics() {
|
|||||||
$get_roots_google_analytics_id = esc_attr($roots_options['google_analytics_id']);
|
$get_roots_google_analytics_id = esc_attr($roots_options['google_analytics_id']);
|
||||||
if ($roots_google_analytics_id !== '') {
|
if ($roots_google_analytics_id !== '') {
|
||||||
echo "\n\t<script>\n";
|
echo "\n\t<script>\n";
|
||||||
echo "\t\twindow._gaq = [['_setAccount','$get_roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n";
|
echo "\t\tvar _gaq=[['_setAccount','$get_roots_google_analytics_id'],['_trackPageview'],['_trackPageLoadTime']];\n";
|
||||||
echo "\t\tModernizr.load({\n";
|
echo "\t\t(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\n";
|
||||||
echo "\t\t\tload: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'\n";
|
echo "\t\tg.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';\n";
|
||||||
echo "\t\t});\n";
|
echo "\t\ts.parentNode.insertBefore(g,s)}(document,'script'));\n";
|
||||||
echo "\t</script>\n";
|
echo "\t</script>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user