summaryrefslogtreecommitdiff
path: root/data/styles/epub3.css
AgeCommit message (Collapse)Author
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-01resolves #174 add support for inline TOC (#342)Marat Radchenko
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 #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-15switch from word-wrap to standard overflow-wrap propertyDan Allen
2017-04-15loosen letter spacing in quote attribute contextDan Allen
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
2015-12-23remove link color hack for Gitden since its already coveredDan Allen
2015-12-22force left justification in listings (fix for Namo)Dan Allen
2015-12-22preserve heading & monospaced fonts in Kindle Paperwhite/VoyageDan Allen
- use !important to preserve font family of heading & monospaced fonts - allows user to safely customize font in Kindle Paperwhite/Voyage - add list-heading class to h3 over lists for easier styling - customize margin of list heading - consolidate styles
2015-12-22enforce use of monospace font for preformatted elementsDan Allen
2015-12-22resolves #56 use built-in font names for mobi7Dan Allen
2015-12-19don't allow button to wrapDan Allen
2015-12-16resolves #26 disable -webkit-hyphens to prevent Kindle for Mac from crashingDan Allen
2014-08-14don't put units on line-heightDan Allen
2014-05-07fix bibliography list styles, link border bottom colorDan Allen
2014-04-21add rule to disable kerning on first line of abstract for KindleDan Allen
2014-04-20update fonts & font script to remove corrupted cmap tablesDan Allen
- update font script to remove corrupted cmap tables in M+ fonts - regenerate fonts - switch to numeric weights when using M+ 1p fonts - tweak kerning settings and commentary
2014-04-20subset fonts by script (e.g., alphabet)Dan Allen
- rewrite font generation script to subset font by script - document scripts attribute - move font-face declarations to separate CSS file - update font-face declarations to reflect scripts selection - only add fonts that are declared in stylesheet - fix EPUB3 validation error with use of inline styles - don't use bold in sidebar heading - set font scaling on Namo Pubtree - update worklog and comments
2014-04-19fix fonts & font-based icons in pubtree viewer; add icon transformationsDan Allen
2014-04-18font improvementsDan Allen
- regenerate Noto Serif fonts from upstream - add script to generate optimized subset of Noto Serif fonts - enable kerning in a standard way except on Kindle - fix link color in abstract in WebKit - prevent iBooks from hyphenating the chapter title - update WORKLOG
2014-04-17font rendering fixesDan Allen
- change word joiner from U+2060 to more widely-supported U+FEFF - use CSS padding instead of narrow space around UI button label - add FontAwesome chervon between items in UI menu using CSS - additional comments
2014-04-16recreate Noto Serif fonts with wider subset of code pointsDan Allen