mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 07:22:01 +01:00
Moving mobile webkit styles to style.css; adjusting widget_search label and site-description sizes. See #12303
git-svn-id: http://svn.automattic.com/wordpress/trunk@13566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2d85143b5e
commit
f1961ae08d
@ -2,7 +2,6 @@
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>" />
|
||||
|
||||
<title><?php
|
||||
if ( is_single() ) {
|
||||
single_post_title(); echo ' | '; bloginfo('name');
|
||||
@ -18,28 +17,18 @@
|
||||
wp_title(''); echo ' | '; bloginfo('name'); twentyten_the_page_number();
|
||||
}
|
||||
?></title>
|
||||
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
|
||||
<link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" />
|
||||
|
||||
<?php if ( preg_match( '/Apple.*Mobile.*Safari/i', $_SERVER['HTTP_USER_AGENT'] ) ) : ?>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/mobile-webkit.css" />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
||||
|
||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<div id="wrapper" class="hfeed">
|
||||
|
||||
<div id="header">
|
||||
<div id="masthead">
|
||||
|
||||
<div id="branding">
|
||||
<div id="site-title"><span><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div>
|
||||
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
|
||||
@ -56,7 +45,6 @@
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
|
||||
<?php wp_nav_menu( 'sort_column=menu_order' ); ?>
|
||||
</div><!-- #access -->
|
||||
|
||||
</div><!-- #masthead -->
|
||||
</div><!-- #header -->
|
||||
|
||||
|
@ -1,14 +0,0 @@
|
||||
/* Mobile Safari ( iPad, iPhone and iPod Touch )
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
pre {
|
||||
-webkit-text-size-adjust: 140%;
|
||||
}
|
||||
|
||||
code {
|
||||
-webkit-text-size-adjust: 160%;
|
||||
}
|
||||
|
||||
#access, .entry-meta, .entry-utility, .navigation, .widget-area {
|
||||
-webkit-text-size-adjust: 120%;
|
||||
}
|
@ -1178,3 +1178,24 @@ img#wpstats {
|
||||
display:block;
|
||||
margin: 0 auto 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Mobile Safari ( iPad, iPhone and iPod Touch )
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
pre {
|
||||
-webkit-text-size-adjust: 140%;
|
||||
}
|
||||
|
||||
code {
|
||||
-webkit-text-size-adjust: 160%;
|
||||
}
|
||||
|
||||
#access, .entry-meta, .entry-utility, .widget_search label, .navigation, .widget-area {
|
||||
-webkit-text-size-adjust: 120%;
|
||||
}
|
||||
|
||||
#site-description {
|
||||
-webkit-text-size-adjust: none;
|
||||
}
|
Loading…
Reference in New Issue
Block a user