refactor: replace inline styles with CSS classes in headers

Co-authored-by: aider (openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
baiobelfer 2025-09-03 14:35:25 +02:00
parent e17d097b49
commit 48973968fb
2 changed files with 6 additions and 6 deletions

View File

@ -6,9 +6,9 @@
<link rel="stylesheet" href="css/layout.css"> <link rel="stylesheet" href="css/layout.css">
</head> </head>
<body> <body>
<header style="position: relative; text-align: center;"> <header>
<img src="imgs/baner.png" alt="kursy komputerowe" style="width: 100%;"> <img src="imgs/baner.png" alt="kursy komputerowe">
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 48px; font-weight: bold;">hello</div> <div class="header-text">hello</div>
</header> </header>
<nav> <nav>
<a href="i1.html">Strona główna</a> <a href="i1.html">Strona główna</a>

View File

@ -6,9 +6,9 @@
<link rel="stylesheet" href="css/layout.css"> <link rel="stylesheet" href="css/layout.css">
</head> </head>
<body> <body>
<header style="position: relative; text-align: center;"> <header>
<img src="imgs/baner.png" alt="kursy komputerowe" style="width: 100%;"> <img src="imgs/baner.png" alt="kursy komputerowe">
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 48px; font-weight: bold;">hello</div> <div class="header-text">hello</div>
</header> </header>
<nav> <nav>
<a href="i1.html">Strona główna</a> <a href="i1.html">Strona główna</a>