-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.css
More file actions
250 lines (214 loc) · 4.27 KB
/
common.css
File metadata and controls
250 lines (214 loc) · 4.27 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
/* ===================================
Common Styles - Shared Across All Pages
=================================== */
/* CSS Variables */
:root {
--link-color: #4dabf7;
--link-hover: #8d74fc;
--primary-purple: #6a11cb;
--primary-blue: #2575fc;
--primary-green: #00a86b;
--accent-red: #ff6b6b;
--accent-red-hover: #ff5252;
--text-dark: #333;
--bg-light: #f9f9f9;
--bg-highlight: #e3f2fd;
--border-light: #eee;
}
/* Base Styles */
html {
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
color: var(--text-dark);
line-height: 1.6;
overflow-x: hidden; /* Prevent horizontal scrolling */
}
/* Links */
a {
color: var(--link-color);
text-decoration: none;
transition: color 0.3s ease;
}
a:hover, a:focus {
color: var(--link-hover);
text-decoration: underline;
}
/* Make all images responsive */
img {
max-width: 100%;
height: auto;
}
/* Header */
header {
background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
color: white;
padding: 2rem 0;
text-align: center;
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Section */
section {
padding: 4rem 1rem;
max-width: 1000px;
margin: 0 auto;
}
/* Buttons */
.button,
.cta-button {
display: inline-block;
background-color: var(--accent-red);
color: white;
padding: 0.8rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
font-size: 1.1rem;
transition: all 0.3s ease;
}
.button:hover,
.cta-button:hover {
background-color: var(--accent-red-hover);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
color: white;
text-decoration: none;
}
/* Card Styles */
.card {
background: white;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h3 {
margin-top: 0;
color: var(--text-dark);
}
/* Icon Styles */
.icon {
font-size: 3rem;
margin-bottom: 1rem;
color: var(--primary-purple);
}
/* Grid Layouts */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.grid-3col {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
margin-top: 2rem;
}
/* Highlight Boxes */
.highlight-box {
background-color: var(--bg-light);
border-radius: 10px;
padding: 2rem;
margin: 2rem 0;
border-left: 5px solid var(--primary-purple);
}
.highlight-box h3 {
margin-top: 0;
color: var(--primary-purple);
}
/* Info/Tip Boxes */
.info-box {
background-color: var(--bg-highlight);
border-radius: 10px;
padding: 1.5rem;
margin: 1.5rem 0;
display: flex;
align-items: flex-start;
}
.info-icon {
font-size: 2rem;
margin-right: 1rem;
color: var(--primary-blue);
}
.info-box p {
margin: 0;
}
/* Footer */
footer {
background-color: var(--text-dark);
color: white;
text-align: center;
padding: 2rem 0;
}
.footer-links a {
color: white;
margin: 0 1rem;
text-decoration: none;
}
.footer-links a:hover {
text-decoration: underline;
}
/* Media Queries for Responsive Design */
@media (max-width: 768px) {
.grid-3col {
grid-template-columns: repeat(2, 1fr);
}
.grid {
grid-template-columns: 1fr;
}
.cta-button,
.button {
padding: 0.8rem 1.8rem;
}
.card {
max-width: 500px;
margin: 0 auto;
}
}
@media (max-width: 480px) {
section {
padding: 2rem 1rem;
}
.card {
padding: 1.5rem;
}
.cta-button,
.button {
padding: 0.7rem 1.5rem;
font-size: 1rem;
display: block;
width: 80%;
margin: 8px auto;
text-align: center;
}
.grid-3col,
.grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
}
@media (min-width: 1400px) {
.grid-3col {
grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 2000px) {
body {
font-size: 18px;
}
.container {
max-width: 1800px;
}
}