View Single Post
Old 02-19-2015, 03:13 PM   #5
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by JSWolf View Post
The custom reading footer style, can we still get the text very close to the footer for RMDSK?
Yes, but I haven't yet found out how to add padding between the bezel and footer, or how to change the font size used for the page numbers.

Below is the first replacement string in the Custom reading footer style patch, I've highlighted the footer heights in red: Change the 24px values for Touch/Mini; the 30px values for Glo/Aura; and the 40px values for AuraHD/H2O.

replace_string = 0000, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 105;\n}\n\nReadingFooter[qApp_deviceIsPhoenix="true"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n}\n\nReadingFooter[qApp_deviceIsDragon="true"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 170;\n}`, `ReadingFooter {\n\tmin-height: 24px;\n\tmax-height: 24px;\n\tqproperty-footerMargin: 105;\n}\n\nReadingFooter[qApp_deviceIsPhoenix="true"] {\n\tmin-height: 30px;\n\tmax-height: 30px;\n}\n\nReadingFooter[qApp_deviceIsDragon="true"] {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 170;\n}`

Edit: Below is the second replacement string that affects the reading footer style. Font sizes can be changed (highlighted in red: Touch/Mini = 16px; Glo/Aura = = 20px; AuraHD/H2O = 26px; Alyssum = 30px; ) but problems arise when I try to add padding:

Replace_string = 0000, `#caption {\n\tfont-size: 16px;\n}\n\n#caption[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 20px;\n}\n\n#caption[qApp_deviceIsDragon="true"] {\n\tfont-size: 26px;\n}\n\n#caption[qApp_deviceIsAlyssum="true"] {\n\tfont-size: 30px;\n}\n\n#caption[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `#caption {\n\tfont-size: 16px;\n}\n\n#caption[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 20px;\n}\n\n#caption[qApp_deviceIsDragon="true"] {\n\tfont-size: 26px;\n}\n\n#caption[qApp_deviceIsAlyssum="true"] {\n\tfont-size: 30px;\n}\n\n#caption[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`

Last edited by GeoffR; 02-19-2015 at 10:00 PM. Reason: Added replacement string for font sizes
GeoffR is offline   Reply With Quote