-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathmain.css
More file actions
89 lines (75 loc) · 1.25 KB
/
main.css
File metadata and controls
89 lines (75 loc) · 1.25 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
/* Body and Layout */
body {
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
}
/* Header and Navigation */
header {
background: #333;
color: #fff;
padding: 1rem 0;
}
header .logo {
font-size: 1.5rem;
font-weight: bold;
margin-left: 20px;
}
header nav ul {
list-style: none;
display: flex;
justify-content: flex-end;
margin-right: 20px;
}
header nav ul li {
margin-left: 20px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-size: 1rem;
transition: color 0.3s;
}
header nav ul li a:hover {
color: #f4f4f4;
}
/* Section Styling */
section {
padding: 2rem 5%;
margin: 2rem 0;
}
section h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
section p {
font-size: 1rem;
line-height: 1.5;
}
/* Footer */
footer {
background: #333;
color: #fff;
text-align: center;
padding: 1rem;
}
/* Responsive Design */
@media (max-width: 768px) {
header nav ul {
flex-direction: column;
align-items: center;
}
header nav ul li {
margin: 10px 0;
}
section {
padding: 2rem 2%;
}
}