WordPress.org

Make WordPress Core

Ticket #29664: Myanmar_Fonts.diff

File Myanmar_Fonts.diff, 2.2 KB (added by herzcthu, 5 years ago)

Add Myanmar Script supported fonts css

  • wp-admin/css/install.css

     
    266266        font-family: Arial, sans-serif;
    267267}
    268268
     269:lang(my-mm) body,
     270:lang(my-mm) textarea,
     271:lang(my-mm) input,
     272:lang(my-mm) submit {
     273        font-family: "Noto Sans Myanmar", "Myanmar Text", "Myanmar MN", Padauk, Tharlon, Tahoma, Arial, sans-serif;
     274}
     275
    269276@media only screen and (max-width: 799px) {
    270277        body {
    271278                margin-top: 115px;
  • wp-admin/css/l10n.css

     
    2121        font-weight: bold;
    2222}
    2323
     24/* my_MM: Add Myanmar Script supported fonts for various OS platforms. */
     25body.locale-my-mm,
     26body.locale-my-mm .press-this a.wp-switch-editor {
     27        font-family: "Noto Sans Myanmar", "Myanmar Text", "Myanmar MN", Padauk, Tharlon, Tahoma, Arial, sans-serif;
     28}
     29
    2430/* zh_CN: Remove italic properties. */
    2531.locale-zh-cn .howto,
    2632.locale-zh-cn .tablenav .displaying-num,
  • wp-includes/css/admin-bar.css

     
    2626        font-family: Arial, sans-serif;
    2727}
    2828
     29html:lang(my-mm) #wpadminbar *  {
     30        font-family: "Noto Sans Myanmar", "Myanmar Text", "Myanmar MN", Padauk, Tharlon, Tahoma, Arial, sans-serif;
     31}
     32
    2933#wpadminbar a.ab-item,
    3034#wpadminbar > #wp-toolbar span.ab-label,
    3135#wpadminbar > #wp-toolbar span.noticon {
  • wp-includes/functions.php

     
    25602560                        -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    25612561                        box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    25622562                }
    2563 
     2563                :lang(my-MM) {
     2564                        font-family: "Noto Sans Myanmar", "Myanmar Text", "Myanmar MN", Padauk, Tharlon, Tahoma, Arial, sans-serif;
     2565                }
    25642566                <?php if ( 'rtl' == $text_direction ) : ?>
    25652567                body { font-family: Tahoma, Arial; }
    25662568                <?php endif; ?>