-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
55 lines (48 loc) · 1.64 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* General Styles */
body {
font-family: Arial, sans-serif; /* Sets the font for the entire page */
line-height: 1.6; /* Increases line height for better readability */
margin: 0;
padding: 0;
background-color: #f4f4f4; /* Light gray background color */
}
/* Header Styles */
header {
background: #35424a; /* Dark background for the header */
color: #ffffff; /* White text color */
padding: 20px 0; /* Padding for the header */
text-align: center; /* Center-aligns the header text */
}
nav ul {
list-style: none; /* Removes bullet points from the list */
padding: 0; /* Removes default padding */
}
nav ul li {
display: inline; /* Displays list items in a row */
margin: 0 15px; /* Adds space between the items */
}
nav ul li a {
color: #ffffff; /* White text color for links */
text-decoration: none; /* Removes underline from links */
}
/* Main Content Styles */
main {
padding: 20px; /* Adds padding around the main content */
}
article {
background: #ffffff; /* White background for articles */
padding: 15px; /* Padding inside articles */
margin-bottom: 20px; /* Space between articles */
border-radius: 5px; /* Rounded corners for articles */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}
/* Footer Styles */
footer {
text-align: center; /* Center-aligns footer text */
padding: 10px 0; /* Padding for the footer */
background: #35424a; /* Dark background for the footer */
color: #ffffff; /* White text color */
position: relative; /* Positions footer at the bottom */
bottom: 0;
width: 100%; /* Full width for the footer */
}