mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-31 07:26:46 +00:00
feat: add github share button
This commit is contained in:
@@ -175,3 +175,38 @@
|
||||
color: #19bf64;
|
||||
background: #e5f2e8;
|
||||
}
|
||||
|
||||
@media (max-width: 1360px) {
|
||||
.githubCorner {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.githubCorner:hover .octoArm {
|
||||
animation: octocat-wave 560ms ease-in-out;
|
||||
}
|
||||
|
||||
@keyframes octocat-wave {
|
||||
0%,
|
||||
100% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
20%,
|
||||
60% {
|
||||
transform: rotate(-25deg);
|
||||
}
|
||||
40%,
|
||||
80% {
|
||||
transform: rotate(10deg);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.githubCorner:hover .octoArm {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.githubCorner .octoArm {
|
||||
animation: octocat-wave 560ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user