From 4512c077ec0c1d1c49a6661733aeacbc2338e212 Mon Sep 17 00:00:00 2001 From: AndreStork Date: Thu, 29 Jan 2026 09:01:53 +0100 Subject: [PATCH] =?UTF-8?q?Stylesheet=20update=20(grazie=20Claude=20Haiku?= =?UTF-8?q?=204.5=20=F0=9F=98=AD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 82 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 69 insertions(+), 13 deletions(-) diff --git a/style.css b/style.css index 2191284..bfba93f 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,12 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + body{ - background-color: gainsboro; + background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%); + min-height: 100vh; } body, button{ @@ -8,26 +15,65 @@ body, button{ header{ text-align: center; - background-color: red; + background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%); color: white; - padding: 10px; - margin-bottom: 15px; + padding: 20px; + margin-bottom: 30px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } -table, td, th{ - border: 1px solid black; +header h1 { + font-size: 2.5em; + font-weight: 700; + letter-spacing: 1px; +} + +table{ + width: 100%; + border-collapse: collapse; + background-color: white; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + border-radius: 8px; + overflow: hidden; } td, th{ - padding: 5px; + padding: 12px 15px; + text-align: left; + border-bottom: 1px solid #e0e0e0; +} + +th{ + background-color: #f5f5f5; + font-weight: 600; + color: #333; +} + +tr:hover { + background-color: #fafafa; } button{ - padding: 5px; - background-color: black; + padding: 10px 16px; + background-color: #1976d2; color: white; - border-radius: 5px; + border-radius: 6px; border-style: none; + cursor: pointer; + font-weight: 600; + transition: all 0.3s ease; + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); +} + +button:hover { + background-color: #1565c0; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); + transform: translateY(-2px); +} + +button:active { + transform: translateY(0); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .pageControls{ @@ -35,14 +81,24 @@ button{ flex-direction: column; align-items: center; text-align: center; + gap: 20px; + padding: 30px; } .editBtn{ - background-color: aqua; - color: black; + background-color: #ff9800; + color: white; +} + +.editBtn:hover { + background-color: #f57c00; } .delBtn{ - background-color: red; + background-color: #d32f2f; color: white; +} + +.delBtn:hover { + background-color: #b71c1c; } \ No newline at end of file