-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
63 lines (55 loc) · 1.03 KB
/
styles.css
File metadata and controls
63 lines (55 loc) · 1.03 KB
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
56
57
58
59
60
61
62
63
/* Center the body content */
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
margin: 0;
padding: 0;
min-height: 100vh;
}
/* Center the header, main, and footer content */
header, main, footer {
width: 100%;
max-width: 800px;
margin: 20px;
}
/* Style the nav */
nav ul {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 15px;
}
nav ul li {
display: inline;
}
/* Resize and center the image */
img {
max-width: 50%; /* Adjust this value to resize the image */
height: auto;
display: block;
margin: 0 auto;
}
/* Remove bullet points from lists */
ul {
list-style-type: none;
padding: 0;
}
ul li {
margin-bottom: 10px;
}
/* Add some padding and margin to sections */
section {
margin-bottom: 20px;
padding: 10px;
}
/* Ensure the footer is centered */
footer {
text-align: center;
padding: 10px;
width: 100%;
background-color: #f1f1f1;
}