Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderrock424242 authored Aug 14, 2024
1 parent c44c225 commit ddac9ba
Showing 1 changed file with 123 additions and 18 deletions.
141 changes: 123 additions & 18 deletions styles.css
Original file line number Diff line number Diff line change
@@ -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;
}

Expand All @@ -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
/* 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);
}

0 comments on commit ddac9ba

Please sign in to comment.