Moved visit link from menu to header, adjusted CSS to match and to also handle overflow better.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-09-14 10:17:12 +00:00
parent d4e180f075
commit 5f3b088368
3 changed files with 6 additions and 4 deletions

View File

@ -120,7 +120,7 @@ window.onload = blurry;
<body> <body>
<div id="wphead"> <div id="wphead">
<h1><?php echo wptexturize(get_settings(('blogname'))); ?></h1> <h1><?php echo wptexturize(get_settings(('blogname'))); ?> <span>(<a href="<?php echo get_settings('home') . '/' . get_settings('blogfilename'); ?>"><?php _e('View site') ?> &raquo;</a>)</span></h1>
</div> </div>
<?php <?php

View File

@ -62,7 +62,6 @@ get_settings('use_fileupload') &&
} }
?> ?>
<li><a href="<?php echo get_settings('home') . '/' . get_settings('blogfilename'); ?>" title="<?php _e('View your site') ?>"><?php _e('View site') ?> &raquo;</a></li>
<li class="last"><a href="<?php echo get_settings('siteurl') <li class="last"><a href="<?php echo get_settings('siteurl')
?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php printf(__('Logout (%s)'), $user_nickname) ?></a></li> ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php printf(__('Logout (%s)'), $user_nickname) ?></a></li>
</ul> </ul>

View File

@ -438,16 +438,19 @@ textarea, input, select {
#wphead { #wphead {
background: url(../wp-images/header-shadow.png) #f2f2f2 repeat-x bottom; background: url(../wp-images/header-shadow.png) #f2f2f2 repeat-x bottom;
padding: 4px 0 0 5px; padding: 1px 5px 11px;
} }
#wphead h1 { #wphead h1 {
font-size: 2.5em; font-size: 2.5em;
font-weight: normal; font-weight: normal;
height: 1.5em;
margin: 0; margin: 0;
} }
#wphead h1 span {
font-size: .4em;
}
/* keep labels and their form controls together: */ /* keep labels and their form controls together: */
label { label {
white-space: nowrap; white-space: nowrap;