Use Autonym font for language autonyms

Updates jquery.uls from upstream autonymfont branch

Also contains an example html page which can be used
for testing the font

Change-Id: Ia702ba1df91701df67160d973a0caaa72511c743
This commit is contained in:
Santhosh Thottingal
2013-09-18 12:20:05 -07:00
parent 4310647a56
commit 52ead2aa41
6 changed files with 967 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -258,3 +258,16 @@ div.uls-region {
.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;
}

View File

@@ -141,7 +141,7 @@
// Each column can have maximum 8 languages.
if ( $ul.length === 0 || $ul.find( 'li' ).length >= 8 || forceNew ) {
$ul = $( '<ul>' ).addClass( 'three columns end' );
$ul = $( '<ul>' ).addClass( 'three columns end autonym' );
if ( $rowDiv.length === 0 || $rowDiv.find( 'ul' ).length >= 4 ) {
$rowDiv = $( '<div>' ).addClass( 'row uls-language-block' );