Skip to content

Commit

Permalink
Merge pull request #6 from navahmed786/issue#2
Browse files Browse the repository at this point in the history
Made outline for css file
  • Loading branch information
navahmed786 authored Nov 15, 2023
2 parents 8fd2bf5 + ce447d7 commit 8b54b31
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2>Contact Us</h2>
</main>

<footer>
<p>&copy; 2023 Your Website. All rights reserved.</p>
<p>&copy; Navid Ahmed. All rights reserved.</p>
</footer>
</body>
</html>
69 changes: 69 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/* Reset default browser styles */
body,
h1,
h2,
h3,
p,
ul,
li {
margin: 0;
padding: 0;
}

/* Basic styling */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
}

header {
background-color: #444;
color: #fff;
padding: 20px 0;
text-align: center;
}

header nav ul {
list-style: none;
}

header nav ul li {
display: inline;
margin-right: 20px;
}

header nav ul li a {
color: #fff;
text-decoration: none;
}

main {
width: 80%;
margin: 20px auto;
}

section {
margin-bottom: 30px;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
text-align: center;
padding: 20px 0;
background-color: #444;
color: #fff;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
main {
width: 90%;
}
}

0 comments on commit 8b54b31

Please sign in to comment.