css Copy code
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 1920px;
height: 1080px;
background: transparent;
font-family: 'Arial', sans-serif;
overflow: hidden;
}
.overlay-container {
width: 100%;
height: 100%;
position: relative;
background: linear-gradient(135deg,
rgba(15, 15, 35, 0.95) 0%,
rgba(25, 25, 45, 0.95) 50%,
rgba(35, 15, 45, 0.95) 100%);
border: 2px solid rgba(0, 255, 255, 0.3);
}
/* Logo Defqon en haut */
.logo-container {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
}
.defqon-logo {
height: 80px;
width: auto;
filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
from { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)); }
to { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8)); }
}
/* Zone vide pour le client LoL */
.lol-client-area {
position: absolute;
top: 180px;
left: 320px;
width: 1280px;
height: 720px;
background: transparent;
border: 3px solid rgba(0, 255, 255, 0.6);
border-radius: 10px;
box-shadow:
inset 0 0 20px rgba(0, 255, 255, 0.2),
0 0 30px rgba(0, 255, 255, 0.3);
animation: borderPulse 2s ease-in-out infinite alternate;
}
@keyframes borderPulse {
from {
border-color: rgba(0, 255, 255, 0.6);
box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.2), 0 0 30px rgba(0, 255, 255, 0.3);
}
to {
border-color: rgba(255, 0, 255, 0.6);
box-shadow: inset 0 0 20px rgba(255, 0, 255, 0.2), 0 0 30px rgba(255, 0, 255, 0.3);
}
}
/* Chatbox Twitch */
.chat-container {
position: absolute;
top: 120px;
right: 20px;
width: 350px;
height: 800px;
background: rgba(20, 20, 40, 0.9);
border: 2px solid rgba(0, 255, 255, 0.5);
border-radius: 15px;
overflow: hidden;
box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
animation: chatGlow 4s ease-in-out infinite alternate;
}
@keyframes chatGlow {
from { box-shadow: 0 0 25px rgba(0, 255, 255, 0.3); }
to { box-shadow: 0 0 35px rgba(255, 0, 255, 0.4); }
}
.chat-header {
background: linear-gradient(90deg, rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.8));
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-title {
color: white;
font-weight: bold;
font-size: 14px;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
.chat-indicator {
width: 10px;
height: 10px;
background: #00ff00;
border-radius: 50%;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}
.twitch-chat {
width: 100%;
height: calc(100% - 40px);
background: rgba(0, 0, 0, 0.8);
}
/* Éléments décoratifs gaming */
.corner-decoration {
position: absolute;
width: 60px;
height: 60px;
border: 3px solid rgba(0, 255, 255, 0.7);
}
.top-left {
top: 10px;
left: 10px;
border-right: none;
border-bottom: none;
border-radius: 10px 0 0 0;
}
.top-right {
top: 10px;
right: 10px;
border-left: none;
border-bottom: none;
border-radius: 0 10px 0 0;
}
.bottom-left {
bottom: 10px;
left: 10px;
border-right: none;
border-top: none;
border-radius: 0 0 0 10px;
}
.bottom-right {
bottom: 10px;
right: 10px;
border-left: none;
border-top: none;
border-radius: 0 0 10px 0;
}
.corner-decoration {
animation: cornerGlow 3s ease-in-out infinite alternate;
}
@keyframes cornerGlow {
from { border-color: rgba(0, 255, 255, 0.7); }
to { border-color: rgba(255, 0, 255, 0.7); }
}
/* Barre de statut */
.status-bar {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 30px;
background: rgba(0, 0, 0, 0.8);
padding: 10px 20px;
border-radius: 25px;
border: 2px solid rgba(0, 255, 255, 0.5);
}
.status-item {
display: flex;
align-items: center;
gap: 8px;
}
.status-label {
color: rgba(0, 255, 255, 0.8);
font-size: 12px;
font-weight: bold;
}
.status-value {
color: white;
font-size: 12px;
text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WLRWinter Stream Overlay</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 1920px;
height: 1080px;
background: transparent;
font-family: 'Arial', sans-serif;
overflow: hidden;
}
.overlay-container {
width: 100%;
height: 100%;
position: relative;
background: linear-gradient(135deg,
rgba(15, 15, 35, 0.95) 0%,
rgba(25, 25, 45, 0.95) 50%,
rgba(35, 15, 45, 0.95) 100%);
border: 2px solid rgba(0, 255, 255, 0.3);
}
/* Logo Defqon en haut */
.logo-container {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
}
.defqon-logo {
height: 80px;
width: auto;
filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
from { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)); }
to { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8)); }
}
/* Zone vide pour le client LoL */
.lol-client-area {
position: absolute;
top: 180px;
left: 320px;
width: 1280px;
height: 720px;
background: transparent;
border: 3px solid rgba(0, 255, 255, 0.6);
border-radius: 10px;
box-shadow:
inset 0 0 20px rgba(0, 255, 255, 0.2),
0 0 30px rgba(0, 255, 255, 0.3);
animation: borderPulse 2s ease-in-out infinite alternate;
}
@keyframes borderPulse {
from {
border-color: rgba(0, 255, 255, 0.6);
box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.2), 0 0 30px rgba(0, 255, 255, 0.3);
}
to {
border-color: rgba(255, 0, 255, 0.6);
box-shadow: inset 0 0 20px rgba(255, 0, 255, 0.2), 0 0 30px rgba(255, 0, 255, 0.3);
}
}
/* Chatbox Twitch */
.chat-container {
position: absolute;
top: 120px;
right: 20px;
width: 350px;
height: 800px;
background: rgba(20, 20, 40, 0.9);
border: 2px solid rgba(0, 255, 255, 0.5);
border-radius: 15px;
overflow: hidden;
box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
animation: chatGlow 4s ease-in-out infinite alternate;
}
@keyframes chatGlow {
from { box-shadow: 0 0 25px rgba(0, 255, 255, 0.3); }
to { box-shadow: 0 0 35px rgba(255, 0, 255, 0.4); }
}
.chat-header {
background: linear-gradient(90deg, rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.8));
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-title {
color: white;
font-weight: bold;
font-size: 14px;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}
.chat-indicator {
width: 10px;
height: 10px;
background: #00ff00;
border-radius: 50%;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}
.twitch-chat {
width: 100%;
height: calc(100% - 40px);
background: rgba(0, 0, 0, 0.8);
}
/* Éléments décoratifs gaming */
.corner-decoration {
position: absolute;
width: 60px;
height: 60px;
border: 3px solid rgba(0, 255, 255, 0.7);
animation: cornerGlow 3s ease-in-out infinite alternate;
}
.top-left {
top: 10px;
left: 10px;
border-right: none;
border-bottom: none;
border-radius: 10px 0 0 0;
}
.top-right {
top: 10px;
right: 10px;
border-left: none;
border-bottom: none;
border-radius: 0 10px 0 0;
}
.bottom-left {
bottom: 10px;
left: 10px;
border-right: none;
border-top: none;
border-radius: 0 0 0 10px;
}
.bottom-right {
bottom: 10px;
right: 10px;
border-left: none;
border-top: none;
border-radius: 0 0 10px 0;
}
@keyframes cornerGlow {
from { border-color: rgba(0, 255, 255, 0.7); }
to { border-color: rgba(255, 0, 255, 0.7); }
}
/* Barre de statut */
.status-bar {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 30px;
background: rgba(0, 0, 0, 0.8);
padding: 10px 20px;
border-radius: 25px;
border: 2px solid rgba(0, 255, 255, 0.5);
}
.status-item {
display: flex;
align-items: center;
gap: 8px;
}
.status-label {
color: rgba(0, 255, 255, 0.8);
font-size: 12px;
font-weight: bold;
}
.status-value {
color: white;
font-size: 12px;
text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
/* Animation des particules */
@keyframes float {
0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}
.particle {
position: absolute;
width: 2px;
height: 2px;
background: rgba(0, 255, 255, 0.6);
border-radius: 50%;
pointer-events: none;
animation: float 5s ease-in-out infinite;
}
</style>
</head>
<body>
<div class="overlay-container">
<!-- Logo Defqon en haut au milieu -->
<div class="logo-container">
<img src="https://seeklogo.com/images/D/defqon-1-logo-7B5B5B5B5B-seeklogo.com.png" alt="Defqon Logo" class="defqon-logo">
</div>
<!-- Zone vide pour le client LoL (1280x720) -->
<div class="lol-client-area"></div>
<!-- Chatbox Twitch à droite -->
<div class="chat-container">
<div class="chat-header">
<span class="chat-title">💬 CHAT</span>
<div class="chat-indicator"></div>
</div>
<iframe
src="https://www.twitch.tv/embed/wlrwinter/chat?parent=localhost&parent=127.0.0.1&darkpopout"
class="twitch-chat"
frameborder="0"
scrolling="no">
</iframe>
</div>
<!-- Éléments décoratifs gaming -->
<div class="gaming-elements">
<div class="corner-decoration top-left"></div>
<div class="corner-decoration top-right"></div>
<div class="corner-decoration bottom-left"></div>
<div class="corner-decoration bottom-right"></div>
</div>
<!-- Barre de statut en bas -->
<div class="status-bar">
<div class="status-item">
<span class="status-label">STREAMER:</span>
<span class="status-value">WLRWinter</span>
</div>
<div class="status-item">
<span class="status-label">GAME:</span>
<span class="status-value">League of Legends</span>
</div>
</div>
</div>
<script>
// Animation des éléments
document.addEventListener('DOMContentLoaded', function() {
// Animation du logo
const logo = document.querySelector('.defqon-logo');
// Animation de rotation subtile du logo
let rotation = 0;
setInterval(() => {
rotation += 0.5;
logo.style.transform = `rotate(${Math.sin(rotation * 0.01) * 2}deg)`;
}, 50);
// Animation des coins
const corners = document.querySelectorAll('.corner-decoration');
corners.forEach((corner, index) => {
corner.style.animationDelay = `${index * 0.5}s`;
});
// Effet de particules
createParticles();
});
function createParticles() {
const container = document.querySelector('.overlay-container');
for (let i = 0; i < 20; i++) {
const particle = document.createElement('div');
particle.className = 'particle';
particle.style.left = Math.random() * 100 + '%';
particle.style.top = Math.random() * 100 + '%';
particle.style.animationDelay = Math.random() * 2 + 's';
particle.style.animationDuration = (3 + Math.random() * 4) + 's';
container.appendChild(particle);
}
}
// Gestion du chat Twitch
function refreshChat() {
const chatFrame = document.querySelector('.twitch-chat');
if (chatFrame) {
chatFrame.src = chatFrame.src;
}
}
// Rafraîchir le chat toutes les 30 minutes
setInterval(refreshChat, 30 * 60 * 1000);
</script>
</body>
</html>