Merge "Use Autonym font for language autonyms"

This commit is contained in:
jenkins-bot
2013-10-18 07:17:20 +00:00
committed by Gerrit Code Review
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' );