-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from navahmed786/issue#2
Made outline for css file
- Loading branch information
Showing
2 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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%; | ||
} | ||
} |