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:
BIN
lib/jquery.uls/css/font/Autonym.eot
Normal file
BIN
lib/jquery.uls/css/font/Autonym.eot
Normal file
Binary file not shown.
BIN
lib/jquery.uls/css/font/Autonym.ttf
Normal file
BIN
lib/jquery.uls/css/font/Autonym.ttf
Normal file
Binary file not shown.
BIN
lib/jquery.uls/css/font/Autonym.woff
Normal file
BIN
lib/jquery.uls/css/font/Autonym.woff
Normal file
Binary file not shown.
@@ -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;
|
||||
}
|
||||
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user