Ticket #12303: 12303-mobile-webkit.patch
| File 12303-mobile-webkit.patch, 1.3 KB (added by iammattthomas, 3 years ago) |
|---|
-
mobile-webkit.css
1 /* Mobile Safari ( iPad, iPhone and iPod Touch ) 2 -------------------------------------------------------------- */ 3 4 #access, .entry-meta, .navigation, pre { 5 -webkit-text-size-adjust: 140%; 6 } 7 8 code { 9 -webkit-text-size-adjust: 160%; 10 } 11 12 .widget-area { 13 -webkit-text-size-adjust: 120%; 14 } -
header.php
23 23 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" /> 24 24 <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" /> 25 25 26 <?php if( strstr( $_SERVER['HTTP_USER_AGENT'], 'iPhone' ) || strstr( $_SERVER['HTTP_USER_AGENT'], 'iPod' ) || strstr( $_SERVER['HTTP_USER_AGENT'], 'iPad' ) ) : ?> 27 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/mobile-webkit.css" /> 28 <?php endif; ?> 29 26 30 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> 27 31 28 32 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
