Ticket #14799: back-link.patch

File back-link.patch, 1.2 KB (added by elfin, 3 years ago)
  • footer.php

     
    3434                                                title="<?php esc_attr_e('Semantic Personal Publishing Platform', 'twentyten'); ?>" rel="generator"> 
    3535                                        <?php printf( __('Proudly powered by %s.', 'twentyten'), 'WordPress' ); ?> 
    3636                                </a> 
     37                                <a id="back-link" href="#site-title" title="<?php esc_attr_e( 'Back to Top', 'twentyten' ); ?>"> 
     38                                        <?php _e( 'Back to Top <span class="meta-nav">&uarr;</span> ', 'twentyten' ); ?> 
     39                                </a><!-- #back-link --> 
    3740                        </div><!-- #site-generator --> 
    38  
     41                         
    3942                </div><!-- #colophon --> 
     43                 
     44                 
    4045        </div><!-- #footer --> 
    4146 
    4247</div><!-- #wrapper --> 
  • style.css

     
    188188        float: left; 
    189189        font-size: 14px; 
    190190        font-weight: bold; 
    191         width: 700px; 
     191        width: 600px; 
    192192} 
    193193#site-generator { 
    194194        float: right; 
    195         width: 220px; 
     195        width: 310px; 
    196196} 
    197197 
    198198 
     
    12131213        padding-left: 20px; 
    12141214        text-decoration: none; 
    12151215} 
     1216#site-generator a#back-link{ 
     1217        background:none; 
     1218} 
    12161219#site-generator a:hover { 
    12171220        text-decoration: underline; 
    12181221}