Commit Graph

171 Commits

Author SHA1 Message Date
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
Nate Weaver 755ca7998e Replace String.match() with RegExp.test(); it's slightly more efficient when we don't need the actual result 2020-11-20 11:30:32 -06:00
Nate Weaver 470b8514e4 Make regex case-insensitive 2020-11-20 11:28:59 -06:00
Nate Weaver a227d6124a Add vh/vw to the relative unit check; checking for digits isn't needed 2020-11-20 11:27:08 -06:00
Nate Weaver 6d7cc4d386 Constrain the height of iframes that are percent-sized relative to the document body to 50% of the viewport width 2020-11-20 11:22:07 -06:00
Nate Weaver 72ce1e3f00 Strip position from style attributes 2020-11-20 11:02:30 -06:00
Maurice Parker 90c5ad8351 Shorten the max external URL length so that it is less likely to wrap on the iPhone at the default size 2020-11-20 10:36:04 -06:00
Maurice Parker f00a0d17de Revise external link so that it now looks like part of the article header 2020-11-20 02:51:06 -06:00
Maurice Parker 6398c56511 Add external_url to article header if the article is a link-blog style article. Fixes #2569 2020-11-20 02:17:17 -06:00
Maurice Parker 948998382d Make article view text adjustable via the app preferences. Fixes #42 2020-11-03 17:08:56 -06:00
Maurice Parker fb592e192c Only pause video that has controls (and thus sound) 2020-10-30 19:16:15 -05:00
Maurice Parker f7d5cf4f58 Fix javascript syntax error 2020-10-30 17:25:25 -05:00
Maurice Parker 5338cd88fe Automatically loop and play Twitter animated gifs without video controls 2020-10-30 16:43:32 -05:00
Nate Weaver d680cbb43e Force our background-color on <body>
Some feeds, e.g. generated from newsletters, have internal <body> elements with background-colors that WebKit will move to the real <body>.
2020-10-19 12:03:40 -05:00
Nate Weaver 5dfb4dc369 Force tables with border="0" to have no border 2020-10-19 11:55:58 -05:00