From a665b12a5036110baa4cfb7adb7b078bb30e0e32 Mon Sep 17 00:00:00 2001 From: Boris Kubiak Date: Tue, 16 Jan 2018 08:32:20 +0100 Subject: [PATCH] Add Github link in corner --- css/stylesheet.sass | 32 ++++++++++++++++++++++++++++++-- index.html | 9 +++++++++ 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/css/stylesheet.sass b/css/stylesheet.sass index dceb476..cc94b71 100644 --- a/css/stylesheet.sass +++ b/css/stylesheet.sass @@ -24,6 +24,7 @@ h1, h2, h3, h4, h5, h6, p, label a, a:visited, a:hover color: $grey-text text-decoration: underline + a:hover color: $white-text @@ -161,7 +162,6 @@ a:hover padding: 0 line-height: 1em - .statistics > div:not(:last-child), .result > div:not(:last-child) margin-bottom: 15px @@ -282,4 +282,32 @@ a:hover font-size: 1.6em padding: 6px p - font-size: 1em \ No newline at end of file + font-size: 1em + +/*-- Github corner -- + +.github-corner + &:hover .octo-arm + animation: octocat-wave 560ms ease-in-out + svg + fill: #fff + color: #151513 + position: absolute + top: 0 + border: 0 + right: 0 + +@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 \ No newline at end of file diff --git a/index.html b/index.html index dbd9954..81b31ab 100644 --- a/index.html +++ b/index.html @@ -128,6 +128,15 @@ + + + + +