-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eccf7ab
commit 1921b3b
Showing
7 changed files
with
119 additions
and
79 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
position: fixed; | ||
left: $spacing; | ||
top: $spacing; | ||
.logo { | ||
.logo svg { | ||
height: 2rem; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,49 @@ | ||
.logo { | ||
display: block; | ||
fill: white; | ||
.light & { | ||
fill: $color-text; | ||
} | ||
.pointer { | ||
pointer-events: none; | ||
} | ||
line-height: 0; | ||
.wrapper { | ||
position: relative; | ||
display: inline-block; | ||
svg { | ||
display: block; | ||
fill: white; | ||
.light & { | ||
fill: $color-text; | ||
} | ||
.pointer { | ||
pointer-events: none; | ||
} | ||
|
||
&.animate { | ||
$duration: 0.7s; | ||
.pupil { | ||
animation: pupil $duration cubic-bezier(0.02, 0.01, 0.21, 1); | ||
@keyframes pupil { | ||
10% { | ||
transform: translateX(0); | ||
&.animate { | ||
$duration: 0.7s; | ||
.pupil { | ||
animation: pupil $duration cubic-bezier(0.02, 0.01, 0.21, 1); | ||
@keyframes pupil { | ||
10% { | ||
transform: translateX(0); | ||
} | ||
65% { | ||
animation-timing-function: cubic-bezier(0.3, 0.27, 0.07, 1.64); | ||
transform: translateX(-1.7%); | ||
} | ||
} | ||
} | ||
65% { | ||
animation-timing-function: cubic-bezier(0.3, 0.27, 0.07, 1.64); | ||
transform: translateX(-1.7%); | ||
.pointer { | ||
animation: pointer $duration cubic-bezier(0.02, 0.01, 0.21, 1); | ||
@keyframes pointer { | ||
50% { | ||
animation-timing-function: cubic-bezier(0.3, 0.27, 0.07, 1.64); | ||
transform: translateX(-32%); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
.pointer { | ||
animation: pointer $duration cubic-bezier(0.02, 0.01, 0.21, 1); | ||
@keyframes pointer { | ||
50% { | ||
animation-timing-function: cubic-bezier(0.3, 0.27, 0.07, 1.64); | ||
transform: translateX(-32%); | ||
} | ||
} | ||
.hat { | ||
position: absolute; | ||
top: 10%; | ||
left: 92%; | ||
transform: rotate(30deg); | ||
width: 18%; | ||
} | ||
} | ||
} |