From 10a2452ad35fba6d48f4316afbacf96a1d6354d6 Mon Sep 17 00:00:00 2001 From: baiobelfer Date: Thu, 4 Sep 2025 13:06:05 +0200 Subject: [PATCH] nav a --- css/layout.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/css/layout.css b/css/layout.css index aa59db5..3bccaf6 100644 --- a/css/layout.css +++ b/css/layout.css @@ -32,3 +32,33 @@ header img { font-weight: bold; } +/* +nav (menu) i footer (stopka) mają ciemnoszare tło (#625B5B), biały tekst i padding. +text-align: center – centruje zawartość. +*/ +nav, footer { + background-color: #625B5B; + color: white; + padding: 20px; + text-align: center; +} + +/* +a w nav to linki: +font-weight: bold – pogrubienie +background-color: #EAEAEA – jasny tło przycisków +color: #625B5B – ciemny kolor tekstu +padding: 10px – przestrzeń wewnątrz przycisku +margin: 50px – duża przestrzeń między linkami +border-radius: 20px – zaokrąglone rogi +text-decoration: none – usuwa podkreślenie linków +*/ +nav a { + font-weight: bold; + background-color: #EAEAEA; + color: #625B5B; + padding: 10px; + margin: 50px; + border-radius: 20px; + text-decoration: none; +} \ No newline at end of file