-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
157 lines (135 loc) · 2.86 KB
/
style.css
File metadata and controls
157 lines (135 loc) · 2.86 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* Global reset and basic styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
}
.container {
max-width: 1200px;
margin: 0 auto;
background-color: white;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
/* Header styles */
.header {
background-color: #333;
color: white;
padding: 40px 0;
text-align: center;
}
.header h1 {
font-size: 48px;
margin-bottom: 10px;
}
.header p {
font-size: 20px;
}
/* Navigation styles */
.nav {
background-color: #f0f0f0;
padding: 20px 0;
text-align: center;
}
.nav a {
text-decoration: none;
color: #333;
padding: 10px 20px;
font-weight: bold;
font-size: 18px;
transition: background-color 0.3s ease;
}
.nav a:hover {
background-color: #333;
color: white;
}
/* Main section styles */
.main {
display: flex;
flex-wrap: wrap;
margin: 0;
justify-content: space-between;
}
.section {
flex-basis: calc(33.33% - 20px);
padding: 20px;
background-color: #f0f0f0;
/* Background color for sections */
margin: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
}
.section:hover {
transform: translateY(-5px);
}
.section h2 {
font-size: 28px;
margin-bottom: 10px;
color: #333;
}
.section p {
font-size: 18px;
line-height: 1.6;
color: #666;
}
.section ul {
list-style-type: disc;
margin-left: 20px;
}
.section li {
font-size: 18px;
margin-bottom: 10px;
color: #666;
}
/* Footer styles */
.footer {
background-color: #333;
color: white;
padding: 30px 0;
text-align: center;
font-size: 16px;
}
/* Media query for responsiveness */
@media (max-width: 768px) {
.main .section {
flex-basis: calc(50% - 20px);
}
}
/* ... (previous styles) ... */
/* Section heading styles */
.section h2 {
font-size: 28px;
margin-bottom: 10px;
color: #333;
background-color: #f0f0f0;
/* Background color for headings */
padding: 5px 10px;
/* Add padding to headings for better visual separation */
}
/* Paragraph styles */
.section p {
font-size: 18px;
line-height: 1.6;
color: #333;
background-color: #f0f0f0;
/* Background color for paragraphs */
padding: 5px 10px;
/* Add padding to paragraphs for better visual separation */
}
/* List item styles */
.section ul {
list-style-type: disc;
margin-left: 20px;
}
.section li {
font-size: 18px;
margin-bottom: 10px;
color: #333;
background-color: #f0f0f0;
/* Background color for list items */
padding: 5px 10px;
/* Add padding to list items for better visual separation */
}