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

Fix hover effect to only target specific properties #1098

Merged
merged 3 commits into from
Jan 8, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ $event-count: 6;
font-family: "Poppins", sans-serif;
color: white;
// Transition all elements on the screen
// (except FAQ panel, which already has a transition,
// and the section days, which need no transition.)
&:not(.link):not(.panel):not(#days):not(.number):not(#desk):not(#wire):not(.rellax):not(.logo img) {
transition: all 1s ease;
// (except FAQ panel, which has conflicting transitions)
&:not(.panel) {
transition-duration: 1s;
transition-property: margin, padding, width, font-size;
}

}
Expand Down