Browse Source

Load proper fonts in guest.css

Fixes #4676

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v12.0.0beta2
Roeland Jago Douma 7 years ago
parent
commit
1a8befa447
No account linked to committer's email address
1 changed files with 24 additions and 0 deletions
  1. 24
    0
      core/css/guest.css

+ 24
- 0
core/css/guest.css View File

@@ -637,3 +637,27 @@ footer,
height: 1px;
overflow: hidden;
}

/* for low-res screens, use Regular font-weight instead of Light */
@media (-webkit-max-device-pixel-ratio: 1.3), (max-resolution: 124.8dpi) {
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
src: local('Open Sans'), local('OpenSans'), url('../fonts/OpenSans-Regular.woff') format('woff');
}
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url('../fonts/OpenSans-Light.woff') format('woff');
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url('../fonts/OpenSans-Semibold.woff') format('woff');
}

Loading…
Cancel
Save