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 stylesheet optimizations for smaller viewports #22

Open
wants to merge 5 commits into
base: devel
Choose a base branch
from

Conversation

o1y
Copy link

@o1y o1y commented Jul 7, 2024

This PR adds mobile styles for the chi-chi website.

  • I have integrated optimizations for smaller viewports (smartphones). It is possible that some layout shifts may still occur on very exotic viewport sizes.

  • To get the project running on my arm64 workstation, I have added an optional Docker image. The project can be started as a developer using docker compose up. This image is not intended for production use.

  • Furthermore, I have fixed a bug where the slick carousels were not rendering correctly. In the current devel branch, version 1.8.1 has been locked, which is not compatible with the current stylesheets, so I downgraded slick-carousel to 1.7.1.

Feel free to test and nitpick. If any errors come up or if you see more requirements for style improvements, let me know :)

o1y added 5 commits July 7, 2024 10:05
* This adds a Frankenstein image of Debian that includes an unoptimized version of Python 2.7.18, Hugo 0.54.0, and Node.js 8.17.0. Python 2.7.18 is required to compile node-sass used by npm.
* This image is optimized for arm64 only.
* This commit downgrades slick-carousel to v1.7.1, because current stylesheet is only working with this version
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.

1 participant