diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-09 15:36:03 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-09 15:36:03 -0600 |
commit | 0c22a6696703225baabd6a4afaad5759745da8c5 (patch) | |
tree | ea82aebfb153fcae04f0338dc2ba4a7a28383c7b /core/css/fonts.scss | |
parent | f2cf85fad2f25caf293126ca1058fe3e9109c75f (diff) | |
download | nextcloud-server-0c22a6696703225baabd6a4afaad5759745da8c5.tar.gz nextcloud-server-0c22a6696703225baabd6a4afaad5759745da8c5.zip |
Add more styles to the server.scss
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/css/fonts.scss')
-rw-r--r-- | core/css/fonts.scss | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/core/css/fonts.scss b/core/css/fonts.scss new file mode 100644 index 00000000000..f72aa2930cf --- /dev/null +++ b/core/css/fonts.scss @@ -0,0 +1,23 @@ +/* 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'); +} |