View Single Post
Old 10-07-2018, 11:22 AM   #77
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
Example of "Footnotes and alike"

Quote:
Originally Posted by jcn363 View Post
Put into nickel.yaml file
Spoiler:
Code:
Footnotes and alike:
  - Enabled: no
  - Description: |
      Change footnotes and alike font-size
#        - Touch # Trilogy
#        - Touch2 # Pika
#        - Mini # Pixie
#        - AuraHD # Dragon
#        - Aura # Phoenix
#        - Aura2 # Star
#        - Glo # Kraken - uses the values of Phoenix
#        - H2O # Dahlia - uses the values of Dragon
#        - H2O2 # Snow
#        - GloHD # Alyssum
#        - ClaraHD # Nova
#        - AuraOne # Daylight
  - FindZlib:  "QWidget[small"
# Pop-up header (footnotes and alike)
  - ReplaceZlib:
      Find:    "HeaderMediumElidedLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 30px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 36px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumLabel[qApp_deviceIsDragon=true] {\n  font-size: 46px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumLabel[qApp_deviceIsNova=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumLabel[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n}"
      Replace: "HeaderMediumElidedLabel,HeaderMediumTouchLabel,HeaderMediumLabel{font-size:60px;}"
# Pop-up text (footnotes and alike)
  - ReplaceZlib:
      Find:    "RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
      Replace: "RegularTouchLabel{font-size:37px;}"

Good luck.
Here is an example how it looks like on Aura H2O Edition 2. I just activated the patch without any changes.
Attached Thumbnails
Click image for larger version

Name:	Footnotes-and-alike.png
Views:	409
Size:	323.0 KB
ID:	166782  

Last edited by Dirk-71; 10-07-2018 at 12:11 PM.
Dirk-71 is offline   Reply With Quote