diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-10 17:52:09 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-10 17:52:09 +0100 |
commit | dd153a562591d594609792bb7ac4eab8df8f7d21 (patch) | |
tree | 07a6b8a637d0e40caefa30e4ef17f25ed5725a58 /core/css/fonts.css | |
parent | b1731245ee8bca2db9f2786e9e79b497339a460b (diff) | |
parent | 83c177fc1b010aba12382a8ac66df9f9b7142b75 (diff) | |
download | nextcloud-server-dd153a562591d594609792bb7ac4eab8df8f7d21.tar.gz nextcloud-server-dd153a562591d594609792bb7ac4eab8df8f7d21.zip |
Merge pull request #20176 from owncloud/font-style
move font back from Light to Regular for body text, 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; |