From ddac9bae3a569d50980c3b1775efd4a6aaa506be Mon Sep 17 00:00:00 2001 From: Thunderrock424242 <119463825+Thunderrock424242@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:18:18 -0400 Subject: [PATCH] Update styles.css --- styles.css | 141 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 123 insertions(+), 18 deletions(-) diff --git a/styles.css b/styles.css index 7928a729..e216fadc 100644 --- a/styles.css +++ b/styles.css @@ -1,18 +1,34 @@ +/* General Styling */ body { - font-family: Arial, sans-serif; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; - background-color: #1a1a1a; - color: #f2f2f2; + background-color: #121212; + color: #f5f5f5; + line-height: 1.6; } +a { + color: #f5f5f5; + text-decoration: none; +} + +a:hover { + color: #ff9800; +} + +/* Header Styling */ header { - background-color: #333; - padding: 20px; - text-align: center; + background-color: #1f1f1f; + padding: 20px 10%; + display: flex; + justify-content: space-between; + align-items: center; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } header h1 { + font-size: 24px; margin: 0; } @@ -21,49 +37,138 @@ nav ul { padding: 0; margin: 0; display: flex; - justify-content: center; + gap: 15px; } nav ul li { - margin: 0 15px; + margin: 0; } nav ul li a { - color: #f2f2f2; - text-decoration: none; + padding: 10px 15px; + background-color: #333; + border-radius: 5px; + transition: background-color 0.3s ease; +} + +nav ul li a:hover { + background-color: #555; } +/* Hero Section */ .hero { background-image: url('banner.jpg'); background-size: cover; background-position: center; text-align: center; - padding: 100px 20px; + padding: 150px 20px; + position: relative; +} + +.hero::after { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); } .hero h2 { font-size: 48px; margin-bottom: 20px; + color: #ff9800; + position: relative; + z-index: 1; } .hero p { font-size: 18px; margin-bottom: 30px; + position: relative; + z-index: 1; } .btn { - background-color: #e67e22; + background-color: #ff9800; color: #fff; - padding: 10px 20px; + padding: 15px 30px; text-decoration: none; font-size: 18px; - border-radius: 5px; + border-radius: 25px; + transition: background-color 0.3s ease; + position: relative; + z-index: 1; } .btn:hover { - background-color: #d35400; + background-color: #e67e22; +} + +/* About, Features, Gallery, and Blog Sections */ +section { + padding: 60px 10%; + text-align: center; +} + +h2 { + font-size: 36px; + margin-bottom: 20px; + color: #ff9800; +} + +p { + font-size: 18px; + margin-bottom: 20px; +} + +/* Gallery */ +.gallery-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 15px; +} + +.gallery-grid img { + width: 100%; + border-radius: 15px; + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.gallery-grid img:hover { + transform: scale(1.05); + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); } -.about, .features, .gallery, .blog { - padding: 50px 20px; - text-align: center \ No newline at end of file +/* Blog */ +.blog-post { + margin-bottom: 30px; + background-color: #1f1f1f; + padding: 20px; + border-radius: 10px; + transition: background-color 0.3s ease; +} + +.blog-post h3 { + font-size: 24px; + margin-bottom: 15px; +} + +.blog-post p { + font-size: 16px; +} + +.blog-post:hover { + background-color: #333; +} + +/* Footer */ +footer { + background-color: #1f1f1f; + padding: 20px 10%; + text-align: center; + font-size: 14px; + color: #ccc; + box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3); +} \ No newline at end of file