diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-10-30 04:47:00 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-11-10 16:12:42 +0100 |
commit | 83c177fc1b010aba12382a8ac66df9f9b7142b75 (patch) | |
tree | e39a177483a05fccf2755456c30736a7c070ab29 /core/css/fonts.css | |
parent | e4900c6c4c7f28261cceb7e6ddc30bce5bc87bd4 (diff) | |
download | nextcloud-server-83c177fc1b010aba12382a8ac66df9f9b7142b75.tar.gz nextcloud-server-83c177fc1b010aba12382a8ac66df9f9b7142b75.zip |
move font back from Light to Regular for body text on normal-res screens, fix #18954
Diffstat (limited to 'core/css/fonts.css')
-rw-r--r-- | core/css/fonts.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/css/fonts.css b/core/css/fonts.css index de2742c6368..2a894031e54 100644 --- a/core/css/fonts.css +++ b/core/css/fonts.css @@ -1,3 +1,13 @@ +/* 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; |