View Single Post
Old 09-30-2020, 08:49 AM   #33
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Mrs_Often View Post
However, I've also had a think, and there's of course two separate things:
- The header & footer heights
- The distance of the text between header/footer and the text.

I actually quite like the header & footer heights in reduced state (33% at the moment, though I might increase it slightly so the footer text doesn't touch the progress bar*). What I don't like is the distance of the text to the header/footer.

--> Would it be possible to make a padding patch or something to influence distance between the text and the top of the screen/header and the bottom of the screen/footer in (real and pretend) kepubs, preferably separately from each other?
Maybe this is too late ... I don't know whether you're aware but there are 2 Find/Replace options in nickel.yaml patch Custom new header/footer font to fine-tune the relative positions of:
- header caption and first line of page text
- footer caption and last line of page text
Spoiler:
Code:
        # 2b. All models (optional): Fine-tune footer position by adjusting margin-top value
        #     A negative margin-top (e.g -10px) moves the footer text slightly upwards
        #     further from the bottom bezel/progressbar, closer to the page content
        - Find:    "#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n  font-size: 14px;\n}"
          Replace: "#caption[newFooter=true] {\n  font-size: 14px; margin-top: 0px;}"
        
        # 2b. All models (optional): Fine-tune header position by adjusting margin-bottom value.
        #     A negative margin-bottom (e.g -10px) moves the header text slightly downwards
        #     further from the top bezel, closer to the page content
        - Find:    "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n  font-size: 14px;\n}"
          Replace: "#caption[newHeader=true] {\n  font-size: 14px; margin-bottom: 0px;}"


E.g. as outlined in the help notes, using a negative px-value for margin-top in the first of the above Find/Replaces will allow you to set the header/footer smaller in patch Reduce new header/footer height without the footer caption cutting into the progressbar along the bottom. See screenshots 3 & 4 in this post.
jackie_w is offline   Reply With Quote