-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (91 loc) · 1.71 KB
/
style.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
}
.container {
width: 90%;
max-width: 1200px;
margin: auto;
}
/* Header */
header {
background: #007bff;
color: white;
padding: 20px 0;
text-align: center;
}
header h1 {
margin: 0;
}
header nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
}
header nav ul li {
margin: 0 15px;
}
header nav ul li a {
color: white;
text-decoration: none;
}
header nav ul li a:hover {
text-decoration: underline;
}
/* Sections */
section {
padding: 50px 0;
}
section h2 {
text-align: center;
margin-bottom: 20px;
}
/* Blog Posts */
#postList {
list-style: none;
padding: 0;
}
#postList li {
background: #fff;
margin: 10px 0;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
}
/* Contact Form */
form {
display: flex;
flex-direction: column;
align-items: center;
}
form input, form textarea, form button {
width: 80%;
max-width: 500px;
margin-bottom: 15px;
padding: 10px;
font-size: 16px;
border: 1px solid #ddd;
border-radius: 5px;
}
form button {
background: #007bff;
color: white;
border: none;
cursor: pointer;
}
form button:hover {
background: #0056b3;
}
/* Footer */
footer {
background: #333;
color: white;
text-align: center;
padding: 10px 0;
}