From 60dab1e9dffdc7887ba05bc909d3d1fc5e3c71dd Mon Sep 17 00:00:00 2001 From: Metacube Date: Mon, 12 Jan 2026 11:26:12 +0100 Subject: [PATCH] Add advertisement banner styles and functionality --- aurora-livecam/index.php | 98 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/aurora-livecam/index.php b/aurora-livecam/index.php index 567eba6..434e795 100644 --- a/aurora-livecam/index.php +++ b/aurora-livecam/index.php @@ -1669,6 +1669,95 @@ footer { background-color: rgba(51, 51, 51, 0.9); color: #fff; padding: 40px 0; .section h2 { font-size: 28px; } .button { width: 100%; margin: 5px 0; } } + +/* WERBEBANNER STYLES */ +.recommendation-banner { + text-align: center; + padding: 20px; + background-color: rgba(255, 255, 255, 0.9); + border-radius: 8px; + margin-bottom: 20px; + box-shadow: 0 2px 8px rgba(0,0,0,0.1); +} + +.recommendation-banner h2 { + margin-bottom: 15px; + color: #333; +} + +.sponsor-logos { + display: flex; + flex-direction: column; + align-items: center; +} + +.ad-row { + display: flex; + justify-content: center; + flex-wrap: wrap; + margin-bottom: 10px; + width: 100%; +} + +.ad-item { + margin: 0 10px 10px; + text-align: center; +} + +.ad-item img { + max-height: 40px; /* <-- DAS IST DIE WICHTIGE ZEILE */ + width: auto; + transition: transform 0.3s; +} + +.ad-item img:hover { + transform: scale(1.1); +} +/* WERBEBANNER STYLES */ +.recommendation-banner { + text-align: center; + padding: 20px; + background-color: rgba(255, 255, 255, 0.9); + border-radius: 8px; + margin-bottom: 20px; + box-shadow: 0 2px 8px rgba(0,0,0,0.1); +} + +.recommendation-banner h2 { + margin-bottom: 15px; + color: #333; +} + +.sponsor-logos { + display: flex; + flex-direction: column; + align-items: center; +} + +.ad-row { + display: flex; + justify-content: center; + flex-wrap: wrap; + margin-bottom: 10px; + width: 100%; +} + +.ad-item { + margin: 0 10px 10px; + text-align: center; +} + +.ad-item img { + max-height: 40px; /* <-- DAS IST DIE WICHTIGE ZEILE */ + width: auto; + transition: transform 0.3s; +} + +.ad-item img:hover { + transform: scale(1.1); +} + + @@ -1989,6 +2078,14 @@ document.getElementById('qrcode')?.addEventListener('click', function() { }); + + + +