Commit Graph

72 Commits

Author SHA1 Message Date
2fd358f3ed feat(hls): add video quality preference () 2024-11-01 12:28:52 -04:00
3ff907d6c1 additional new colour tweaks () 2024-10-12 11:42:15 -04:00
db8b92ea55 Fix a whole bunch of styling bugs ()
* Fix a whole bunch of mobile styling bugs

* Make searchbox scroll fix only apply in mobile mode to prevent bug

* Remove the min-width requirement for the main column

This was meant to be removed already, this is what fixes posts having an odd right side gap before swapping to the mobile layout

* Make margins consistent between fixed and unfixed navbar settings

* Remove some empty space from deleted option

* Make mobile layout post width fix only apply in mobile mode to prevent bug

* Make sure some options only get applied to the elements that need them, also fix the margins on the settings page

* Move search comments option before it starts touching the sort options and wrapping the x amount of comments text

* Trigger the even further compacted layout a little earlier, right before text begins wrapping in odd ways

* In the extra small mobile layout make give up/downvote numbers enough room so they aren't clipping out of their box

* Fix https://github.com/redlib-org/redlib/issues/172

* Properly center search box instead of having it slightly skewed

* Undo word wrapping since it breaks the sorting options and the only other viable setting has an absolute conniption on Chrome for some reason

* Readd word wrapping and just force it to normal for the sorting section

* Make post flair line up with title

* Make post flair position consistent

* Make footer text properly horizontally centered in mobile mode and fix slight vertical misalignment issues

* Make feeds button appear in settings menu to keep navbar looking consistent

* Fix extra navbar padding on search page

* Reduce gap between navbar and content in mobile mode

* Reduce gap between navbar and content in mobile mode
2024-09-05 11:59:21 -04:00
c494fbec31 Insert noindex meta for ROBOTS_DISABLE_INDEXING () () 2024-09-03 19:44:04 -04:00
e6b9a2e426 Fix anchor tags scrolling to the wrong place when fixed navbar is enabled () 2024-04-07 10:52:59 -04:00
b0f985c687 Libreddit -> Redlib 2023-12-26 18:25:52 -05:00
902acb257d Merge remote-tracking branch 'origin/pull/176' 2023-12-26 15:47:12 -05:00
0eb5e18cef Merge remote-tracking branch 'origin/pull/536' 2023-12-26 15:20:21 -05:00
af6722c053 Move unimportant links to footer () 2023-03-08 22:14:43 -07:00
5e03d701e4 Revert "Move unimportant links to footer"
This reverts commit e3df3a9470.
2023-02-19 18:03:55 +00:00
e3df3a9470 Move unimportant links to footer 2023-02-19 18:00:56 +00:00
f544daf8c0 Replace snoo with r/ icon 2023-02-09 21:40:51 -08:00
089315f9bb v0.29.1 (fixes ) 2023-02-09 22:25:42 -07:00
fa68bf561b added leaving reddit dialog () 2023-02-08 00:24:06 -07:00
8be5fdee2d Implement instance info endpoint (JSON, YAML, TXT) ()
Co-authored-by: Daniel Valentine <daniel@vielle.ws>
Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2023-01-30 02:02:43 -07:00
bb5f2674d1 Merge branch 'master' into feature/fixed-navbar 2023-01-16 19:43:54 -08:00
eb9ef9f6d9 added leaving reddit dialog () 2023-01-12 01:46:56 -07:00
c83a4e0cc8 Landing page for NSFW content, SFW-only mode ()
Co-authored-by: Matt <matt@matthew.science>
Co-authored-by: Spike <19519553+spikecodes@users.noreply.github.com>
2023-01-03 02:39:45 -07:00
a49d399f72 Link to libreddit/libreddit and open in new tab
This sets the target of the "code" link to `_blank`, so that it will
open in a new tab in browsers. Because the GitHub page is a different
context from libreddit, and accessing the repository doesn't imply that
the user is finished browsing libreddit, this seemed reasonable. This
also changes the link from `spikecodes/libreddit` to
`libreddit/libreddit`.
2023-01-01 13:43:33 -05:00
d86cebf975 Request CSS with explicit version.
base.html will now request with a query parameter `v=` whose value is
the current version of Libreddit. This will cause the browser to request
the stylesheet for a specific version of Libreddit, bypassing the cache.
A new version of Libreddit will cause the browser to fetch a new
stylesheet.

