mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +00:00
Including css files might help.
This commit is contained in:
parent
90b2dd142f
commit
4b5a66da82
4 changed files with 40 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
||||||
/static/node_modules/
|
/static/node_modules/
|
||||||
/static/sass/
|
/static/sass/
|
||||||
/static/css/
|
|
||||||
/static/gulpfile.js
|
/static/gulpfile.js
|
||||||
package.json
|
package.json
|
||||||
|
|
38
static/css/_fades.css
Normal file
38
static/css/_fades.css
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
/* make keyframes that tell the start state and the end state of our object */
|
||||||
|
|
||||||
|
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
|
||||||
|
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
|
||||||
|
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
|
||||||
|
|
||||||
|
.fade-in {
|
||||||
|
opacity:0; /* make things invisible upon start */
|
||||||
|
-webkit-animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */
|
||||||
|
-moz-animation:fadeIn ease-in 1;
|
||||||
|
animation:fadeIn ease-in 1;
|
||||||
|
|
||||||
|
-webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
|
||||||
|
-moz-animation-fill-mode:forwards;
|
||||||
|
animation-fill-mode:forwards;
|
||||||
|
|
||||||
|
-webkit-animation-duration:1s;
|
||||||
|
-moz-animation-duration:1s;
|
||||||
|
animation-duration:1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.one {
|
||||||
|
-webkit-animation-delay: 0.7s;
|
||||||
|
-moz-animation-delay: 0.7s;
|
||||||
|
animation-delay: 0.7s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.two {
|
||||||
|
-webkit-animation-delay: 1.4s;
|
||||||
|
-moz-animation-delay:1.4s;
|
||||||
|
animation-delay: 1.4s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade-in.three {
|
||||||
|
-webkit-animation-delay: 1.8s;
|
||||||
|
-moz-animation-delay: 1.8s;
|
||||||
|
animation-delay: 1.8s;
|
||||||
|
}
|
1
static/css/dark-style.css
Normal file
1
static/css/dark-style.css
Normal file
File diff suppressed because one or more lines are too long
1
static/css/light-style.css
Normal file
1
static/css/light-style.css
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue