Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2011, 03:53 PM   #61
pollito pito
i warned you ...
pollito pito doesn't litterpollito pito doesn't litterpollito pito doesn't litter
 
pollito pito's Avatar
 
Posts: 54
Karma: 222
Join Date: Apr 2010
Device: none
if you want to have an image as background for the reader, you can try adding something like this
on your user stylesheet CSS (assuming you are on ms-windows)

Code:
body {
background-image:url("file:///C:/Program Files/Calibre2/resources/images/old_paper.png");
}
note the the use / .
pollito pito is offline   Reply With Quote
Old 03-05-2011, 01:56 AM   #62
andy8679
Junior Member
andy8679 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2011
Device: Droid X
I'm sorry but I am very new to Calibre. I have almost the same question as Darkspruce. I found a background of an old style paper that would make it a lot easier on my eyes to read on my laptop. But everything I try in the user stylesheet just keeps the background white. I saved the image to my computer as a .gif file. Can anyone please give me step-by-step info on how to do this, it would be greatly appreciated.
andy8679 is offline   Reply With Quote
Old 03-05-2011, 03:43 PM   #63
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 762
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
Quote:
Originally Posted by andy8679 View Post
I'm sorry but I am very new to Calibre. I have almost the same question as Darkspruce. I found a background of an old style paper that would make it a lot easier on my eyes to read on my laptop. But everything I try in the user stylesheet just keeps the background white. I saved the image to my computer as a .gif file. Can anyone please give me step-by-step info on how to do this, it would be greatly appreciated.
My first thought is a typo in the css, or the location of the file.

Can you copy and paste the full CSS you're using? Probably also good to know the format of the book you're trying to read.
Piper_ is offline   Reply With Quote
Old 03-05-2011, 04:26 PM   #64
pollito pito
i warned you ...
pollito pito doesn't litterpollito pito doesn't litterpollito pito doesn't litter
 
pollito pito's Avatar
 
Posts: 54
Karma: 222
Join Date: Apr 2010
Device: none
.


Could someone please, explain why this thread (it used to be Sticky) is now under Library Management?


As to the question:
Copy your image somewhere, let’s say on:
C:/Program Files/Calibre2/resources/images/old_paper.jpg
Assuming your image is called “old_paper.jpg”
Open an ebook; on the reader preferences paste the following :
body {
background-image:url("file:///C:/Program Files/Calibre2/resources/images/old_paper.png");
}
Close the preferences dialog.
Enjoy
pollito pito is offline   Reply With Quote
Old 03-05-2011, 04:50 PM   #65
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 762
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
Polito,
I agree that it would be a good sticky. I'll ask about it.

I moved it to Library Management, because that's where we decided to put posts about calibre's ebook viewer.

We've tinkered with the description a couple of times to make that more clear, but maybe "viewing" still isn't as obvious as it could be. It needs to be, since reading by itself doesn't intuitively fall under management.
Piper_ is offline   Reply With Quote
Old 03-05-2011, 05:20 PM   #66
pollito pito
i warned you ...
pollito pito doesn't litterpollito pito doesn't litterpollito pito doesn't litter
 
pollito pito's Avatar
 
Posts: 54
Karma: 222
Join Date: Apr 2010
Device: none
Quote:
Originally Posted by Piper_ View Post
Polito,
I agree that it would be a good sticky. I'll ask about it.

I moved it to Library Management, because that's where we decided to put posts about calibre's ebook viewer.

We've tinkered with the description a couple of times to make that more clear, but maybe "viewing" still isn't as obvious as it could be. It needs to be, since reading by itself doesn't intuitively fall under management.
Thanks. What would you think of a viewer sub forum?
pollito pito is offline   Reply With Quote
Old 03-05-2011, 05:50 PM   #67
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 762
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
Quote:
Originally Posted by pollito pito View Post
Thanks. What would you think of a viewer sub forum?
Well, it's important to keep the list of subforums as short as we can, so we're trying to make the most out of each one. If there started to be a huge increase in the number of threads about the viewer, it might be considered, but at this point, I expect there are other subtopics that would be ahead in the line.
Piper_ is offline   Reply With Quote
Old 03-11-2011, 09:17 AM   #68
darkspruce
Junior Member
darkspruce began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2011
Device: elonex 511eb
Please can you help me with this.I've never done programming and I found the css links very confusing.
I've tried to change the page as advised by pollito pito
body {
background-image:url("file:///C:/Program Files/Calibre2/resources/images/old_paper.png");
}
I pasted this:
body {
background-image:url("file:///C:/Users /white fang / / Downloads\Downloads\old_paper.png");
}
changed the file name to old_paper to try to keep it the same as the example but nothing changed in the ebook.
Thanks in anticipation.
darkspruce is offline   Reply With Quote
Old 03-11-2011, 09:38 AM   #69
darkspruce
Junior Member
darkspruce began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Feb 2011
Device: elonex 511eb
just figured it .
Polito's message should have jpg at the end not png

