Thread: Kobo Patcher
View Single Post
Old 08-26-2013, 12:01 AM   #82
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,544
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The way I've always interpreted the settings (but no I have not tried it myself) is that the replace_xxxx keyword takes 3 values
  • offset
  • old value
  • new value
So I read it as follows


At offset 1205FF4 replace the compressed data
Code:
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;
}
by the data
Code:
* {
   height: 5px;
   font-size: 1px;
   color: transparent;
}
The VERY big difference is that the original CSS contained different sections for different devices; the new CSS applies to ALL devices.
PeterT is offline   Reply With Quote