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

git-svn-id: https://develop.svn.wordpress.org/trunk@18116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-06-02 17:21:28 +00:00
parent 7a36f76c8f
commit 52b2ca8189
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' );
?>
?>