Commit Graph

162 Commits

Author SHA1 Message Date
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
Maurice Parker 4284ea26c8 Merge branch 'mac-release' into main 2020-10-18 16:37:00 -05:00
Brent Simmons f51f2ba7ac Fix color for non-link text in header. 2020-08-30 17:20:13 -07:00
Maurice C Parker a5fc1337ff Revert "Revert "Fix header color. Issue #2368""
This reverts commit 161194d375.
2020-08-21 20:09:21 -05:00
Maurice C Parker 161194d375 Revert "Fix header color. Issue #2368"
This reverts commit 15084f2a79.
2020-08-21 20:08:32 -05:00
Maurice Parker 15084f2a79 Fix header color. Issue #2368 2020-08-21 19:38:07 -05:00
Maurice Parker b0e7ae0324 Merge branch 'mac-candidate' into main 2020-08-19 21:03:55 -05:00
Maurice Parker b0b2ab04fc Make date line a lighter text color. Issue #2361 2020-08-19 15:44:40 -05:00
Maurice Parker f7fb859ea9 Make article source gray. Issue #2368 2020-08-19 12:48:20 -05:00
Maurice Parker bbd2dfad45 Change article accent color to be NNW blue. Issue #2367 2020-08-19 12:31:03 -05:00