Skip to content

Consolidate layouts and improve website appearance#39

Merged
lauraengelhardt merged 20 commits into4C-multiphysics:mainfrom
lauraengelhardt:improve-layout-and-unify
Mar 6, 2026
Merged

Consolidate layouts and improve website appearance#39
lauraengelhardt merged 20 commits into4C-multiphysics:mainfrom
lauraengelhardt:improve-layout-and-unify

Conversation

@lauraengelhardt
Copy link
Copy Markdown
Contributor

Description

I refactored some code and unified the layout. Screenshots of the new and old version are attached below. I used opencode for development and the PR description (with adjustments from my side).

Details

Layout refactoring to unify page appearance across the site:

  • Simplified layouts: Consolidated 8 different layouts down to fewer variants, removing redundant associated, page_serifheader, contact, and content_serifheader layouts
  • Unified content styling: Moved heading and content styles to centralized components (_headings.scss, _content.scss)
  • Improved banner: Banner now spans full page width on all pages
  • Consistent padding/margins across all page types
  • Improved image placements: Text now floats around image
  • Mobile improvements: Added smaller title font on mobile, unified padding across pages

Suggestions to review

I structured the commits to make them as easy to review as possible, even though the changes come together only in the end (so when you inspect the website at an intermediate state there may still be some visual inconsistencies that will be gone in the final version). Hence, it does not really make sense to split this PR in several PRs.

Comparison of old and new version

Screenshots where taken with Playwright using this script: screenshot.js. There would also be the option to include visual regression in the CI, but maybe thats a bit overkill 😄

Desktop Screenshots

Desktop screenshots

Page Old New
Index
Associated Projects
Capabilities
Contact
Contributors
History
Publications
Mobile Screenshots

Mobile screenshots

Page Old New
Index
Associated Projects
Capabilities
Contact
Contributors
History
Publications

@lauraengelhardt
Copy link
Copy Markdown
Contributor Author

If you want to inspect the website itself you can download the artifact: https://github.com/4C-multiphysics/website/actions/runs/22619785261/artifacts/5738912320

Then unzip the folder and run

cd path/to/unzipped/folder
python3 -m http.server 8000

Then open http://localhost:8000 in your browser.
Or pull the branch and build yourself.

Maybe there is an easier workflow, I haven't found one yet though.

Copy link
Copy Markdown
Member

@amgebauer amgebauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @lauraengelhardt for these improvements!

Copy link
Copy Markdown
Contributor

@c-p-schmidt c-p-schmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice work. Thank you for improving our webpage significantly!

@lauraengelhardt lauraengelhardt merged commit 62693d6 into 4C-multiphysics:main Mar 6, 2026
2 checks passed
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.

3 participants