Correct font data, better readability for small bold text

This commit is contained in:
Stefan Schlott 2013-09-08 18:57:17 +02:00
parent ed9ad913a6
commit d4307c711c
74 changed files with 3898 additions and 1108 deletions

View file

@ -1,22 +1,56 @@
@font-face {
font-family: 'TitilliumText';
src: url('/fonts/titilliumtext22l002-webfont.eot');
src: url('/fonts/titilliumtext22l002-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titilliumtext22l002-webfont.woff') format('woff'),
url('/fonts/titilliumtext22l002-webfont.ttf') format('truetype'),
url('/fonts/titilliumtext22l002-webfont.svg#TitilliumText22LLight') format('svg');
src: url('/fonts/titillium-light-webfont.eot');
src: url('/fonts/titillium-light-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titillium-light-webfont.woff') format('woff'),
url('/fonts/titillium-light-webfont.ttf') format('truetype'),
url('/fonts/titillium-light-webfont.svg#TitilliumText22LLight') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText';
src: url('/fonts/titilliumtext22l006-webfont.eot');
src: url('/fonts/titilliumtext22l006-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titilliumtext22l006-webfont.woff') format('woff'),
url('/fonts/titilliumtext22l006-webfont.ttf') format('truetype'),
url('/fonts/titilliumtext22l006-webfont.svg#TitilliumText22LXBold') format('svg');
font-weight: bold;
src: url('/fonts/titillium-regular-webfont.eot');
src: url('/fonts/titillium-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titillium-regular-webfont.woff') format('woff'),
url('/fonts/titillium-regular-webfont.ttf') format('truetype'),
url('/fonts/titillium-regular-webfont.svg#TitilliumText22Regular') format('svg');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText';
src: url('/fonts/titillium-semibold-webfont.eot');
src: url('/fonts/titillium-semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titillium-semibold-webfont.woff') format('woff'),
url('/fonts/titillium-semibold-webfont.ttf') format('truetype'),
url('/fonts/titillium-semibold-webfont.svg#TitilliumText22LSemibold') format('svg');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText';
src: url('/fonts/titillium-bold-webfont.eot');
src: url('/fonts/titillium-bold-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titillium-bold-webfont.woff') format('woff'),
url('/fonts/titillium-bold-webfont.ttf') format('truetype'),
url('/fonts/titillium-bold-webfont.svg#TitilliumText22LBold') format('svg');
//font-weight: 700;
font-weight: bold;
font-style: normal;
}
/*
@font-face {
font-family: 'TitilliumText';
src: url('/fonts/titillium-black-webfont.eot');
src: url('/fonts/titillium-black-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/titillium-black-webfont.woff') format('woff'),
url('/fonts/titillium-black-webfont.ttf') format('truetype'),
url('/fonts/titillium-black-webfont.svg#TitilliumText22LXBold') format('svg');
font-weight: 900;
font-style: normal;
}
*/

View file

@ -3,18 +3,28 @@ $mainPadding: 15px;
body {
background-image: url(/img/bg.png);
background-repeat: both;
font-weight: normal;
}
p {
margin-bottom: 5px;
}
strong {
font-weight: 600;
}
a {
font-weight: 500;
}
a:hover, a:focus {
text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
a {
font-weight: bold;
color: inherit;
}
a:hover, a:focus {
@ -22,9 +32,9 @@ h1,h2,h3,h4,h5,h6 {
}
}
h1,
h2,
h3 { line-height: $baseLineHeight * 1.5; }
h1,h2,h3 {
line-height: $baseLineHeight * 1.5;
}
h1 { font-size: $baseFontSize * 2; }
h2 { font-size: $baseFontSize * 1.5; }