{"id":13595285,"url":"https://github.com/mattharrison/epub-css-starter-kit","last_synced_at":"2025-06-10T19:34:31.713Z","repository":{"id":44364883,"uuid":"2695840","full_name":"mattharrison/epub-css-starter-kit","owner":"mattharrison","description":"A css file that should work for most epub readers","archived":false,"fork":false,"pushed_at":"2015-10-31T15:12:05.000Z","size":194,"stargazers_count":242,"open_issues_count":1,"forks_count":43,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-01-19T12:54:19.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattharrison.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-02T15:27:52.000Z","updated_at":"2024-12-30T12:34:49.000Z","dependencies_parsed_at":"2022-08-24T14:49:41.036Z","dependency_job_id":null,"html_url":"https://github.com/mattharrison/epub-css-starter-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattharrison%2Fepub-css-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattharrison%2Fepub-css-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattharrison%2Fepub-css-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattharrison%2Fepub-css-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattharrison","download_url":"https://codeload.github.com/mattharrison/epub-css-starter-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243285624,"owners_count":20266849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:47.058Z","updated_at":"2025-03-12T20:15:01.806Z","avatar_url":"https://github.com/mattharrison.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"Epub CSS Starter Kit\n========================\n\nCreating epubs that work in multiple readers can be painful, like debugging web problems back \nin the glory days of ie6. Only this time there is no firebug.\n\nHere's a css file to help alleviate the pain.\n\nIf you find that it doesn't work on a particular reader, please file an issue containing the \nfollowing items:\n\n* Reader platform and version\n* Sample html\n* Sample css\n* Expected result\n\nSome issues are ereader bugs. Some are css bugs. Ideally the css will look \"good enough\" on \nmost devices. You can then take the css and tweak it for devices you want to focus on.\n\nFocus\n======\n\nWhat platform is the focus of this effort? Oddly enough, the .mobi format for Kindle, is the least \ncommon denominator that we want to get working. Given that it has 70% of the market, it makes sense \nto put the effort there. Every effort has been made so that epubs using this css will generate clean\nmobi's with kindlegen.\n\nThe other platforms of significance are nook and ibooks, in that order. Any other platform is icing \non the cake. Support for other platforms will be given provided they don't break the top 3 platforms.\nOtherwise it is suggested that these one off platforms be given custom css on top of the starter kit.\n\n\nExamples\n==============\n\n* `rst2epub \u003chttps://github.com/mattharrison/rst2epub2\u003e`_ uses this (there is a sample book to build there)\n* `Ebook Formatting: KF8, Mobi \u0026 EPUB \u003chttp://www.amazon.com/Ebook-Formatting-Mobi-EPUB-ebook/dp/B00BWQXHU6/ref=sr_1_2?ie=UTF8\u0026qid=1365027107\u0026sr=8-2\u003e`_ illustrates the CSS here and other intricacies of creating epubs/mobis\n\n\nTODO\n=====\n\nHow you can help\n\n* Matrix of supported HTML http://wiki.mobileread.com/wiki/Device_Compatibility\n* Matrix of supported eReaders\n* Try out the css or sample book and file bugs/patches\n\nResources\n==========\n* Demo epub at http://manual.calibre-ebook.com/conversion.html#epub-advanced-formatting-demo\n* http://www.paulsalvette.com/2011/08/epub-and-kindlegen-tutorial-ebook.html\n* http://wiki.mobileread.com/wiki/CSS_template\n* http://gbenthien.net/Kindle/index.html\n\nLicense\n==========\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattharrison%2Fepub-css-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattharrison%2Fepub-css-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattharrison%2Fepub-css-starter-kit/lists"}