-
Notifications
You must be signed in to change notification settings - Fork 1
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
Rewrite style.css for better mobile experience. #5
Conversation
Now, whenever the screen goes too small in width, the layout goes vertical.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your work on this PR! Here are a few things I wanted to ask:
Is there any advantage of using
Do you want me to create a new issue for this? Related to this, the header above the lake is large in mobile devices; could you please fix this please? Currently, the header adds no value in mobile devices. |
About About the header, I will check a way to make it smaller, or do you want to remove it in mobile devices? |
Definitely. Let's remove it in mobile devices - it takes up a lot of real estate and doesn't add any value. Can you make the changes in this PR itself, considering that this PR deals with mobile devices? |
Sure. |
Now, the heading is omitted whenever the screen can not hover, which means it is a mobile device.
I have added a new media query that omits the heading whenever the screen does not support hover, which means we are dealing with mobile devices. |
About the font size above the lake, it is better to leave that to another issue. |
Thanks for using media queries! Makes it much more maintainable.
Great. I'll create a new issue for it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff on this PR! Thanks for your efforts!
Merging.
Hello, @burntcarrot. I have rewritten the file
style.css
and also had to adapt theindex.html
. Here is some of the changes I have done:Changes to
style.css
hex
tohsl
.object-fit: cover
to all images.@media
.Changes to
index.html
add
meta
tag to control the mobile viewport.remove unecessary imports of
Noto Sans
. Those are already imported in thestyle.css
.add an anchor with the hyperlink of your repository to reduce vertical height.
make all the images not draggable.
correct punctuation of textarea's placeholder.
Remaining issues
speak.js
, but I preferred not to do it in this PR.-webkit-slider-thumb
.I hope this fix the issue #1.