Commit Graph

38 Commits

Author SHA1 Message Date
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
Nate Weaver 2a6d9994ea Move shared CSS into its own file 2020-04-19 18:38:33 -05:00
Maurice Parker a8d3872490 Merge branch 'master' into accent-color-experimental 2020-03-22 10:39:46 -05:00
Maurice Parker 2f3482d260 Remove border on nested tables. 2020-03-21 17:14:39 -05:00
Maurice Parker cc7887857a Fix block quote css bug. 2020-03-20 08:34:25 -05:00
Maurice Parker 1e1fce59da Use system accent color to tint the article view 2020-03-20 06:41:38 -05:00
Maurice Parker a0db54568e Pull in styles that made it into iOS, but were forgotten on Mac. 2020-03-19 07:51:46 -05:00
Maurice Parker 14c0c0b516 Add pre and table styles that didn't make it over with the other revisions. 2020-03-18 16:46:14 -05:00
Maurice Parker ca5d17358d Added darkmode blockquote color. 2020-03-17 00:11:10 -05:00
Maurice Parker 6dfda37773 Add styles that got added to iOS but were forgotten for macOS. 2020-03-16 18:34:34 -05:00
Maurice Parker 5b5eaf6bb7 Merge branch 'ios-release' 2020-03-14 17:13:25 -05:00
Nate Weaver 76dd3abff2 Properly style footnotes that have been absoluted 2020-03-12 18:32:42 -05:00
Maurice Parker b31c18a721 Reduce the article padding to 32px from 64px. Issue #1885 2020-03-12 12:54:11 -05:00
Maurice Parker 94c6ca428f Merge branch 'mac-release' 2020-03-01 16:32:31 -08:00
Maurice Parker dc20aa0e22
Merge pull request #1833 from Wevah/embedded-widget-fix
Embedded widget fix
2020-03-01 14:25:23 -08:00
Nate Weaver 82f8951c96 Don't force iframe height to auto
Prevents truncating of YouTube embeds without needing a wrapper div.
2020-02-28 08:24:42 -06:00
Nate Weaver bedaa75eb8 Set max-width to 44em (792px with an 18px font-size) 2020-02-28 07:47:19 -06:00
Nate Weaver 3635176d58 --table-border-color -> --table-cell-border-color; add Mac table styles 2020-01-20 21:59:40 -06:00
Phil Dokas d3ecb68708 Positions the footnote popover on top of other content 2020-01-17 13:41:12 -08:00
Maurice Parker 3c1668c178 Make Feedbin/Twitter video usable. Issue #718 2020-01-17 12:17:38 -07:00
Nate Weaver c66ed35799 Add WordPress specific emoji style 2019-12-06 00:31:37 -06:00
Phil Dokas 31c1dc40e3 Fix leading for super and subscript in the article view 2019-10-08 22:15:49 -07:00
Maurice Parker f7e235a1fb Remove padding from code blocks that was causing weird indentation 2019-10-07 11:05:22 -05:00
Maurice Parker 3d343eb91d Prevent pre tags from wrapping. Issue #1089 2019-10-03 18:27:48 -05:00
Andrew Brehaut f25c0e0b57 Original implementation was only aware of multimarkdown style footnote markup.
This commit includes support for DaringFireball style footnotes
2019-09-26 20:20:53 +12:00
Andrew Brehaut 0d99136961 544 Simple darkmode style for popovers 2019-09-23 20:38:46 +12:00
Andrew Brehaut 4c54d2c4ff 544 adds and positions the arrow on the popover bubble
An arrow element is now inserted into the dom to orient the bubble to the fnref
element that opened it. This is offset in the opposite direction to the bubble
if the bubble overhangs one side or the other.

Additionally, if both sides overhang then no positioning takes place. This
is the first step towards supporting more narrow windows and mobile clients.
2019-09-23 20:25:00 +12:00
Andrew Brehaut af5d510c80 #544 Better handling of the footnote reverse links
* Uses a stylesheet to hide the reverse link in the popover rather than monkeying around with the dom in JS
* Javascript event handler catches clicks on the reverse buttons in the footnote list at the bottom of the page
  and scrolls the document back to the source, rather than opening the document in a browser window.
2019-09-23 19:56:58 +12:00
Andrew Brehaut 5fea81971b #554 newsfoot.js and css are included in the page
These changes are the bare minimum required to get footnotes to appear and function on the article page.
 * The newsfoot.js script now wraps everything in an IIFE to prevent bleed to other scripts
 * Stylesheets are included in the main stylesheet, with the colors extracted out into separate selectors

Currently missing the arrow pointing to the footnote link, and no consideration exists for mobile presentation
beyond a max-width: 100vh on the footnote popover.
2019-09-22 14:06:51 +12:00
Ben Ubois cdf643c2a6 Make iFrames responsive. 2019-09-20 17:21:01 -07:00
Maurice Parker 1d7cbe5596 Fix super wide div's. Issue #1010 2019-09-16 18:12:56 -05:00
Brent Simmons 58c2fad2fd Stop blocking links containing the string “feedburner” — there are legitimate cases where that string appears. Fix #976. 2019-09-06 19:28:06 -07:00
Brian Warren ce3ec10c95 Enforcing automatic height for images in the template 2019-09-05 10:59:16 -07:00
Maurice Parker 7a8d23958b Restrict iframe width to be at most 100% 2019-09-04 17:41:58 -05:00
Thomas Pritchard d3ad4b52a3 Set a sensible line height for figure captions 2019-09-04 19:58:29 +01:00
Thomas Pritchard 5976923f23 Add figures to Mac detail stylesheet 2019-09-04 19:58:29 +01:00
Brent Simmons 62258683c8 Add Ryan’s word-wrap change to mac-candidate. 2019-08-13 20:07:42 -07:00
Brent Simmons 70312aa75c Major folder and project tree restructuring. 2019-04-13 16:18:54 -07:00