View Single Post
Old 09-25-2019, 07:40 AM   #1
lektor
Junior Member
lektor began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2019
Device: Kobo Forma
Different styles for landscape and portrait?

Hi, I am using and enjoying KoReader on my Kobo Forma and have tweaked many settings to get a great experience. There's just one thing on my wish list I haven't been able to figure out.

I like to switch between landscape and portrait frequently. I find one or the other more comfortable depending on how I'm sitting/lying, and sometimes I just like to switch to stop one position getting cramped.

I'd love to be able to automatically switch styles when I rotate, to either:
a) increase the margins on landscape, so the line-length stays similar to portrait, OR
b) decrease the font-size on landscape and take advantage of the two-column layout

Is it possible? I know how to do this in css using @media (orientation: landscape), but my attempts to do this through a styletweak css (or epub.css) have not been successful.
lektor is offline   Reply With Quote