summaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-01 22:50:18 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-01 22:51:43 +0100
commit01d578b6dd5252305ce3d1a1a49336d3f7edc697 (patch)
tree3f48fce76fe0bcaac0994f6a8211aa95b3108a4c /src/styles
parent8952a0ce097405d3c66eff2b6c70a5bd139435e5 (diff)
chore: animate branding
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/base/_animations.scss61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/styles/base/_animations.scss b/src/styles/base/_animations.scss
index 325c673..773bf1d 100644
--- a/src/styles/base/_animations.scss
+++ b/src/styles/base/_animations.scss
@@ -75,3 +75,64 @@
transform: translateY(0);
}
}
+
+@keyframes flip-logo {
+ 0%,
+ 85% {
+ transform: rotateY(180deg);
+ }
+
+ 100% {
+ transform: rotateY(0deg);
+ }
+}
+
+@keyframes branding-name-typing {
+ 0%,
+ 20% {
+ width: 100%;
+ visibility: visible;
+ }
+
+ 100% {
+ width: 0;
+ }
+}
+
+@keyframes branding-job-typing {
+ 0% {
+ width: 100%;
+ content: "";
+ visibility: visible;
+ }
+
+ 48% {
+ content: "";
+ }
+
+ 49% {
+ content: "|";
+ }
+
+ 51% {
+ width: 100%;
+ }
+
+ 70% {
+ width: 0;
+ }
+
+ 100% {
+ width: 0;
+ }
+}
+
+@keyframes blink {
+ 0% {
+ color: var(--color-primary-darker);
+ }
+
+ 100% {
+ color: var(--color-bg-tertiary);
+ }
+}