Skip to content

Style improvements for proposal pages#1151

Merged
amatsuda merged 3 commits into
rubycentral:mainfrom
unasuke:misc-style-tweak
Jul 24, 2026
Merged

Style improvements for proposal pages#1151
amatsuda merged 3 commits into
rubycentral:mainfrom
unasuke:misc-style-tweak

Conversation

@unasuke

@unasuke unasuke commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What

  • Scale down user-authored markdown headings and underline section headings (Abstract, Details, ...) so they no longer invert the visual hierarchy
  • Constrain markdown images to container width to prevent overflow
  • Make proposal diff versions collapsible, keeping only the latest open; also fixes the #diff-view / .diff-view selector mismatch

screenshots

before after
2026-07-24 15 50 56 127 0 0 1 9c96c8b8cf35 2026-07-24 15 51 17 127 0 0 1 caf71ee63263

unasuke and others added 3 commits July 24, 2026 15:48
User-authored markdown (abstract, details, ...) may contain h1/h2
which rendered larger than the section headings around them, making
the page hierarchy read backwards. Cap .markdown heading sizes with
em-based values and give proposal section labels a larger,
legend-like style with a bottom border.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Every version in the proposal diff was rendered fully expanded,
so proposals with many revisions were hard to scan. Wrap each
version in details/summary labeled with its timestamp, keeping
only the latest one open by default.

The wrapper also becomes .diff-view (class); the view emitted
#diff-view while the stylesheet targeted the class, so the
existing styles never applied.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@amatsuda
amatsuda merged commit a310faf into rubycentral:main Jul 24, 2026
1 check passed
@amatsuda

Copy link
Copy Markdown
Collaborator

@unasuke 🤘

@unasuke
unasuke deleted the misc-style-tweak branch July 24, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants