Commit Graph

185 Commits

Author SHA1 Message Date
Nate Weaver
d34031a4f6 Fix footnote popovers overlapping nearby later footnote bubbles 2025-04-28 21:20:33 -07:00
Teddy Bradford
48fc3f4c6b Add top margin to figcaption
Currently there is no margin between `img` and `figcaption` inside `figure`.

This change adds a small margin so that the text has some breathing room.
2025-04-27 21:50:15 -07:00
Stuart Breckenridge
df2c126076 💄 Stops footnote links being inadvertently hidden
Stops `display: none` applying to `.newsfoot-footnote-popover a[href*='#fn’]`. This was indavertently hiding `<a>` elements where the href contains `#fn`…thus a link inside a footnote that links to another footnote was being hidden. Fixes #4485
2025-04-27 12:38:30 -07:00
Stuart Breckenridge
a9f33643f6 🩹 Fixes memory leaks caused by NSString usage 2025-04-27 12:19:51 -07:00
Brent Simmons
59c09187c4 Fix link style when displayed in a footnote popover. Fix #4564. 2025-04-26 10:49:03 -07:00
Brent Simmons
dccaa9c6f5 Add CSS for <u> item inside <a>. Fix double-underlines on 404 Media links — fix #4578. 2025-04-25 21:39:57 -07:00
Brent Simmons
2826913235 Add and use ArticleRenderingSpecialCases — the one special case is The Verge’s feed. This works around their bug. 2025-04-25 21:14:35 -07:00
Stuart Breckenridge
6407ff6966 💄 Modernises table view styling. 2025-01-12 20:44:42 -08:00
Brent Simmons
cc0058c975 Remove unwanted underline from footnotes (sup elements with a link). 2024-12-30 18:17:10 -08:00
Brent Simmons
1e344addf9 Style link text underlines rather than using border-bottom for link underlines. 2024-12-30 17:45:13 -08:00
Brent Simmons
453489bd47 Specify SF Mono Regular for code and pre blocks — fix an issue where it was choosing a too-heavy SF Mono. 2024-12-16 07:21:19 -08:00
Brent Simmons
38bb3d1326 Update default theme with changes from John Gruber. (Feed formerly known as DFAlt.) 2024-12-14 21:21:03 -08:00
Brent Simmons
6860637912 Restore showing link in status bar on hover. 2023-12-01 17:10:01 -08:00
Brent Simmons
279a99259e Use WKUserScript to inject scripts into the page. Use permalink as base URL. 2023-11-25 11:29:56 -08:00
Maurice Parker
6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Nate Weaver
246d80a859 Make sure elements inside <a> use the link color 2021-10-05 15:11:30 -05:00
Duncan Babbage
f6552e110d Replace raw with repaired links. Fixes #3103 2021-09-30 16:52:00 +13:00
Duncan Babbage
cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Maurice Parker
b43d8b6b28 Change reload so that the text size style can be used in more places. 2021-09-17 15:59:43 -05:00
Maurice Parker
48b2a5ca0f Extract as much HTML as possible from ArticleRenderer 2021-09-17 14:10:33 -05:00
Maurice Parker
ad9c059b8b Change how avatars are themed so that theme makers can control them 2021-09-16 17:11:16 -05:00
Maurice Parker
d8098ab2e9 Split stylesheet.css into two different stylesheets to separate things that should be customized from those that should. 2021-09-11 17:49:56 -05:00
Maurice Parker
b568f03edc Unify the stylesheets into a single one to make building themes easier 2021-09-08 04:58:26 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
e7a2dfefdd Change the name of the image source to reload to bypass WKWebView caching. 2021-09-07 12:29:23 -05:00
Maurice Parker
26410dc91e Remove dead CSS 2021-08-26 15:52:41 -05:00
Maurice Parker
707828a9ac Hide Daring Fireball's external link 2021-07-27 13:37:31 -05:00
Maurice Parker
26d27913ae Make external links span the full width of the article area 2021-07-21 17:01:57 -05:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Duncan Babbage
16a3a20156 Capture fully resolved footnote backlinks. Extends #3084 2021-04-29 19:57:08 +12:00
Duncan Babbage
e5a21cfee6 Handle footnote backlinks w/o css classes. Fixes #3084 2021-04-29 10:17:02 +12:00
Maurice Parker
458f918c4d Remove the autoplay attribute from videos if they have it. Fixes #2973 2021-04-08 09:08:19 -05:00
Jed Fox
634a3842c7 use semantic CSS names instead of left/right 2021-03-29 17:20:09 -04:00
Maurice Parker
ab5421f533 Merge branch 'mac-release' into main 2021-03-27 17:21:49 -05:00
Maurice Parker
fc697149c0 Merge pull request #2839 from j-f1/hr-styling
Add custom CSS for <hr> elements
2021-03-12 16:42:25 -06:00
Maurice Parker
3d3b1088c0 Merge pull request #2873 from j-f1/no-select
Make system messages unselectable
2021-03-12 11:33:38 -06:00
Jed Fox
0e5d4585ec Make system messages unselectable 2021-03-11 22:50:30 -05:00
Jed Fox
38827a8c2a Remove wp-smiley images 2021-03-11 22:47:34 -05:00
Andrew Brehaut
bd71b5d79a Update Shared/Article Rendering/newsfoot.js
Good catch thanks

Co-authored-by: Jed Fox <git@jedfox.com>
2021-03-10 18:45:07 -06:00
Andrew Brehaut
bffd341992 #2371 Checks footnote target before overriding browser default behavior 2021-03-10 18:44:53 -06:00
Andrew Brehaut
34f00b7780 Update Shared/Article Rendering/newsfoot.js
Good catch thanks

Co-authored-by: Jed Fox <git@jedfox.com>
2021-03-10 18:42:48 -06:00
Andrew Brehaut
97b783db38 #2371 Checks footnote target before overriding browser default behavior 2021-03-10 18:42:23 -06:00
Andrew Brehaut
b9ea58dc4f Update Shared/Article Rendering/newsfoot.js
Good catch thanks

Co-authored-by: Jed Fox <git@jedfox.com>
2021-03-11 10:54:25 +13:00
Andrew Brehaut
54064d7a30 #2371 Checks footnote target before overriding browser default behavior 2021-03-11 08:16:51 +13:00
Stuart Breckenridge
13dd1d1bb5 tweaks to pre/code css styles
Follows Apple’s example.

• `code` within normal text is sized to 1em
• `code` within `pre` is sized slightly smaller and the letter-spacing is tightened
2021-03-06 15:34:34 -06:00
Stuart Breckenridge
ab2bd9db26 tweaks to pre/code css styles
Follows Apple’s example.

• `code` within normal text is sized to 1em
• `code` within `pre` is sized slightly smaller and the letter-spacing is tightened
2021-03-06 10:45:58 +08:00
Jed Fox
da3136d4c1 Add custom CSS for <hr> elements 2021-02-26 21:09:40 -05:00
Brent Simmons
cbf8927ca3 Use Extra Large and Extra Extra Large for text size settings language. Fix #2638. 2020-12-18 19:36:55 -08:00
Maurice Parker
098141eb7f Remove unused stylesheet substitutions. 2020-12-08 19:43:53 -06:00
Maurice Parker
6ef29e3927 Update the text size using JavaScript so that the web page doesn't reload. Fixes #2641 2020-12-08 19:00:56 -06:00