Resolves . Credit is due to GitHub user @chloekek for offering this
solution in the following post:
        https://github.com/libreddit/libreddit/issues/622#issuecomment-1315961742
2022-11-23 14:43:36 -07:00
6c202a59b0 Make the fixed navbar optional
Adds another on/off preference (default: on, keeps same
behaviour) for the fixed navbar.
When off the navbar will not remain at the top of the
page when scrolling.
This is useful for small displays such as phones where
otherwise the navbar takes up a sizeable portion of
the viewport.
2022-06-18 22:53:30 +01:00
7aeabfc4bc Rewrite Reddit post links to Libreddit equivalents 2021-12-26 21:18:20 -08:00
85ae7c1f60 Fix indentation and formatting 2021-11-23 22:23:29 -08:00
0f7ba3c61d Add "open in reddit" button to all pages ()
* 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
c8805f1078 Add opensearch support 2021-04-06 01:23:14 +02:00
038fafa378 Remove unnecessary trailing slashes 2021-03-17 17:28:05 -07:00
10c73fad7f Switch favicon to ico 2021-02-26 12:04:11 -08:00
5d643277bc Geometric logo 2021-02-25 09:07:45 -08:00
e731cfbac4 Support post links without titles 2021-02-09 10:11:39 -08:00
ebbdd7185f Move from Actix Web to Tide ()
* Initial commit

* Port posts

* Pinpoint Tide Bug

* Revert testing

* Add basic sub support

* Unwrap nested routes

* Front page & sync templates

* Port remaining functions

* Log request errors

* Clean main and settings

* Handle /w/ requests

* Create template() util

* Reduce caching time to 30s

* Fix subscription redirects

* Handle frontpage sorting
2021-02-09 17:38:52 +00:00
956de50419 Change Libreddit PWA Theme Color 2021-02-01 16:26:35 -08:00
0742a33304 Update base.html 2021-02-01 20:32:57 +01:00
0a140a6ffc Merge branch 'master' of github.com:JPyke3/libreddit into master 2021-02-01 11:13:36 +01:00
e837d84105 Add Support for iOS "Add to Homescreen"
* Adds basic Manifest.json
 * Adds Meta Tags for iOS
 * Adds Meta Tags for Android
 * Adds Logo for Manifest.json
 * Adds iOS Logo for homescreen
2021-02-01 11:10:53 +01:00
f6d791ccd9 Style focus outline 2021-01-31 20:56:13 -08:00
9a1733ac99 Fix cog class 2021-01-31 13:49:55 -08:00
c32d62fbd5 Shrink links to icons on mobile 2021-01-31 13:22:11 -08:00
8cc01c58f3 Move the subs list into the navbar. 2021-01-31 09:52:18 +11:00
dc2030e6f3 Vertical list subscriptions. 2021-01-30 21:21:54 +11:00
ef5a1cd66e Rename block sub_list > subscriptions 2021-01-30 19:47:30 +11:00
11e4ff42ed Clean-up and more consistent styles. 2021-01-30 19:33:38 +11:00
75bbcefbec Display sub list from list in cookie.
Very basic sub list setup. Cookie must be manually added in devtools.
2021-01-30 16:00:55 +11:00
49a6168607 Improve CSP 2021-01-29 14:39:03 -08:00
f55ea5a353 Specify default headers for security 2021-01-28 21:53:10 -08:00
baf7272cfd Absolutly no jumping when images (fail to) load 2021-01-21 22:04:06 +01:00
a562395c26 Refactor system theme 2021-01-17 18:11:36 -08:00
72eaa685d0 Prevent "system" class from being added to body. 2021-01-18 11:25:39 +11:00
1d57e29d56 Add "system" theme to settings. 2021-01-18 10:44:51 +11:00
801216dfe9 Include code link on mobile 2021-01-17 13:24:44 -08:00
96607256fc Add Favicon 2021-01-12 20:18:20 -08:00