Several websites/blogs use a rather small font, which when read from a mobile phone browser, result in something reaally tiny.
Is there some way to convince the SFOS browser to set a minimum font size?
Sure, it’s possible to zoom the page, but then the text overflow the screen margins.
1 Like
In general, there’s about:config
where you can configure some font size preferences.
And then there’s <mozilla_profile_dir>/chrome/userContent.css
where you can put CSS overrides either in globally, or per-site.
In recent SFOS versions, mozilla_profile_dir is ~/.local/share/org.sailfishos/browser/.mozilla
, previous versions use other locations.
For example, you could do something like this in userContent.css
:
@-moz-document domain("build.merproject.org"), domain("build.sailfishos.org") {
@media (orientation: portrait) {
body font-size-adjust: 200%;
div font-size-adjust: 200%;
}
@media (orientation: landscape) {
body font-size-adjust: 200%;
div font-size-adjust: 200%;
}
}
3 Likes