forked from ANSHIKA-26/WordWise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_writing.css
377 lines (288 loc) · 6.32 KB
/
start_writing.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
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
.blog-form-container {
background: url('/path-to-your-uploaded-image') no-repeat center center;
background-size: cover;
padding: 30px;
border-radius: 10px;
max-width: 800px;
margin: 20px auto;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}
/* Input, Textarea, and Select Styling */
form input, form select, form textarea {
width: 100%;
padding: 12px;
margin: 10px 0 20px;
border: none;
border-radius: 8px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
font-size: 1rem;
}
/* Theme-specific Adjustments */
body.dark-mode .blog-form-container {
background-color: rgba(34, 33, 33, 0.6);
color: #fff;
}
body.light-mode .blog-form-container {
background-color: rgba(0, 0, 0, 0.6);
color: #333;
}
/* Button Styling */
form button[type="submit"] {
background-color: #ff6600;
color: #fff;
border: none;
padding: 12px 20px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button[type="submit"]:hover {
background-color: #e65c00;
}
/* Placeholder for blog content */
textarea#blogContent::placeholder {
content: "Write a sample blog to give an idea of size";
}
/* Popup styling for success */
#popupMessage {
display: block; /* Ensure it's set to block */
background-color: #4CAF50;
color: white;
padding: 15px;
border-radius: 5px;
position: fixed;
top: 10%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
z-index: 1000; /* Ensure it stays on top */
animation: fadeOut 3s forwards;
}
@keyframes fadeOut {
0% {
opacity: 1;
}
80% {
opacity: 1;
}
100% {
opacity: 0;
}
}
/* Footer Styles */
#custom-footer {
background-color: #f8f9fa; /* Light background color */
padding: 20px 0;
color: #333; /* Default text color */
}
.footer-container {
width: 90%;
margin: 0 auto;
}
.footer-row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.footer-col {
flex: 1;
padding: 10px;
min-width: 250px; /* Minimum width for responsive design */
}
.footer-title {
font-size: 1.5rem;
margin-bottom: 10px;
color: #3B3B58; /* Title color */
}
.footer-content {
font-size: 0.9rem;
}
.footer-description {
margin: 10px 0;
}
.footer-address, .footer-phone, .footer-email {
margin: 5px 0;
}
.footer-icon {
color: #007bff; /* Primary color for icons */
margin-right: 5px;
}
.footer-email-link {
color: #3B3B58; /* Email link color */
text-decoration: none;
}
.footer-email-link:hover {
text-decoration: underline;
}
.feature-post {
margin-top: 15px;
}
.post-item {
margin-bottom: 10px;
}
.post-flex {
display: flex;
align-items: center;
}
.post-image {
width: 80px; /* Fixed width for images */
height: 80px; /* Fixed height for images */
object-fit: cover;
margin-right: 10px;
}
.post-title {
font-size: 1rem;
color: #333; /* Title color */
}
.post-date {
font-size: 0.8rem;
color: #6c757d; /* Secondary text color */
}
.footer-tags, .footer-social {
margin-top: 10px;
}
.tags-wrapper, .social-wrapper {
display: flex;
flex-wrap: wrap;
}
.footer-tag, .footer-social-link {
background-color: #e9ecef; /* Light button color */
border-radius: 5px;
padding: 5px 10px;
margin: 5px;
color: #333; /* Default text color */
text-decoration: none;
}
.footer-tag:hover, .footer-social-link:hover {
background-color: #d5d9db; /* Darker button color on hover */
}
/* Footer */
/* Footer container */
.custom-footer {
background: transparent ;
padding: 40px 0;
color: #333;
}
.custom-footer .container {
max-width: 1200px;
margin: 0 auto;
}
.custom-footer .row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
/* Footer columns */
.custom-footer .col-3 {
flex: 0 0 30%; /* Takes up about 30% of width per column */
padding: 15px;
min-width: 280px; /* Ensures better minimum size on small screens */
box-sizing: border-box;
}
/* Footer Titles */
.custom-footer .footer-title {
font-size: 1.6rem;
margin-bottom: 20px;
color: #3B3B58;
font-weight: bold;
}
/* About Us content */
.custom-footer p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 20px;
color: #6c757d;
}
.custom-footer address {
font-style: normal;
margin-bottom: 15px;
color: #6c757d;
}
.custom-footer i {
margin-right: 10px;
color: #007bff;
}
.custom-footer .phone,
.custom-footer .email {
margin-bottom: 15px;
}
.custom-footer .email a {
color: #3B3B58;
text-decoration: none;
}
.custom-footer .email a:hover {
text-decoration: underline;
}
/* Feature Post section */
.custom-footer .feature-post {
margin-top: 20px;
}
.custom-footer .article {
margin-bottom: 20px;
}
.custom-footer .article .d-flex {
display: flex;
align-items: center;
}
.custom-footer .article img {
width: 90px; /* Larger image for better balance */
height: 90px;
object-fit: cover;
margin-right: 15px; /* Increased spacing between image and text */
border-radius: 8px;
}
.custom-footer .text-title {
font-size: 1.1rem; /* Slightly larger text for better readability */
color: #333;
text-decoration: none;
}
.custom-footer .text-title:hover {
text-decoration: underline;
}
.custom-footer .secondary-title {
font-size: 0.9rem;
color: #6c757d;
}
.custom-footer .display-3 {
font-size: 0.85rem;
}
/* Tags section */
.custom-footer .tags {
margin-top: 20px;
}
.custom-footer .tags .nav-link {
background-color: #e9ecef;
border-radius: 5px;
padding: 8px 12px; /* More padding for better button size */
margin: 5px;
color: #333;
text-decoration: none;
font-size: 0.9rem;
}
.custom-footer .tags .nav-link:hover {
background-color: #d5d9db;
}
/* Social media section */
.custom-footer .social .nav-link {
padding: 10px;
font-size: 1.2rem;
background-color: #e9ecef;
border-radius: 50%;
margin: 5px;
color: #333;
}
.custom-footer .social .nav-link:hover {
background-color: #d5d9db;
}
/* Responsive Media Queries */
@media (max-width: 768px) {
.custom-footer .col-3 {
flex: 0 0 45%; /* Each column takes up 45% on tablet screens */
}
}
@media (max-width: 480px) {
.custom-footer .col-3 {
flex: 0 0 100%; /* Each column takes up full width on mobile screens */
}
}