Better font size for macs

This commit is contained in:
Eduard Urbach 2017-07-04 01:16:43 +02:00
parent 1ab503fc5c
commit e2772bc2e4
2 changed files with 8 additions and 2 deletions

View File

@ -45,6 +45,11 @@ export class AnimeNotifier {
window.addEventListener("popstate", this.onPopState.bind(this))
this.requestIdleCallback(this.onIdle.bind(this))
// Add "osx" class on macs so we can set a proper font-size
if(navigator.platform.includes("Mac")) {
document.rootElement.classList.add("osx")
}
}
requestIdleCallback(func: Function) {

View File

@ -9,10 +9,11 @@ body
height 100%
color text-color
background-color bg-color
font-size 1.05rem
> 1400px
.osx
body
font-size 105%
font-size 1rem
a
color link-color