Make WordPress Core

Changeset 13566


Ignore:
Timestamp:
03/03/2010 12:38:00 AM (15 years ago)
Author:
iammattthomas
Message:

Moving mobile webkit styles to style.css; adjusting widget_search label and site-description sizes. See #12303

Location:
trunk/wp-content/themes/twentyten
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/header.php

    r13565 r13566  
    33<head>
    44    <meta charset="<?php bloginfo('charset'); ?>" />
    5 
    65    <title><?php
    76        if ( is_single() ) {
     
    1918        }
    2019    ?></title>
    21 
    2220    <link rel="profile" href="http://gmpg.org/xfn/11" />
    2321    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
    2422    <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" />
    25 
    26     <?php if ( preg_match( '/Apple.*Mobile.*Safari/i', $_SERVER['HTTP_USER_AGENT'] ) ) : ?>
    27         <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_directory'); ?>/mobile-webkit.css" />
    28     <?php endif; ?>
    29    
    3023    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    31 
    3224    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    33 
    3425    <?php wp_head(); ?>
    3526</head>
     
    3728<body <?php body_class(); ?>>
    3829<div id="wrapper" class="hfeed">
    39 
    4030    <div id="header">
    4131        <div id="masthead">
    42 
    4332            <div id="branding">
    4433                <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>
     
    5746                <?php wp_nav_menu( 'sort_column=menu_order' ); ?>
    5847            </div><!-- #access -->
    59 
    6048        </div><!-- #masthead -->
    6149    </div><!-- #header -->
  • trunk/wp-content/themes/twentyten/style.css

    r13558 r13566  
    11791179    margin: 0 auto 10px;
    11801180}
     1181
     1182
     1183
     1184/* Mobile Safari ( iPad, iPhone and iPod Touch )
     1185-------------------------------------------------------------- */
     1186
     1187pre {
     1188    -webkit-text-size-adjust: 140%;
     1189}
     1190
     1191code {
     1192    -webkit-text-size-adjust: 160%;
     1193}
     1194
     1195#access, .entry-meta, .entry-utility, .widget_search label, .navigation, .widget-area {
     1196    -webkit-text-size-adjust: 120%;
     1197}
     1198
     1199#site-description {
     1200    -webkit-text-size-adjust: none;
     1201}
Note: See TracChangeset for help on using the changeset viewer.