From 1d2d5a14b0bb5e733677bc0c3c403b375cd79163 Mon Sep 17 00:00:00 2001 From: Evandro Ribeiro Date: Wed, 19 Apr 2023 21:17:36 -0300 Subject: [PATCH] feat: add github view source --- front/assets/style.css | 24 ++++++++++++++++++++++++ front/index.html | 7 +++++++ 2 files changed, 31 insertions(+) diff --git a/front/assets/style.css b/front/assets/style.css index 048c62e..3b73a81 100644 --- a/front/assets/style.css +++ b/front/assets/style.css @@ -149,3 +149,27 @@ p { align-items: center; gap: 1rem; } + +.github-corner:hover .octo-arm { + 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) { + .github-corner:hover .octo-arm { + animation: none; + } + .github-corner .octo-arm { + animation: octocat-wave 560ms ease-in-out; + } +} + diff --git a/front/index.html b/front/index.html index 046fcc6..69f06ca 100644 --- a/front/index.html +++ b/front/index.html @@ -6,6 +6,13 @@ + + +

Welcome to Express template