scss: fix source sans pro font name declaration (#29831)

This commit is contained in:
Frédéric Péters 2019-01-16 19:52:52 +01:00
parent 1967eeba6d
commit 9a41cde71e
4 changed files with 6 additions and 4 deletions

View File

@ -83,7 +83,8 @@ $subpages: transport-en-commun, velo-partage, parking, autopartage, scooters, to
}
// inner-text
span {
font-family: SourceSansPro-Regular;
font-family: "Source Sans Pro", sans-serif;
font-weight: normal;
font-size: calc(0.8vw + 0.8em);
line-height: 4em;
}

View File

@ -140,7 +140,8 @@ div.cell > div {
h2:first-child {
padding: 0;
font-size: 200%;
font-family: SourceSansPro-Regular;
font-family: "Source Sans Pro", sans-serif;
font-weight: normal;
}
}
&.linkcell {

View File

@ -1,7 +1,7 @@
$width: 1200px;
$mobile-limit: 800px;
$font-size: 16px;
$font-family: SourceSansPro-Regular, sans-serif;
$font-family: "Source Sans Pro", sans-serif;
$border-radius: 0;
$body-background: #F2F2F2;
$primary-color: #E42320;

View File

@ -2,7 +2,7 @@ $source-sans-pro-font-path: '../fonts/SourceSansPro' !default;
@mixin source-sans-pro-font($type, $weight, $style: normal) {
@font-face {
font-family: 'SourceSansPro-#{$type}';
font-family: 'Source Sans Pro';
src: url('#{$source-sans-pro-font-path}/SourceSansPro-#{$type}.otf') format('opentype');
font-weight: $weight;
font-style: $style;