Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2013, 04:57 PM   #16
Anak
Guru
Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.
 
Posts: 600
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
Maybe some one can mod the firmware as the "userStyle.css" probably refers to a specific directory (path). It doesn't really refer to the root directory as res:///userStyle.css might suggest.

Some questions:
  • Can some one dump the orignial Kobo (RMSDK) userStyle.css. here?
  • Try to replace the orginal userStyle.css with an @import rule that refers to a editable user defined stylesheet that is placed somewhere else on the reader? Something like: @import {url("res:///userModStyle.css") all}, where "userModStyle.css" is actually placed in the root dirctory of the Kobo device. (Or use another file name and/or directory)

Edit:
Quote:
Question:
How do I use the userStyle.css style sheet in order to change ePub properties?

Answer:
A good example to take a look at would be book2png. When the book2png sample is built, a folder named resources is created in its main directory. In there lies the userStyle.css file. The file is a regular style sheet file and can be modified in order to change the properties of the currently viewed ePub. The simplest way to try it out would be with the background-color:#b0c4de; property. This would change the background color to a light blue.

NOTE: for Android projects userSytle.css is located in project/assets/rmsdk/

[S-11411] (Source: Datalogics RMSDK)

Last edited by Anak; 04-07-2013 at 08:22 AM. Reason: Datalogics userStyle.css blog entry
Anak is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
user accessable userStyle.css please tselling PocketBook 14 02-25-2022 05:27 PM
Override ePub CSS with userStyle.css? barium Sony Reader Dev Corner 11 07-16-2011 03:25 PM
PRS-650 PRS 650 Firmware and userStyle.css mboyaci Sony Reader 29 01-21-2011 06:30 AM
userstyle.css and epub margins tselling Sony Reader Dev Corner 8 10-28-2010 01:51 PM
ADE mit userstyle css mtravellerh PocketBook 0 05-21-2010 03:40 PM


All times are GMT -4. The time now is 10:05 AM.


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