Quote:
Originally Posted by Fallen33
Ok so after toying with this all morning I'm near giving up.
The first two dragon references make no changes at all, even with off the wall settings. 200/200/50. Oh and my chapter title will eventually disappear too.
The last two dragon references give me a syntax error when edited.
|
For version 7, you would want to comment out the first set of values which remove the footer by placing a # before the replace zlib = and uncomment the decrease footer example by removing the # in from the the replace zlib = (I've marked those in blue).
After you do this, the only values to modify are the values in the last segment marked in olive where the default footer values are set to height: 30px; and font-size: 25px;. This small section replaces the previous model specific coding.
As usual for easy reading, I've replaced the \n's with end of lines and the \t's with tab characters.
Code:
patch_name = `Custom reading footer style`
patch_enable = `yes`
# Disable footer example
# replace_zlib = 1205FF4, `ReadingFooter {
min-height: 70px;
max-height: 70px;
qproperty-footerMargin: 40;
}
ReadingFooter[deviceCodeName="kraken"],
ReadingFooter[deviceCodeName="phoenix"] {
min-height: 82px;
max-height: 82px;
qproperty-footerMargin: 110;
}
ReadingFooter[deviceCodeName="dragon"] {
min-height: 120px;
max-height: 120px;
qproperty-footerMargin: 20;
}
* {
font-size: 16px;
}
[deviceCodeName="kraken"],
[deviceCodeName="phoenix"] {
font-size: 20px;
}
[deviceCodeName="dragon"] {
font-size: 26px;
}
[localeName="ja_JP"] {
font-family: A-OTF Gothic MB101 Pr6N;
}`,
`* {
height: 5px;
font-size: 1px;
color: transparent;
}
`
# Decrease footer example
replace_zlib = 1205FF4, `ReadingFooter {
min-height: 70px;
max-height: 70px;
qproperty-footerMargin: 40;
}
ReadingFooter[deviceCodeName="kraken"],
ReadingFooter[deviceCodeName="phoenix"] {
min-height: 82px;
max-height: 82px;
qproperty-footerMargin: 110;
}
ReadingFooter[deviceCodeName="dragon"] {
min-height: 120px;
max-height: 120px;
qproperty-footerMargin: 20;
}
* {
font-size: 16px;
}
[deviceCodeName="kraken"],
[deviceCodeName="phoenix"] {
font-size: 20px;
}
[deviceCodeName="dragon"] {
font-size: 26px;
}
[localeName="ja_JP"] {
font-family: A-OTF Gothic MB101 Pr6N;
}`,
`* {
height: 30px;
font-size: 25px;
}
`
Regards,
David