Reduced font size on OSX
This commit is contained in:
parent
7bdf75cb3b
commit
a23c9fa9a5
@ -66,7 +66,7 @@ export class AnimeNotifier {
|
|||||||
run() {
|
run() {
|
||||||
// Add "osx" class on macs so we can set a proper font-size
|
// Add "osx" class on macs so we can set a proper font-size
|
||||||
if(navigator.platform.includes("Mac")) {
|
if(navigator.platform.includes("Mac")) {
|
||||||
document.rootElement.classList.add("osx")
|
document.documentElement.classList.add("osx")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initiate the elements we need
|
// Initiate the elements we need
|
||||||
|
@ -3,6 +3,9 @@ html
|
|||||||
font-family "Ubuntu", "Trebuchet MS", sans-serif
|
font-family "Ubuntu", "Trebuchet MS", sans-serif
|
||||||
font-size 100%
|
font-size 100%
|
||||||
|
|
||||||
|
.osx
|
||||||
|
font-size 95%
|
||||||
|
|
||||||
body
|
body
|
||||||
tab-size 4
|
tab-size 4
|
||||||
overflow hidden
|
overflow hidden
|
||||||
@ -11,10 +14,6 @@ body
|
|||||||
background-color bg-color
|
background-color bg-color
|
||||||
font-size 1.05rem
|
font-size 1.05rem
|
||||||
|
|
||||||
.osx
|
|
||||||
body
|
|
||||||
font-size 1rem
|
|
||||||
|
|
||||||
a
|
a
|
||||||
color link-color
|
color link-color
|
||||||
text-decoration none
|
text-decoration none
|
||||||
|
Loading…
Reference in New Issue
Block a user