Commit Graph

135 Commits

Author SHA1 Message Date
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
Maurice Parker 1cda2ac3be Discard the email address in the byline if it is a no reply. Issue #2351 2020-08-18 17:44:28 -05:00
Maurice Parker a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -05:00
Maurice Parker 58f6a3e179 Update the Twitter User layout 2020-08-13 11:27:21 -05:00
Maurice Parker c652486663 Change all 10.16 version checks to be 11.0 2020-08-10 11:43:18 -05:00
Maurice Parker 2ed0844efd Gate the font size style substitution 2020-08-03 10:45:29 -05:00
Maurice Parker 8e22c711bf Remove SWIFTUI compiler directive now that Xcode 12 is required for work on main 2020-08-03 10:14:45 -05:00
Nate Weaver fc2d5b7b28 Set max-width of <object> to 100% 2020-07-16 09:21:42 -05:00
Maurice Parker 206f0e7263 Add SWIFTUI compiler directive 2020-07-10 15:21:47 -05:00
Maurice Parker 0e3ee19e3a Made Article View match system accent color 2020-07-08 17:26:53 -05:00
Maurice Parker e1c8479515 Prevent Twitter embeds from cutting off. Issue #2166 2020-07-07 11:47:52 -05:00
Nate Weaver 014724e6a7 Don't force iframe height to auto
Prevents truncating of YouTube embeds without needing a wrapper div.

(master version of 82f8951c96).

This also sets max-width: 100%; on video instead of width: 100% !important;.
2020-07-02 04:45:08 -05:00
Nate Weaver dc57981376 Only wrap iframes that don't specify their own height
(master version of e183a5406c)
2020-07-02 04:32:58 -05:00
Maurice Parker 2ad01885c1 Increase link brightness for darkmode to make links more easy to read 2020-05-27 10:37:50 -05:00
Nate Weaver 6723599ea0 Strip inline max-width and max-height from elements 2020-05-20 16:36:30 -05:00
Nate Weaver f5101d44a4 Strip inline max-width and max-height from elements 2020-05-20 16:15:04 -05:00
Maurice Parker 80e9cdba5e Change H1 padding to take a little off the bottom 2020-05-09 11:35:10 -05:00
Maurice Parker 55cb4d5af8 Back out demo css change 2020-05-09 10:24:37 -05:00
Maurice Parker c16dbc125d Add support for pseudo subreddits 2020-05-09 10:23:37 -05:00
Nate Weaver c555646fb2 Add attributed title support in the timeline 2020-05-01 01:42:43 -05:00
Maurice Parker 86fb98c17b
Revert "WIP: Title tags" 2020-04-24 20:24:24 -05:00
Nate Weaver 3d509a94d4 Add attributed title support in the timeline 2020-04-24 16:20:40 -05:00
Maurice Parker ee92cf69d2 Merge branch 'extension-point' 2020-04-24 13:34:13 -05:00
Nate Weaver 37ae46ea4c Merge more styles and fix styling of tables with explicit thead/tbody/tfoot
Also use :matches() to simplify some rules.

# Conflicts:
#	Mac/MainWindow/Detail/styleSheet.css
#	iOS/Resources/styleSheet.css
2020-04-23 23:21:22 -05:00
Maurice Parker d0d29fd7da Merge branch 'master' into extension-point 2020-04-19 19:01:11 -05:00
Nate Weaver 2a6d9994ea Move shared CSS into its own file 2020-04-19 18:38:33 -05:00
Nate Weaver 183d703fd3 Use classList instead of string manipulation 2020-04-17 07:09:49 -05:00
Maurice Parker 5afda76134 Merge branch 'accent-color-experimental' 2020-04-16 13:35:12 -05:00