From 8aa0055178dd986402ab23b0c608d2780683c1e3 Mon Sep 17 00:00:00 2001 From: suroh Date: Sat, 7 Dec 2019 23:23:41 +0100 Subject: [PATCH] removed teach file, updated transition of toTop button --- _content/other/teach.md | 8 -------- assets/css/master.css | 8 ++++++-- 2 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 _content/other/teach.md diff --git a/_content/other/teach.md b/_content/other/teach.md deleted file mode 100644 index 36756e2..0000000 --- a/_content/other/teach.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: teaching -layout: page.njk ---- - -# teach - -Something about this project \ No newline at end of file diff --git a/assets/css/master.css b/assets/css/master.css index 46e84cc..cd4e0ea 100644 --- a/assets/css/master.css +++ b/assets/css/master.css @@ -134,7 +134,10 @@ nav#toTop > span { display: block; opacity: 0.0; transform: translateY(-2em); - transition: transform ease 0.5s, opacity ease 1s; + background-color: rgba(255,255,255,0.0); + padding: 0.3em 0.5em 0.5em; + border-radius: 1em; + transition: transform ease 0.5s, opacity ease 1s, background-color ease 0.5s 0.5s; } nav#toTop > span::after { @@ -143,7 +146,8 @@ nav#toTop > span::after { } nav#toTop.active > span { - opacity: 0.4; + opacity: 0.5; + background-color: rgba(255,255,255,0.9); transform: translateY(0em); }