add roboto font

This commit is contained in:
Benedikt Rötsch
2017-09-29 13:35:00 +02:00
committed by Benedikt Rötsch
parent 19cf4d1c56
commit a3f526e7ea
17 changed files with 102 additions and 2 deletions

View File

@@ -450,6 +450,54 @@ template {
display: none;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-regular-webfont.woff2') format('woff2'),
url('/fonts/roboto-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-italic-webfont.woff2') format('woff2'),
url('/fonts/roboto-italic-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-bold-webfont.woff2') format('woff2'),
url('/fonts/roboto-bold-webfont.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-bolditalic-webfont.woff2') format('woff2'),
url('/fonts/roboto-bolditalic-webfont.woff') format('woff');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'robotomedium';
src: url('/fonts/roboto-medium-webfont.woff2') format('woff2'),
url('/fonts/roboto-medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'robotomedium';
src: url('/fonts/roboto-mediumitalic-webfont.woff2') format('woff2'),
url('/fonts/roboto-mediumitalic-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
margin-top: 0;
}
@@ -810,7 +858,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
body {
background-color: #fff;
color: #2a303a;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-family: 'roboto', Helvetica, sans-serif;
font-size: 16px;
font-size: 1rem;
line-height: 1.5em;