Commit Graph

161 Commits

Author SHA1 Message Date
spikecodes 2878d9c799
Shrink and widen comment scores to fit better 2021-11-22 12:19:51 -08:00
spikecodes 9f8d36cb00
Prevent post previews from overflowing on Chromium 2021-11-22 08:40:36 -08:00
spikecodes 7220190811 Link subscriptions in settings to their respective feeds 2021-11-21 22:30:44 -08:00
mikupls 768820cd4c
Render markdown correctly in text post previews by using selftext_html. (#335)
* Render markdown correctly in text post previews by using selftext_html.

I was mistakenly under the impression that we somehow render markdown ourselves, but turns out we just take whatever HTML reddit gives us, and we also need to do this for text previews.

Use CSS to limit the size of the previews instead of truncating in the template.

Fix table CSS.

* Fix post_body padding and trim post_previews

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-21 23:17:52 +00:00
mikupls 5d9c320a7e
Format post and comment votes with a decimal place, like vanilla reddit does. (#324)
* Format post and comment votes with a decimal place, like vanilla reddit does.

Before this change, a vote count of 1999 was displayed as 1k, which is a pretty big gap. The displayed count also differed from what Reddit does. Now, the behaviour is consistent.

Added some tests for format_num.

* Provide more space for post scores

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-21 04:07:45 +00:00
Ruben Elshof f7de5285e4
Hide post preview in compact mode. (#329) 2021-11-21 02:05:37 +00:00
mikupls c2053524c7
Add text post previews. (#328)
* Add text post previews.

* Add mask gradient over post preview text

* Increase post title font weight for contrast

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-20 21:13:50 +00:00
mikupls 0f7ba3c61d
Add "open in reddit" button to all pages (#304)
* Pass the url parameter to all templates. Add a reddit_link to the navbar, which opens the current url on reddit.

* Add icon for reddit link

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-15 02:39:33 +00:00
George Roubos 567556711b
Update style.css (#282)
Add cursor pointer on hover of summary bar
2021-09-19 19:00:07 +00:00
spikecodes e571cc3b1e
Tweak styling of Dracula theme 2021-07-19 10:07:00 -07:00
spikecodes 345f8e7b80
Dampen title color of visited posts. Fixes #222 2021-07-18 14:53:08 -07:00
spikecodes ca3f6c0579
Fix #228 2021-05-28 12:01:20 -07:00
spikecodes d27bd782ce
Specify fallback fonts 2021-05-26 20:30:08 -07:00
spikecodes b9af6f47f3
Use Inter font 2021-05-19 16:09:08 -07:00
Adrian Lebioda 928907086c
HLS video playback (#182)
* HLS video playback

Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>

* Add LibreJS compliance

* Locally host hls.js

* Notification about HLS under videos that support it

Signed-off-by: Adrian Lebioda <adrianlebioda@gmail.com>

* Use .contains() instead of .find() == None

* Make list of preferences constant

* Change headers_keys from Vector into Array

* Fix incorrect detecting of # in paths

* Remove trailing-slash-appending if statement

* Change HLS notification styling

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-05-10 01:25:52 +00:00
curlpipe 9e4066658c
Added 2 new themes: violet & gold (#212)
* Added 2 new themes: violet & gold

* Increased contrast in Violet theme

* Changed accent colour on violet theme
2021-05-03 16:48:21 +00:00
Ben Smith 6f799b2617
Added laserwave theme (#210) 2021-04-30 16:26:49 +00:00
spikecodes b47cfd1ba5
Only scroll overflowing tables in Wikis 2021-04-16 14:47:42 -07:00
spikecodes 28ca3589ed
Add scrollbar to overflowing wikipages. Fixes #192 2021-04-15 15:56:48 -07:00
spikecodes b3e4b7bfae
Add user following functionality 2021-04-06 10:23:05 -07:00
The TwilightBlood 48c3a8c0d0
Added Dracula/Nord theme (#171)
* Added Dracula theme

* Updated accent and added Nord theme

* Updated accent and added Nord theme

* Added official foreground colors
2021-04-02 00:56:28 +00:00
spikecodes ab886d1e67
Fix #155 2021-03-20 13:03:05 -07:00
spikecodes 9b5176f7b9
Sub icons and truncated subscribers in search results 2021-03-18 21:32:54 -07:00
spikecodes e15c15c390
Fix author flairs not showing 2021-03-17 17:08:43 -07:00
spikecodes 4a51b7cfb0
Horizontally squish comments 2021-03-10 15:10:59 -08:00
spikecodes 686d61801f
Fix #110 2021-02-25 10:24:37 -08:00
spikecodes 55e9915bb0
Refactor post_body width 2021-02-24 11:28:26 -08:00
spikecodes 6d08f2dd24
Fix post body overflow on mobile 2021-02-24 09:31:58 -08:00
spikecodes 2f3315dcfc
Fixes #130 2021-02-22 12:56:23 -08:00
spikecodes 80fb3a5c18
Fix #110 2021-02-21 20:28:04 -08:00
spikecodes de38f7ef18
Fix post flairs 2021-02-21 10:11:17 -08:00
spikecodes bacb22f7f9
Fix post url indentation 2021-02-19 18:19:04 -08:00
spikecodes 14ecf3cf60
Edit indicator 2021-02-14 14:53:09 -08:00
spikecodes 0cb7031c36
Fix focus outline 2021-02-13 13:38:12 -08:00
robrobinbin 93cfc713c6
Generate URL to restore settings, including subscriptions. Closes #89 (#116)
* Start recursive comments

* Update comment.html

* Fix move error

* Comment improvements

* Fix merge

* Remove extra endif from post.html

* Fix post.html

* Restore setting from link

* Tweak settings page

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-13 20:55:23 +00:00
spikecodes f06320a4ae
Subscribe to multireddit button. Closes #104 2021-02-12 20:47:54 -08:00
robrobinbin 809be42e01
Add "View all comments" and "Show parent comments" buttons when viewing a single thread. Closes #65 (#115)
* Start recursive comments

* Update comment.html

* Fix move error

* Comment improvements

* Fix merge

* Remove extra endif from post.html

* Fix post.html

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-02-12 09:16:59 -08:00
spikecodes 58ca085521
Fix subscription list overflow 2021-02-11 09:18:32 -08:00
robrobinbin 7edca18f8d
Inline videos/gifs for card view (#107)
* Basic gallery support

* Inline videos for card view
2021-02-08 00:22:14 +00:00
robrobinbin cf45d53fdd
Basic gallery support (#103) 2021-02-06 20:05:11 +00:00
curlpipe 2a475d127a
Added black theme (#101) 2021-02-06 20:04:29 +00:00
robrobinbin 12a1b3f459
Update style.css 2021-02-03 22:01:46 +01:00
robin 653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
robrobinbin 6eae4bc47a
Update style.css 2021-02-02 21:23:51 +01:00
spikecodes 69941d9efd
Implement #88 2021-02-01 17:50:00 -08:00
robrobinbin f4f2d8a377
Update style.css 2021-02-01 21:02:38 +01:00
robrobinbin a9dd2e6f2c
Place noscript placeholder into grid 2021-02-01 20:43:32 +01:00
robrobinbin 7f320b3143
Update style.css 2021-02-01 20:27:56 +01:00
spikecodes f6d791ccd9
Style focus outline 2021-01-31 20:56:13 -08:00
spikecodes c32d62fbd5
Shrink links to icons on mobile 2021-01-31 13:22:11 -08:00