RTL fixes for credits.php. Props BenChapman, rasheed. fixes #17602

git-svn-id: http://svn.automattic.com/wordpress/trunk@18116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-06-02 17:21:28 +00:00
parent e3906cf663
commit bc6a3ba8f8
1 changed files with 6 additions and 1 deletions

View File

@ -26,8 +26,13 @@ function _wp_credits_add_css() { ?>
<style type="text/css">
h3.wp-people-group, h3.wp-props-group { clear: both; }
ul.wp-people-group { margin-bottom: 50px; }
<?php if ( is_rtl() ) { ?>
li.wp-person { float: right; height: 100px; width: 240px; margin-left: 20px; }
li.wp-person img.gravatar { float: right; margin-left: 10px; margin-bottom: 10px; width: 60px; height: 60px }
<?php } else { ?>
li.wp-person { float: left; height: 100px; width: 240px; margin-right: 20px; }
li.wp-person img.gravatar { float: left; margin-right: 10px; margin-bottom: 10px; width: 60px; height: 60px }
<?php } ?>
li.wp-person a.web { font-size: 16px; text-decoration: none; }
</style>
<?php }
@ -137,4 +142,4 @@ __( 'Designer' );
__( 'XML-RPC Developer' );
__( 'Internationalization' );
?>
?>