[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font size in reader #422

Open
PetrusVermaak opened this issue Jan 23, 2019 · 4 comments
Open

Font size in reader #422

PetrusVermaak opened this issue Jan 23, 2019 · 4 comments

Comments

@PetrusVermaak
Copy link

Where do I go if I want to increase the font size in the online reader?

I have tried clicking on the aA on the top right but its still too small.

@Joduai
Copy link
Joduai commented Mar 27, 2019

@PetrusVermaak I am also struggling with unbrowse'able cops library using default templates.
The bootstrap theme is even worse, as it's completely unreadable on kindle readers.
I wasn't fond of @Jocala css fixes in #414 , and since I haven't found in webz any custom made template for cops I had to roll up my own sleeves.

The simplest way possible, working with all default styles is this:

  1. edit /templates/default/file.html
  2. scroll to bottom, and before ending </header> tag add below code:
<style media="screen" type="text/css">
body{zoom:150%;}
a {color:#000;}
.container section {font-size:150%;line-height:150%;}
.download a {display:inline-block;width: 100%;color:#000;border: 1px solid #000;background:#FFF;margin:0 0 3px 0;}
.download a[title*="Reader"] {display:block;}
.download a[title*="Open"],
.books {padding:10px 0;overflow: auto;}
.books .download a:nth-of-type(even) {display:none;}
footer {overflow:auto;}
footer,footer div {height:auto !important;}
footer a {display:block;padding:10px;font-size:150%;}
</style>

If you want to make only one subset of default template, add above styles in respective css file.

@PetrusVermaak
Copy link
Author

@Joduai, you're da man!!! Thank you so much! This is awesome!!

@Joduai
Copy link
Joduai commented Apr 1, 2019

@PetrusVermaak
Thanks 😊
I went further with all this mess, as I wanted to get a smooth looking and readable online library in all possible ways.
Could you check this one, and let me know?
https://github.com/Joduai/cops-kindle/tree/master

I tested this on voyage 1, so I can't assure it will be handled well on other generations.
Could you tell me what type of kindle reader do you have?

@PetrusVermaak
Copy link
Author

@Joduai, I use my smartphone and so does my wife, but it's similar to the kindle... Your source code allowed for bigger text so that's great!!!

Your code works perfect with our installation of cops. Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants