mirror of https://github.com/escalate/hugo-split-theme.git

Felix Boerner
04.57.2024 918f08178bd58eb746ff245fe730d97c5d926f8d
feat: remove animation
2 files modified
13 ■■■■■ changed files
assets/scss/_content.scss 9 ●●●●● patch | view | raw | blame | history
assets/scss/split.scss 4 ●●●● patch | view | raw | blame | history
assets/scss/_content.scss
@@ -1,13 +1,4 @@
//-------------------------------------------------------------------------------
// Fade In
//-------------------------------------------------------------------------------
@keyframes fadein {
    from { opacity: 0;}
    to   { opacity: 1;}
}
//-------------------------------------------------------------------------------
// Content
//-------------------------------------------------------------------------------
assets/scss/split.scss
@@ -19,10 +19,6 @@
$image-background   : {{ if .Site.Params.visual.image.enable }}url('../{{ .Site.Params.visual.image.file | default "images/background.jpg" }}'){{ else }}none{{ end }};
$image-position     : {{ if .Site.Params.visual.image.enable }}{{ .Site.Params.visual.image.position | default "center center" }}{{ else }}0% 0%{{ end }};
// Animation
$animation-name     : fadein;
$animation-duration : 2s;
//-------------------------------------------------------------------------------
// Imports
//-------------------------------------------------------------------------------