Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/84850
Change subject: [Experiment] Use Autonym font for language autonyms ...................................................................... [Experiment] Use Autonym font for language autonyms Updates jquery.uls from upstream autonymfont branch Change-Id: Ia702ba1df91701df67160d973a0caaa72511c743 --- M lib/jquery.uls/css/jquery.uls.css M lib/jquery.uls/src/jquery.uls.lcd.js 2 files changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector refs/changes/50/84850/1 diff --git a/lib/jquery.uls/css/jquery.uls.css b/lib/jquery.uls/css/jquery.uls.css index dd9a574..0ae3ea6 100644 --- a/lib/jquery.uls/css/jquery.uls.css +++ b/lib/jquery.uls/css/jquery.uls.css @@ -258,3 +258,15 @@ .uls-menu .search-input-block { position: relative; } + +@font-face { + font-family: 'Autonym'; + src: url('font/Autonym.eot'); + src: local('Autonym'), url('font/Autonym.woff') format('woff'), url('font/Autonym.ttf') format('truetype'); + font-style: normal; +} + +.autonym { + font-family: 'Autonym', sans-serif; + font-size: 1em; +} \ No newline at end of file diff --git a/lib/jquery.uls/src/jquery.uls.lcd.js b/lib/jquery.uls/src/jquery.uls.lcd.js index 87f79c2..0b614fe 100644 --- a/lib/jquery.uls/src/jquery.uls.lcd.js +++ b/lib/jquery.uls/src/jquery.uls.lcd.js @@ -98,6 +98,7 @@ $li = $( '<li>' ) .data( 'code', langCode ) + .addClass( 'autonym' ) .attr( { lang: langCode, dir: $.uls.data.getDir( langCode ) @@ -230,6 +231,7 @@ langName = $.uls.data.getAutonym( langCode ) || language || langCode; $li = $( '<li>' ) .data( 'code', langCode ) + .addClass( 'autonym' ) .attr( { lang: langCode, dir: $.uls.data.getDir( langCode ) -- To view, visit https://gerrit.wikimedia.org/r/84850 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia702ba1df91701df67160d973a0caaa72511c743 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits