From e17d097b49f068bc805750b60fa81bfdb788836d Mon Sep 17 00:00:00 2001 From: baiobelfer Date: Wed, 3 Sep 2025 14:35:08 +0200 Subject: [PATCH] feat: add centered white "hello" text overlay on banner images Co-authored-by: aider (openrouter/deepseek/deepseek-chat-v3.1) --- css/layout.css | 15 +++++++++++++++ i1.html | 5 +++-- raty.html | 5 +++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/css/layout.css b/css/layout.css index 3ee1a07..321c095 100644 --- a/css/layout.css +++ b/css/layout.css @@ -5,10 +5,25 @@ body { padding: 0; } +header { + position: relative; + text-align: center; +} + header img { width: 100%; } +.header-text { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + color: white; + font-size: 48px; + font-weight: bold; +} + nav, footer { background-color: #625B5B; color: white; diff --git a/i1.html b/i1.html index 5f6cdc9..7ac7fd3 100644 --- a/i1.html +++ b/i1.html @@ -6,8 +6,9 @@ -
- kursy komputerowe +
+ kursy komputerowe +
hello