Merge pull request #113 from wikimedia/autonymfont

Autonym font
This commit is contained in:
Kartik Mistry
2013-10-17 21:42:48 -07:00
5 changed files with 14 additions and 1 deletions

BIN
css/font/Autonym.eot Normal file

Binary file not shown.

BIN
css/font/Autonym.ttf Normal file

Binary file not shown.

BIN
css/font/Autonym.woff Normal file

Binary file not shown.

View File

@@ -256,3 +256,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' );