Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Edit `vertical-align` style for structured content hyperlinks | stephenmk | 2023-10-20 |
| | |||
* | fixed eslint, changed header to only use 2 spaces, added missing headers to test | Austin Siew | 2023-03-22 |
| | |||
* | Updated LICENSE to full license, added Yomitan 2023 to all license headers | Austin Siew | 2023-03-21 |
| | |||
* | Add new structured content features: lists and the HTML `lang` attribute (#2129) | Stephen Kraus | 2022-05-14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for structured content lists and `list-style-type` style A full list of supported style types is documented here: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type There's nothing in this code preventing a term bank from assigning, for example, a `list-style-type` style to a `div` element, but it doesn't seem like browsers will complain about things like that. * Add support for `lang` attribute in structured content Support added for the following node types: "ruby", "rt", "rp", "table", "thead", "tbody", "tfoot", "tr", "td", "th", "span", "div", "ol", "ul", "li", "a" I couldn't get it to work for the alt-hover text on "img" tags. Tests are included in the file "test/data/dictionaries/valid-dictionary/term_bank_1.json" * Add styles for structured content lists * Add override rules for new structured-content list styles see: https://github.com/FooSoft/yomichan/pull/2129 Co-authored-by: stephenmk <stephenmk@users.noreply.github.com> | ||
* | Structured content links (#2089) | toasted-nutbread | 2022-03-17 |
| | | | | | | | | | | | | | | | | | * Update CSS to JSON converter to generalize the remove-property comment * Fix navigation not being updated when _clearContent is run * Add structured content schema for link tags * Add test links * Add external-link icon * Pass Display instance to DisplayContentManager * Update structured content generation * Update link styles | ||
* | Update copyright date (#2062) | toasted-nutbread | 2022-02-02 |
| | | | | | | | * Update eslint settings * Update 2021 files * Update other files | ||
* | Update dictionary image link color (#1778) | toasted-nutbread | 2021-06-28 |
| | |||
* | Update CSS rules for images (#1777) | toasted-nutbread | 2021-06-28 |
| | |||
* | Structured content style json (#1771) | toasted-nutbread | 2021-06-27 |
| | | | | | | | | | | | | | * Install css * Remove unnecessary rule * Create CSS overrides file * Create script to generate CSS JSON file * Generate JSON * Add test | ||
* | Update structured content CSS styles (#1770) | toasted-nutbread | 2021-06-27 |
| | |||
* | Move structured content CSS into a separate file (#1769) | toasted-nutbread | 2021-06-27 |