removed teach file, updated transition of toTop button
This commit is contained in:
parent
0210a6b6ea
commit
8aa0055178
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
title: teaching
|
|
||||||
layout: page.njk
|
|
||||||
---
|
|
||||||
|
|
||||||
# teach
|
|
||||||
|
|
||||||
Something about this project
|
|
|
@ -134,7 +134,10 @@ nav#toTop > span {
|
||||||
display: block;
|
display: block;
|
||||||
opacity: 0.0;
|
opacity: 0.0;
|
||||||
transform: translateY(-2em);
|
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 {
|
nav#toTop > span::after {
|
||||||
|
@ -143,7 +146,8 @@ nav#toTop > span::after {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav#toTop.active > span {
|
nav#toTop.active > span {
|
||||||
opacity: 0.4;
|
opacity: 0.5;
|
||||||
|
background-color: rgba(255,255,255,0.9);
|
||||||
transform: translateY(0em);
|
transform: translateY(0em);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue