View Single Post
Old 01-23-2019, 06:42 AM   #86
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 424
Karma: 3880485
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by jcn363 View Post
@Owl_
If you're still interested in list style, you can test this nickel patch.
Spoiler:

Code:
Main list definition:
  - Enabled: no
  - Description: |
      Your own list style.
  - FindZlib: "reader_head"
  - ReplaceZlib:
      Find:    ".text_body ul, \n.text_body ol \n{\n\tmargin: 1.5em 0px 2em 2em;\n}\n\
                .text_body li \n{\n\tmargin: 0px 0px 0.25em 0px;\n}\n\
                .text_body ul ul,\n.text_body ol ol \n{\n\tmargin: 0.75em 0 1em 2em;\n\tmin-width: 250px;\n}"
      Replace: ".text_body ul,.text_body ol{margin:1em 0em 1em 0em;}\n\
                .text_body li{margin:0em 0em 0.25em 0em;}\n\
                .text_body ul ul,.text_body ol ol{margin:0.5em 0em 0em 0em;min-width:250px;}"
or
Code:
Your own list styles:
  - Enabled: no
  - Description: |
      Your own list styles.
  - FindZlib: "reader_head"
  - ReplaceZlib:
      Find:    ".text_body ul, \n.text_body ol \n{\n\tmargin: 1.5em 0px 2em 2em;\n}\n\This's my dictionary
                .text_body li \n{\n\tmargin: 0px 0px 0.25em 0px;\n}\n\
                .text_body ul ul,\n.text_body ol ol \n{\n\tmargin: 0.75em 0 1em 2em;\n\tmin-width: 250px;\n}"
      Replace: ".text_body ul{margin:1em 0em 1em 0em;}\n\
                .text_body ol{margin:1em 0em 1em 0em;}\n\
                .text_body li{margin:0em 0em 0.25em 0em;}\n\
                .text_body ul ul{margin:0.5em 0em 0em 0em;min-width:250px;}\n\
                .text_body ol ol{margin:0.5em 0em 0em 0em;min-width:250px;}"

NOTE:
Set the margin for each side of an element (top, right, bottom, and left) into Replace.

Good luck.

EDIT:
Warning: Obviously, I didn't probe it on 4.4.9298 but I think this piece doesn't changed.

EDITē:
Read the next post.
I would run it on a 4.6.9995 . Can I paste it directly in the nikel file? Or must I change samething?

Could you write what I can paste?

many thanks
Owl_ is offline   Reply With Quote