move from tff to woff and fix IE8

This commit is contained in:
Morris Jobke 2014-06-04 10:57:49 +02:00
parent 0ec3f1dd2d
commit d1176f546a
7 changed files with 14 additions and 6 deletions

View File

@ -10,6 +10,11 @@ select {
height: 32px;
}
/* reset typeface for IE8 because OpenSans renders too small */
.ie body {
font-family: Frutiger, Calibri, 'Myriad Pro', Myriad, Arial, sans-serif;
}
.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); }
.lte8 .delete-icon:hover, .delete-icon:focus {
background-image: url('../img/actions/delete-hover.png');
@ -76,7 +81,7 @@ select {
/* IE8 isn't able to display transparent background. So it is specified using a gradient */
.ie8 #nojavascript {
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c320000', endColorstr='#4c320000'); /* IE */
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c320000', endColorstr='#4c320000');
}
/* IE8 doesn't have rounded corners, so the strengthify bar should be wider */
@ -84,3 +89,4 @@ select {
width: 271px;
left: 6px;
}

View File

@ -1,11 +1,13 @@
@font-face {
font-family: 'OpenSans';
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
src: url(../fonts/OpenSans-Regular.ttf);
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff');
}
@font-face {
font-family: 'OpenSans';
font-family: 'Open Sans';
font-style: normal;
font-weight: bold;
src: url(../fonts/OpenSans-Bold.ttf);
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.woff) format('woff');
}

View File

@ -19,7 +19,7 @@ body {
font-weight: normal;
font-size: .8em;
line-height: 1.6em;
font-family: 'OpenSans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
color: #000;
height: auto;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.