Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more custom elements and styles for news posts #11624

Open
cl8n opened this issue Nov 6, 2024 · 2 comments
Open

Add more custom elements and styles for news posts #11624

cl8n opened this issue Nov 6, 2024 · 2 comments

Comments

@cl8n
Copy link
Member

cl8n commented Nov 6, 2024

mostly to help reduce dependence on html/css in post content but also this should just make it easier to write news posts and be consistent about styling. the following should have directives similar to Infobox:

  • Video player for assets.ppy.sh, YouTube, and Twitch vods
  • Audio player at full page width (and maybe with customizable audio group?)
  • "Chat" layout for interviews

see https://osu.ppy.sh/home/news/2024-11-04-resurrection-cup-2024-results and https://osu.ppy.sh/home/news/2024-10-07-osumania-4k-world-cup-2024-concludes for some examples

the chat one probably needs some design consideration first though.

@Walavouchey
Copy link
Member

Walavouchey commented Nov 6, 2024

audio players could always be full width in news posts imo. i'm pretty sure they're only fixed-width because that's how they appear at the bottom-right corner of the page (was mentioned internally)

@0x84f
Copy link

0x84f commented Nov 11, 2024

it would be great if we could add a photo album thing as well, it would work wonders for coverage of real-life events where lots of photos are taken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants