diff --git a/src/_modules.scss b/src/_modules.scss index 564f3fe..617c250 100644 --- a/src/_modules.scss +++ b/src/_modules.scss @@ -185,24 +185,22 @@ display:none; /* Font */ -* { - font-family: -apple-system, BlinkMacSystemFont, sans-serif !important; - text-rendering: optimizeLegibility !important; - text-transform: none; -} +@import url('https://v1.fontapi.ir/css/SFProDisplay'); - -/* If you are having trouble with getting the San Francisco font to work on -your platform, you do not have the SF Pro Fonts installed - -Download those here: -https://github.com/blaisck/sfwin/tree/master/SFPro/OpenType */ -.platform-linux *, .platform-win *{ - font-family: "SF Pro Display", sans-serif !important; +.platform-osx * { + font-family: -apple-system, BlinkMacSystemFont, sans-serif !important; text-rendering: optimizeLegibility !important; text-transform: none; } + +.platform-linux *, .platform-win *{ +font-family: "SF Pro Display", sans-serif !important; +text-rendering: optimizeLegibility !important; +text-transform: none; +} + + /* Links */ :root { --text-link: var(--accent);