285 Commits

Author SHA1 Message Date
Efficientwrite
cb7e36c935 Fix table layout 2025-08-16 19:02:03 +05:30
Austin Huang
bdc84235c1 fix: avoid redirecting to undefined instance
Since there's an onion instance in the list without a `url` value, occasionally the redirect gives `undefined` as instance domain. This avoids it for clearnet users.

For users on an onion domain this will return only onion instances, though this might not be the most appropriate choice right now given that there is only one onion instance...
2025-07-20 19:28:25 -04:00
nune
7193b6c9ac Update check_update.js 2025-07-01 07:44:47 -04:00
ryanshanz
dbdc4fc2a3 fix: Copy and Import button layouts (#402) 2025-03-31 00:33:39 -04:00
Matthew Esposito
526c0d0797 fix: opensearch.xml route 2025-03-07 17:08:27 -05:00
Matthew Esposito
ebc682da2d chore: update error page 2025-02-08 16:59:32 -05:00
Matthew Esposito
2e95e1fc6e feat: smaller imports and exports (#373)
* feat: smaller imports and exports

* test(prefs): extend tests

* style(clippy)

* style: bubble up error

* style: update some wording
2025-02-06 20:34:12 -05:00
LucifersCircle
7d3160c149 style(theme): add MidnightPurple (#346)
* Create midnightPurple.css

a pure black theme with midnight purple accent

* Update midnightPurple.css

changed the purple accent to a lighter lavender
2025-02-06 16:45:39 -05:00
freedit-dev
7770c57856 fix Code blocks err #227 (#323)
* fix Code blocks https://github.com/redlib-org/redlib/issues/227

* add pulldown-cmark

* add pulldown-cmark

* fix Code blocks err #227

* add pre style for post codeblock

* Update style.css (fix Code blocks err #227 )

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2025-02-03 00:58:14 -05:00
Matthew Esposito
d3ba5f3efb feat(error): add new instance buttom 2024-11-19 16:30:37 -05:00
Matthew Esposito
62717ef6b2 fix: update error template 2024-11-14 11:49:47 -05:00
Matthew Esposito
f03bdcf472 feat: display whether or not the instance is up to date on error (#310) 2024-11-01 18:16:25 -04:00
Matthew Esposito
2fd358f3ed feat(hls): add video quality preference (#306) 2024-11-01 12:28:52 -04:00
DokterKaj
3ff907d6c1 additional new colour tweaks (#285) 2024-10-12 11:42:15 -04:00
DokterKaj
7dda8d9bbb use better accent colour + add libreddit styles (#281)
* update favicon with new logo

* only have 32x32 .ico file

* use #d74253 as new accent colour + add old libreddit styles + bolden accented buttons

* fix unrenamed libreddit themes
2024-10-10 18:45:39 -04:00
DokterKaj
b99412b4a1 feat: update logos and accents (#280)
* feat: update logos, accents

* fix apple-touch-icon.png size

* remove width, length

---------

Co-authored-by: DokterKaj <dokterkaj@gmail.com>
2024-10-06 15:19:37 -04:00
Butter Cat
fe4fed0504 Make jump to comment work from user's page and make last <p> in the post and comment bodies get the margin above it like the others (#219)
* Make last <p> in post body get padding above it

* When going to a comment from a user's page jump to it on page load
2024-09-27 00:44:32 -04:00
Butter Cat
2991813c2d Make poll results appear inside of a post (#218) 2024-09-21 00:02:34 -04:00
Pim
7a0ea1fbd3 fix: spoiler hover and video size (#196)
* fix: unblur both media as body when hoevering over either one

* fix: set min size for video

when the video is not loaded, the size is determined by the poster image. But when the poster image returns a 404, then the video had a size of 0x0

* chore: tab/space
2024-09-05 11:59:43 -04:00
Butter Cat
db8b92ea55 Fix a whole bunch of styling bugs (#193)
* 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
Butter Cat
3677ca10e2 Fix sort options overflow on small screens (#192) 2024-07-25 20:26:27 -04:00
Butter Cat
21fd34710c Fix font sizes in search bar being incorrect (#190) 2024-07-24 19:56:06 -04:00
Matthew Esposito
374238abc3 Add RSS feeds (fix #57) (#90)
* Add RSS feeds

* feat(rss): feature-ify rss

* feat(rss): config-ify rss

* fix(rss): update info page

* feat(rss): conditionally add RSS feeds to user and sub pages

* feat(rss): implement URLs for RSS
2024-07-21 14:09:34 -04:00
Pim
9bdb5c8966 feat: also blur text in post body for spoilers (#186)
chore: simplify blur classes
2024-07-21 10:22:40 -04:00
syeopite
410872d988 Make search bar responsive on mobile devices (#178)
* Search: Apply bg on elements rather than container

This changes allows moving the individual elements that composes
the search bar around without losing the background on the elements.

* Update search widget semantic structure

* Make search bar design responsive on small screens

* Fix border color

* Polish
2024-07-17 21:28:50 -04:00
syeopite
c890e809b7 Improve post information widget of user comments for devices under 480px width (#183)
* Fix user comment post link disappearing when < 480px

* Improve user comment metadata design for mobile

* Remove formerly unused CSS class style

The prior commit introduced the usage of the `comment_subreddit` class
to identify the subreddit that the reddit user posted the comment on.

However, this class came with a legacy style within the CSS file that was
previously not used anywhere within the current day Redlib

As such this style has been removed.
2024-07-17 21:27:13 -04:00
Pim
8a917fcde3 feat: add download button on image/gif/video posts (#173)
* feat: add download button on image/gif/video posts

* chore: fix formatting

* chore: dont create reference
2024-07-04 21:32:12 -04:00
Pim
366bc17f97 feat: show post link title for comments on user page (#169) 2024-07-01 17:15:50 -04:00
pimlie
1d44bd180e feat: add spoiler badge to post title 2024-06-22 12:38:13 +02:00
Sangeeth Sudheer
7fa37e48d5 Add font-weight range in @font-face rule
This makes Safari render the bold weights correctly which otherwise
looks wrong.
2024-06-11 21:16:44 +05:30
Matthew Esposito
e597ed8f06 Merge pull request #87 from ButteredCats/fix_post_footer_text
Stop post footer text from disappearing when screen is exactly 480px wide
2024-05-29 18:49:15 -04:00
Matthew Esposito
26aa374bbd Merge pull request #114 from ufUNnxagpM/main
feat: add icebergDark theme
2024-05-29 18:47:19 -04:00
backfire-monism-net
93594fc642 feat: add icebergDark theme 2024-05-24 22:16:49 -07:00
Butter Cat
e9af28b6eb Make sure that the extra <p></p> at the bottom of a comment containing only an image doesn't get a margin 2024-05-23 20:31:40 -04:00
Butter Cat
b22fb7cd7b Fix embedded preview images having a gap from the top of a comment 2024-05-22 16:40:57 -04:00
Butter Cat
2c8f5a7ac1 Make figure margins only apply to comments to bring embedded previews more in line with gallery posts 2024-04-09 18:51:32 -04:00
Butter Cat
6d83b07aaa Update embedding Reddit preview links to include captions where applicable 2024-04-09 18:33:13 -04:00
Butter Cat
ccfe7d0eeb Make embedded images keep aspect ration when shrinking 2024-04-07 19:24:55 -04:00
Butter Cat
9bd540d659 Stop post footer text from disappear at exactly 480px 2024-04-07 17:23:24 -04:00
Butter Cat
10499df423 Make image preview links embed 2024-04-07 12:07:53 -04:00
Butter Cat
e6b9a2e426 Fix anchor tags scrolling to the wrong place when fixed navbar is enabled (#82) 2024-04-07 10:52:59 -04:00
Daniel Nathan Gray
d4a2b3edc6 Add SVG logo (#84)
* Add SVG version of logo

* Add PNG generated from SVG
2024-04-07 10:51:33 -04:00
Márton
5de171b13a Make HLS support checking more robust (#61) 2024-03-04 19:59:54 -05:00
Carbrex
c6030064f1 Added video quality feature (#43)
* Fixed docker compose errors

* Added quality selector

* Remove log statement

Co-authored-by: Matthew Esposito <matt@matthew.science>

* Show kbps in quality

Co-authored-by: Matthew Esposito <matt@matthew.science>

* Make highest quality default

* Add styling, default option to highest

---------

Co-authored-by: Matthew Esposito <matt@matthew.science>
2024-02-06 15:27:23 -05:00
Matthew Esposito
5604786146 Add new hls.js version, add script for updating (fixes #29) 2024-01-24 14:26:52 -05:00
Butter Cat
a445759a69 Be slightly smarter with options, fix footer being 30px above or below bottom on short posts 2024-01-06 16:53:58 -05:00
Butter Cat
b578b717d7 Less buggy solution to solving the floating footer problem 2024-01-06 03:49:38 +00:00
Butter Cat
5d8529d6bb Fix floating footer with "Keep navbar fixed" off 2024-01-03 21:26:56 -05:00
Matthew Esposito
3dee29f3ef Add scrolling to highlighted comment (fix #13) 2024-01-02 19:43:00 -05:00
Matthew Esposito
b0f985c687 Libreddit -> Redlib 2023-12-26 18:25:52 -05:00