110 lines
3.3 KiB
CSS
110 lines
3.3 KiB
CSS
/* ============================================================
|
|
🎮 Fortnite-Experience · Launcher-Button (eigenständig)
|
|
============================================================
|
|
Dieser anklickbare GIF-Einstieg am linken Bildschirmrand führt
|
|
auf die Fortnite-Experience (index.html dieses Ordners).
|
|
|
|
EINBINDEN AUF EINER FREMDEN SEITE:
|
|
1) Diesen Ordner z. B. unter /fortnite-experience/ ablegen.
|
|
2) Im <head> der Host-Seite verlinken:
|
|
<link rel="stylesheet" href="fortnite-experience/launch.css">
|
|
3) Das Snippet aus launch-snippet.html in den <body> einfügen.
|
|
(Pfade im Snippet ggf. an den Ablageort anpassen.)
|
|
|
|
Der Button ist position:fixed und schwebt unabhängig vom Layout.
|
|
============================================================ */
|
|
|
|
.fortnite-launch {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 950;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
width: 118px;
|
|
padding: 0.6rem 0.55rem 0.7rem;
|
|
background: linear-gradient(160deg, #8b5cf6 0%, #6d28d9 45%, #06b6d4 100%);
|
|
border: 2px solid rgba(255, 255, 255, 0.55);
|
|
border-left: none;
|
|
border-radius: 0 20px 20px 0;
|
|
box-shadow: 0 10px 34px rgba(109, 40, 217, 0.5);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
|
|
box-shadow 0.35s ease;
|
|
}
|
|
.fortnite-launch:hover {
|
|
transform: translateY(-50%) scale(1.07);
|
|
box-shadow: 0 14px 44px rgba(6, 182, 212, 0.65);
|
|
}
|
|
.fortnite-launch:active {
|
|
transform: translateY(-50%) scale(1.02);
|
|
}
|
|
.fortnite-launch-badge {
|
|
position: absolute;
|
|
top: -10px;
|
|
right: -8px;
|
|
background: #ff1493;
|
|
color: #fff;
|
|
font-size: 0.62rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.08em;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 99px;
|
|
border: 2px solid #fff;
|
|
box-shadow: 0 3px 10px rgba(255, 20, 147, 0.5);
|
|
}
|
|
.fortnite-launch-gif {
|
|
width: 96px;
|
|
height: auto;
|
|
display: block;
|
|
border-radius: 14px;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
|
|
animation: fortnite-glow 2.4s ease-in-out infinite;
|
|
}
|
|
.fortnite-launch-label {
|
|
font-family: 'Segoe UI', Tahoma, sans-serif;
|
|
font-size: 0.82rem;
|
|
font-weight: 800;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
line-height: 1.12;
|
|
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.fortnite-launch-cta {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: #f0abfc;
|
|
background: rgba(0, 0, 0, 0.28);
|
|
padding: 0.2rem 0.7rem;
|
|
border-radius: 99px;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
}
|
|
@keyframes fortnite-glow {
|
|
0%, 100% { filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.6)); }
|
|
50% { filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.95)); }
|
|
}
|
|
|
|
/* Mobile: kompakter, damit nichts überdeckt wird */
|
|
@media (max-width: 768px) {
|
|
.fortnite-launch {
|
|
width: 78px;
|
|
padding: 0.4rem 0.35rem 0.5rem;
|
|
gap: 0.3rem;
|
|
border-radius: 0 14px 14px 0;
|
|
}
|
|
.fortnite-launch-gif { width: 62px; border-radius: 10px; }
|
|
.fortnite-launch-label { font-size: 0.62rem; }
|
|
.fortnite-launch-cta { font-size: 0.58rem; padding: 0.15rem 0.5rem; }
|
|
.fortnite-launch-badge { font-size: 0.52rem; top: -8px; right: -6px; }
|
|
}
|
|
|
|
/* Barrierefreiheit: Animationen reduzieren, wenn gewünscht */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.fortnite-launch-gif { animation: none; }
|
|
.fortnite-launch { transition: none; }
|
|
}
|