Reduced font size on OSX
This commit is contained in:
parent
7bdf75cb3b
commit
a23c9fa9a5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user