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

How to deactivate overlay text in responsive mode #13

Open
MUWalter opened this issue May 21, 2021 · 3 comments
Open

How to deactivate overlay text in responsive mode #13

MUWalter opened this issue May 21, 2021 · 3 comments

Comments

@MUWalter
Copy link

MUWalter commented May 21, 2021

Dear @serg ,

I was wondering how I could deactivate the overlay text for projects, maybe even the accent color in responsive mode. The reason is: In my opinion it doesn't make sense, because a hover on a smartphone is not possible, and sometimes it just gets stuck. So I would like in responsive mode that the project images don't show any text or color. Maybe you could give me a hint.

overlay text

If this is not so easy to do, maybe you can tell me how to change the font size for the type section.

EDIT: Alternatively it could be also nice to swipe to read the overlay text or click once to read the text and then click a second time to go to the link. It's just an idea.

All the best!
Mark

@serg
Copy link
Owner

serg commented May 26, 2021

Hello Mark,

On mobile, the hover is activated when you apply the delayed tap on tile. Currently, I am not plan to change this default behaviour.

But you could customise this for your needs. On mobile, you could change color and background for tile hover in line 92 and 94 here. After, you need to copy these styles for desktop view inside project scope styles (like it was for 92-92 lines) under 278 line. This needed for overriding mobile styles and make tiles have color when hovering on desktop viewport.

For changing font size for type, please search occurrences for &-type style scope inside project definition in app.scss file. There are multiple definitions of &-type inside @media rule (that respond for different width of viewports).

Hope this helps!
Have a great day!

@MUWalter
Copy link
Author

MUWalter commented May 26, 2021 via email

@serg
Copy link
Owner

serg commented May 26, 2021

Cool, glad to help!

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

No branches or pull requests

2 participants