body {
background-image:url("file:///C:/Program Files/Calibre2/resources/images/old_paper.png");
}

this is good can have fun now!
darkspruce is offline   Reply With Quote
Old 04-07-2011, 05:46 PM   #70
OldSeaDog
Junior Member
OldSeaDog began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Location: Washington
Device: calibre
Book Font Color

Question:
If a book already defines the CSS font color, is there a way to override the book’s body definitions?
OldSeaDog is offline   Reply With Quote
Old 05-02-2011, 10:39 AM   #71
butterbescotch
Enthusiast
butterbescotch began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Mar 2011
Device: none
How do I find this "Click on the User Stylesheet tab"?

I can't see it in the preference option.
butterbescotch is offline   Reply With Quote
Old 05-02-2011, 10:59 AM   #72
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,096
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by butterbescotch View Post
How do I find this "Click on the User Stylesheet tab"?

I can't see it in the preference option.
What OS and Calibre version (just in case this matters) ?

The preference option is IN the viewer, not the regular Calibre preference.
The tab is the 3rd(last) one at the top
theducks is offline   Reply With Quote
Old 05-10-2011, 09:15 AM   #73
butterbescotch
Enthusiast
butterbescotch began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by theducks View Post
What OS and Calibre version (just in case this matters) ?

The preference option is IN the viewer, not the regular Calibre preference.
The tab is the 3rd(last) one at the top
Thanks for the reply!. Yay! No more Times New Roman.
butterbescotch is offline   Reply With Quote
Old 05-18-2011, 01:40 AM   #74
Stitchdog
Junior Member
Stitchdog began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2011
Device: Literati Color
Smile Many thanks

Quote:
Originally Posted by Ralob View Post
My personal CSS style is extremely basic, but it does exactly what I want- proper indentation for all paragraphs, adequate spacing between lines, background color that is easy on the eyes, and centered headings. Very basic but it does its job.

body {color:rgb(0,0,0);
background-color:rgb(174,174,174);
text-align:justify;
line-spacing:1.8;
margin-top:0px;
margin-bottom:4px;
margin-right:50px;
margin-left:50px;
text-indent:3em;}
h1, h2, h3, h4, h5, h6
{color:black;
text-align:center;
font-style:italic;
font-weight:bold;}
I am an old fart that reads as much as he can but the readers background is usually to bright. But thanks to this i can see what i am reading just fine. My wife took my Pandigital and i am left to read on my computer untill i find a replacement. Thanks again very much. To old and to dumb to write a program. like this.
Stitchdog is offline   Reply With Quote
Old 05-23-2011, 11:34 PM   #75
jamezb3
Junior Member
jamezb3 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2011
Device: Calibre
I use this one, I find it easy one the eyes.

Code:
body {
color: rgb(189,226,252);
background-color:rgb(80,80,80);
text-align:justify;
line-spacing:1.8;
margin-top:10px;
margin-bottom:4px;
margin-right:20px;
margin-left:20px;
text-indent:2em;
}
h1, h2, h3, h4, h5, h6 {
color:black;
text-align:center;
font-style:italic;
font-weight:bold;}
jamezb3 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom CSS for output deckoff Calibre 1 08-28-2010 11:55 PM
ePub with custom .css on a 505 dicknskip Sony Reader Dev Corner 3 06-09-2010 11:34 PM
User stylesheets for ePub files salty-horse Sony Reader Dev Corner 12 02-23-2010 07:44 AM
ePub conversion: override existing css with a custom one sbin Calibre 1 01-09-2010 04:03 AM
Calibre's generated css for epub brewt Calibre 7 12-29-2008 09:59 AM


All times are GMT -4. The time now is 03:04 AM.


MobileRead.com is a privately owned, operated and funded community.