teset banner at other browsers

This commit is contained in:
2025-09-11 10:51:09 +03:00
parent 8360d06f7b
commit 60b9782628
2 changed files with 6 additions and 25 deletions

View File

@@ -1,11 +1,14 @@
<style>
@keyframes blink {
from { opacity: 1; }
to { opacity: 0.8; }
0% { opacity: 1; }
50% { opacity: 0.4; }
100% { opacity: 1; }
}
.blink {
animation: blink 2s infinite alternate;
animation: blink 1s infinite ease-in-out;
}
</style>
<div id="banner" class="relative isolate flex items-center gap-x-6 overflow-hidden mt-4 bg-gray-50 px-6 py-2 sm:before:flex-1 dark:bg-gray-800/50 dark:after:pointer-events-none dark:after:absolute dark:after:inset-x-0 dark:after:bottom-0 dark:after:h-px dark:after:bg-white/10" style="background: #E6F5EC; background: radial-gradient(circle, rgba(204, 232, 217, 1) 0%, rgba(172, 193, 232, 1) 100%);">
<p class="text-sm/6 text-gray-900 dark:text-gray-100 blink">

View File

@@ -1,22 +0,0 @@
<style>
@keyframes blink {
from { opacity: 1; }
to { opacity: 0.8; }
}
.blink {
animation: blink 2s infinite alternate;
}
</style>
<div id="banner" class="relative isolate flex items-center gap-x-6 overflow-hidden mt-4 bg-gray-50 px-6 py-2 sm:before:flex-1 dark:bg-gray-800/50 dark:after:pointer-events-none dark:after:absolute dark:after:inset-x-0 dark:after:bottom-0 dark:after:h-px dark:after:bg-white/10" style="background: #E6F5EC; background: radial-gradient(circle, rgba(204, 232, 217, 1) 0%, rgba(172, 193, 232, 1) 100%);">
<p class="text-sm/6 text-gray-900 dark:text-gray-100 blink">
ThreeFold is going commercial! Read our <a href="/newsroom/summer-2025-roundup/" rel="noopener" class="underline font-semibold whitespace-nowrap text-gray-900 hover:text-gray-700 dark:text-white dark:hover:text-gray-300" style="text-decoration: underline;">2025 Summer Round Up</a> <span aria-hidden="true">&rarr;</span>
</p>
<div class="flex flex-1 justify-end">
<button type="button" onclick="this.closest('#banner').remove()" class="-m-3 p-3 focus-visible:-outline-offset-4" style="border: none; outline: none; box-shadow: none;">
<span class="sr-only">Dismiss</span>
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 text-gray-900 dark:text-gray-100">
<path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" />
</svg>
</button>
</div>
</div>