Skip to content

Commit

Permalink
Consolidate animations
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Feb 2, 2025
1 parent e2b4ca2 commit da4b443
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 24 deletions.
21 changes: 0 additions & 21 deletions _sass/_animations.scss

This file was deleted.

23 changes: 21 additions & 2 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,29 @@ nav {
}
}

/*
Global animation transition
/* ==========================================================================
ANIMATIONS
========================================================================== */

@-webkit-keyframes intro {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@keyframes intro {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/* Global animation transition */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
-webkit-transition: $global-transition;
transition: $global-transition;
Expand Down
1 change: 0 additions & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"base",

"utilities",
"animations",
"tables",
"buttons",
"notices",
Expand Down

0 comments on commit da4b443

Please sign in to comment.