Reduced font size on OSX

This commit is contained in:
Eduard Urbach 2017-07-04 01:25:20 +02:00
parent 7bdf75cb3b
commit a23c9fa9a5
2 changed files with 4 additions and 5 deletions

View File

@ -66,7 +66,7 @@ export class AnimeNotifier {
run() {
// Add "osx" class on macs so we can set a proper font-size
if(navigator.platform.includes("Mac")) {
document.rootElement.classList.add("osx")
document.documentElement.classList.add("osx")
}
// Initiate the elements we need

View File

@ -3,6 +3,9 @@ html
font-family "Ubuntu", "Trebuchet MS", sans-serif
font-size 100%
.osx
font-size 95%
body
tab-size 4
overflow hidden
@ -11,10 +14,6 @@ body
background-color bg-color
font-size 1.05rem
.osx
body
font-size 1rem
a
color link-color
text-decoration none