From e43bcce6b1cc1ffcde3ec5c03e13d64698b7b9f3 Mon Sep 17 00:00:00 2001 From: asus Date: Sun, 26 May 2024 13:31:01 +0200 Subject: [PATCH] added button and css to make the record easier --- old/index.html | 1 + old/styles/index.css | 56 +++++++++++++++++++++++++++----------------- 2 files changed, 36 insertions(+), 21 deletions(-) diff --git a/old/index.html b/old/index.html index 6dbb053..1d660d9 100644 --- a/old/index.html +++ b/old/index.html @@ -17,6 +17,7 @@ logo kosmopolit
+
diff --git a/old/styles/index.css b/old/styles/index.css index 08c6db0..e818e0d 100644 --- a/old/styles/index.css +++ b/old/styles/index.css @@ -94,37 +94,47 @@ body main { /*THE ANIMATION*/ @keyframes position { 0% {transform: translate( 0%, 0%);} - 20% {transform: translate( 1%, -1%);} - 30% {transform: translate(-1%, 0%);} - 40% {transform: translate( 1%, -1%);} - 50% {transform: translate( 0%, 1%);} - 60% {transform: translate( 1%, -1%);} + 20% {transform: translate( 2%, -2%);} + 30% {transform: translate(-2%, 0%);} + 40% {transform: translate( 2%, -2%);} + 50% {transform: translate( 0%, 2%);} + 60% {transform: translate( 2%, -2%);} 70% {transform: translate( 0%, 0%);} - 80% {transform: translate(-1%, -1%);} - 90% {transform: translate( 1%, -1%);} + 80% {transform: translate(-2%, -2%);} + 90% {transform: translate( 2%, -2%);} 100% {transform: translate( 0%, 0%);} } +#toggle_animate { + position: fixed; + top: 100px; + left: 100px; +} +#toggle_animate:checked + ._ratio .circle { +/* .logo_bubbles .circle { +*/ animation-name: position; animation-duration: 8s; animation-delay: 0s; animation-timing-function: linear; animation-iteration-count: infinite; + animation-iteration-count: 2; animation-direction: alternate; -} -.logo_bubbles .circle._1 { - animation-delay: -0.8s; - animation-direction: reverse; -} -.logo_bubbles .circle._2 { - animation-delay: -2.7s; -} -.logo_bubbles .circle._3 { - animation-delay: -1.3s; - animation-direction: reverse; -} -.logo_bubbles .circle._4 { - animation-delay: 0s; + &._1 { + animation-delay: -0.8s; + animation-direction: reverse; + } + &._2 { + animation-delay: -2.7s; + } + &._3 { + animation-delay: -1.3s; + animation-direction: reverse; + } + &._4 { + animation-delay: 0s; + animation-iteration-count: 1; + } } @@ -139,10 +149,14 @@ body main { padding: 0px; } .logo_links > :first-child { + /* margin-left: 0px; + */ } .logo_links > :last-child { + /* margin-right: 0px; + */ } .logo_links #kosmopolit a { color: var(--color-purple);