Use Halfmoon v2 #655

Merged
Gusted merged 1 commit from gusted/refresh-looks into main 2025-08-12 17:53:34 +02:00 AGit
Image
Owner

Refresh Codeberg documentatation looks by using Halfmoon v2.

Mobile UI also got a overhaul.

Refresh Codeberg documentatation looks by using Halfmoon v2. Mobile UI also got a overhaul.
Image Use Halfmoon v2
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
d24bda4755
Image
Refresh Codeberg documentatation looks by using Halfmoon v2.

Mobile UI also got a overhaul.
Image
Member

Surge PR preview deployment was removed

<!--woodpeckerci-plugin-surge-preview--> Surge PR preview deployment was removed
Gusted force-pushed gusted/refresh-looks from d24bda4755
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
to e434102e5b
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
2025-08-09 05:01:53 +02:00
Compare
Gusted force-pushed gusted/refresh-looks from e434102e5b
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
to 3110ddb607
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
ci/woodpecker/pull_request_closed/deploy-preview Pipeline was successful
2025-08-09 05:06:37 +02:00
Compare
Image
Author
Owner

Preview seems to have been deleted, have a version live at https://static.gusted.xyz/

Preview seems to have been deleted, have a version live at https://static.gusted.xyz/
Image
Member

Nice! Small observations on mobile in comparison to current docs:

  • menu could be less wide
  • click outside of opened menu could close it
Nice! Small observations on mobile in comparison to current docs: - menu could be less wide - click outside of opened menu could close it
Image gedankenstuecke left a comment

That looks great, and is imho a real improvement, particularly on mobile the readability is a lot better and seems to generally be less buggy on smaller displays, really well done!

At first I was going to agree with @mahlzahn regarding making the mobile menu smaller and having taps/clicks outside the menu close it. But after playing around with it a bit, I think the new behaviour is actually a bit nicer for reading on a small device, as it makes accidentally closing the menu less likely and it's easier to read thanks to the extra width.

(In the current/old design the 'click outside to close' seems like it was more a necessity as there was no permanently visible button for closing the menu, which the new design does).

That looks great, and is imho a real improvement, particularly on mobile the readability is a lot better and seems to generally be less buggy on smaller displays, really well done! At first I was going to agree with @mahlzahn regarding making the mobile menu smaller and having taps/clicks outside the menu close it. But after playing around with it a bit, I think the new behaviour is actually a bit nicer for reading on a small device, as it makes accidentally closing the menu less likely and it's easier to read thanks to the extra width. (In the current/old design the 'click outside to close' seems like it was more a necessity as there was no permanently visible button for closing the menu, which the new design does).
Image fnetX approved these changes 2025-08-12 15:07:46 +02:00
Image fnetX left a comment

LGTM.

LGTM.
Image
Owner

Oh awesome, I thought the halfmoon project was unmaintained for quite a while? Great to see it back & with such nice improvements.

Oh awesome, I thought the halfmoon project was unmaintained for quite a while? Great to see it back & with such nice improvements.
Image
Author
Owner

@momar wrote in #655 (comment):

Oh awesome, I thought the halfmoon project was unmaintained for quite a while?

Yes, to me it seems the v2 released dropped out of nowhere.

@momar wrote in https://codeberg.org/Codeberg/Documentation/pulls/655#issuecomment-6266185: > Oh awesome, I thought the halfmoon project was unmaintained for quite a while? Yes, to me it seems the v2 released dropped out of nowhere.
Image Gusted merged commit f564ca6cd2 into main 2025-08-12 17:53:34 +02:00
Image Gusted referenced this pull request from a commit 2025-08-12 17:53:36 +02:00
Image 0ko left a comment

Very unexpected, looks awesome!

Very unexpected, looks awesome!
@ -0,0 +1,5 @@
---
permalink: halfmoon.css
Contributor

The browser is kind of able to figure this out, but https://docs.codeberg.org/halfmoon.css returns a lot of stuff, not just the CSS. Looks like this way of inclusion is why.

The browser is kind of able to figure this out, but https://docs.codeberg.org/halfmoon.css returns a lot of stuff, not just the CSS. Looks like this way of inclusion is why.
Sign in to join this conversation.
No milestone
No project
No assignees
7 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Documentation!655
No description provided.