Index: trunk/extensions/Translate/Translate.css |
— | — | @@ -1,7 +1,13 @@ |
2 | 2 | .mw-translate-fuzzy { |
3 | 3 | background-color: #FDD; |
| 4 | +} |
| 5 | + |
| 6 | +.mw-translate-page-info { |
| 7 | + font-size: x-small; |
| 8 | + text-align: center; |
4 | 9 | direction: ltr; |
5 | 10 | } |
| 11 | + |
6 | 12 | .mw-translate-definition-preview { |
7 | 13 | font-family: monospace; |
8 | 14 | background-color: #F3F3FF; |
Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -498,7 +498,7 @@ |
499 | 499 | $url = $page->getTranslationUrl( $code ); |
500 | 500 | |
501 | 501 | // Output |
502 | | - $wrap = '<div style="font-size: x-small; text-align: center">$1</div>'; |
| 502 | + $wrap = '<div class="mw-translate-page-info">$1</div>'; |
503 | 503 | $wgOut->wrapWikiMsg( $wrap, array( 'tpt-translation-intro', $url, $titleText, $per ) ); |
504 | 504 | |
505 | 505 | if ( floor( $per ) < 100 ) { |
— | — | @@ -506,7 +506,7 @@ |
507 | 507 | $collection = $group->initCollection( $code ); |
508 | 508 | $collection->filter( 'fuzzy', false ); |
509 | 509 | if ( count( $collection ) ) { |
510 | | - $wrap = '<div style="font-size: x-small; text-align: center" class="mw-translate-fuzzy">$1</div>'; |
| 510 | + $wrap = '<div class="mw-translate-page-info mw-translate-fuzzy">$1</div>'; |
511 | 511 | $wgOut->wrapWikiMsg( $wrap, array( 'tpt-translation-intro-fuzzy' ) ); |
512 | 512 | } |
513 | 513 | } |