summaryrefslogtreecommitdiff
path: root/data/styles
AgeCommit message (Collapse)Author
2024-01-16Drop MOBI support (#458)Marat Radchenko
Amazon is slowly killing it, it's just a question of time when it fully dies. References: * https://kdp.amazon.com/en_US/help/topic/GULSQMHU5MNH4EZM > Starting August 1, 2021, we will no longer support MOBI files for reflowable eBooks. Use EPUB, DOCX or KPF to publish new or update reflowable eBooks. * https://www.amazon.com/gp/help/customer/display.html?nodeId=G5WYD9SAF7PGXRNA > Beginning in late 2022, you'll no longer be able to send MOBI (.AZW, .MOBI) files to your Kindle library using Send to Kindle. This change won't affect any MOBI files already in your Kindle library. You can still read them with Kindle. MOBI is an older file format and won't support the newest Kindle features for documents. * https://www.reddit.com/r/kindle/comments/16rw6e3/amazon_announcement_about_mobi_support_timeline/ > We will end all Send to Kindle support for MOBI files by December 20, 2023. * https://www.mobileread.com/forums/showthread.php?t=336365 > Does anyone still have Kindle Previewer installer older than 3.49 that you could share? The reason I am looking for it is because newer versions no longer open .mobi files.
2024-01-13resolves #461 restore styling of `<strong>` and `<em>`Marat Radchenko
2024-01-07resolves #451 add initial support for `:pygments-linenums-mode: inline`Marat Radchenko
2024-01-07resolves #450 refactor `btn` styling to be more customizableMarat Radchenko
We're using the same technique as HTML5 converter. While it is advanced CSS, we already rely on the same stuff for many other elements.
2022-12-25resolves #405 add support for floating elementsMarat Radchenko
2022-12-20resolves #394 use prose font for verse blocksMarat Radchenko
2022-12-20restore lost colorMarat Radchenko
2022-12-20move CSS resetting to a separate fileMarat Radchenko
2022-12-19simplify shades of gray paletteMarat Radchenko
2022-12-19resolves #126 convert styles to SCSS (#433)Marat Radchenko
closes #114 closes #115 closes #127
2022-12-19see #152 change <pre> padding to fixed sizeMarat Radchenko
2022-10-31resolves #422 add user-select:none to conum (#427)Thomas Kratz
2020-10-19resolves #366 stop changing visited link colorMarat Radchenko
We no longer change normal link color (since 3697bd99a66293867edbc37cf6c2fbebf143893d), so for consistency (and fixing of night mode on iBooks) also do not touch visited links. If we ever decide again to colorize links, this will need to be handled somehow differently closes #367 followups 338
2020-10-18resolves #368 remove webkit-text-size-adjust to allow the font to be resized ↵Helma van der Linden
in Apple Books
2020-07-18resolves #338 rescale color palette to use darker shades of gray (#347)Marat Radchenko
This commit also removes Kindle-specific color adjustments so minor color changes are expected on Kindle
2020-07-09resolves #350 fix CSS selectors for valign-middleMarat Radchenko
2020-07-09resolves #350 add support for cell content alignment & column width (#351)Marat Radchenko
2020-07-02resolves #123 remove <b> from chapter subtitle (#345)Marat Radchenko
2020-07-01resolves #174 add support for inline TOC (#342)Marat Radchenko
2020-06-14Add darker font color recipe to kindle oasis too. (#337)Jean-Noël Avila
According to Wikipedia, Kindle Oasis has a definition of 1680 × 1264 pixels, 300 ppi. And according to #67, we can only detect the model of kindle by its definition. We just apply the same recipe as for PaperWhite here.
2020-03-12resolves #165 add support for `[horizontal]` definition list (#170)Garrett D'Amore
2020-03-04reformat CSS filesMarat Radchenko
2020-03-04resolves #152 fix Sony Reader crashMarat Radchenko
2020-02-06resolves #155 add support for Font Awesome Solid 5.12.0 (PR #290)Marat Radchenko
2020-01-24resolves #129 don't insert quotation marks around quotes (PR #130)Gambhiro
Co-authored-by: Marat Radchenko <marat@slonopotamus.org>
2018-02-16fix chapter header stylesDan Allen
- set border width to 1px so it displays on Kindle - reduce top padding (use same padding for top and bottom)
2018-02-16add display block to block images to enable center alignment properlyDan Allen
2018-02-16resolves #5 package inline imagesDan Allen
* enable catalog_assets option on documents in spine * read images from catalog (i.e., references) table * move call to add_content_images method inside add_content method * add svg to epub properties list if an inline SVG image is detected * set width of inline image to value of scaledwidth attribute, if specified * if scaledwidth attribute is not specified and image is an SVG, set value to 100% * add inline class to inline image elements * add max-width: 100% style to all images (not just figures) * group figure.image styles together in stylesheet
2018-02-16dark button text shadowDan Allen
2018-02-16tune styles for chapter headerDan Allen
- move bottom border to header - remove side padding from header - darken color of byline text
2018-02-15resolves #67 use darker colors on Kindle Paperwhite (PR #160)Dan Allen
- detect Kindle Paperwhite using kf8 + resolution media query - force darker colors on Kindle Paperwhite
2018-02-15resolves #96 invert colors in chapter header (PR #159)Dan Allen
- use dark text on white background - invert colors in default avatar
2017-08-03resolves #97 don't uppercase text in converter (leave it CSS) (PR #119)Gambhiro
2017-04-15fix page margins in CalibreDan Allen
2017-04-15force preformatted text to wrap in GitdenDan Allen
2017-04-15switch from word-wrap to standard overflow-wrap propertyDan Allen
2017-04-15loosen letter spacing in quote attribute contextDan Allen
2017-04-15adjust font size and margins on Gitden; force margins to be setDan Allen
2017-04-14fix style causing Aldiko to crashDan Allen
- if Aldiko sees vw units in any stylesheet (even one that isn't being applied), it crashes - switch from vw to % (which is a related unit)
2017-03-26reset @page for EPUB3 readers; add page margins in CalibreDan Allen
- reset @page in the EPUB3 stylesheet - add page margins for Calibre - add additional research notes to stylesheet
2017-03-26capitalize Gitden correctlyDan Allen
2017-03-20resolves #72 change admonition icons (PR #82)Daniel Sperl
- use lightbulb for tip - make pencil icon for note yellow - make exclamation point for important orange - align colors of other icons - reduce shadow behind icon
2017-03-19remove trailing whitespace in sourceDan Allen
2016-03-09resolves #69 implement embedded to handle AsciiDoc table cell contentDan Allen
- implement embedded handler to handle AsciiDoc table cell content - add styles to strip leading margin for AsciiDoc table cell content
2015-12-24code cleanups and comments in CSSDan Allen
2015-12-24don't explicitly enable hyphenationDan Allen
2015-12-24document word-wrap: break-word and alternativeDan Allen
2015-12-24use property word-wrap instead of word-breakDan Allen
2015-12-24disable hyphens in preformatted textDan Allen
2015-12-24remove charset declaration from CSSDan Allen