-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
413 lines (369 loc) · 10.1 KB
/
style.css
File metadata and controls
413 lines (369 loc) · 10.1 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
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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
html {
width: 100%;
margin: 0;
height: 100%;
}
body {
/*Test*/
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
/* Changed from center to flex-start for proper spacing */
min-height: 100vh;
/* Ensure it takes up the full height */
color: #fff;
margin: 0;
/* Ensure no margin on body */
}
.background{
background-image: url("./EmptyBackground.png");
}
#toastBox {
position: fixed;
bottom: 20px; /* Distance from the bottom */
right: 20px; /* Distance from the right */
z-index: 1050;
}
.toast {
width: 400px;
margin: 5px 0; /* Reduced space between toasts */
}
.toast-body {
display: flex; /* Ensure items are in a row */
align-items: center; /* Vertically center items */
padding: 10px; /* Adjust padding */
}
.toast-body i {
margin-right: 10px; /* Space between icon and text */
font-size: 20px; /* Icon size */
}
.toast::after{
content:"";
position: absolute;
left:0;
bottom: 0;
width: 100%;
height:5px;
background: seagreen;
animation: anim 3s linear forwards;
}
.row>* {
flex-shrink: 0;
max-width: 100%;
padding-right: calc(var(--bs-gutter-x)* .5);
padding-left: calc(var(--bs-gutter-x)* .5);
margin-top: var(--bs-gutter-y);
}
.toast-o{
background-color: #333; /* Dark background for contrast */
color: white; /* Text color */
padding: 10px;
margin: 5px;
border-radius: 5px;
animation: fadeIn 0.5s, fadeOut 0.5s 2.5s; /* Animation for fade in/out */
min-width: 200px; /* Ensure minimum width for better visibility */
}
.header-container {
display:flex;
background-image: url("./EmptyBackground.png");
background-repeat: repeat-x;
width: 100%;
}
.header-image {
display: flex; /* Use flexbox for centering */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
width: 100%;
max-width: 50em; /* Maximum width */
height: auto; /* Maintain aspect ratio */
margin: 0 auto; /* Center container */
background-size: cover; /* Cover the entire container */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Prevent repetition */
max-height: 400px; /* Example to limit height on larger devices */
}
.container {
font-family: "Mirza", serif;
font-weight: 500;
font-style: normal;
background-color: rgba(0, 0, 0, 0.5);
padding: 30px;
margin: 50px;
border-radius: 10px;
text-align: center;
width: 100%;
/* Set width to 100% for responsiveness */
max-width: 600px;
/* Limit max width for larger screens */
}
.row > * {
flex-shrink: 0; /* Keep this to prevent shrinking */
width: auto; /* Change this from 100% to auto */
max-width: 100%; /* Keep this to ensure responsiveness */
padding-right: calc(var(--bs-gutter-x) * 0.5);
padding-left: calc(var(--bs-gutter-x) * 0.5);
margin-top: var(--bs-gutter-y);
}
h1 {
margin-bottom: 20px;
}
input[type="email"] {
width: 70%;
padding: 10px;
margin-bottom: 15px;
border: none;
border-radius: 5px;
}
input[type="text"] {
width: 70%;
padding: 10px;
margin-bottom: 15px;
border: none;
border-radius: 5px;
}
.Submit-button {
background-color: #51acc7;
color: white;
padding: 12px 15px;
margin-left: 5px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
/* Add transition for smooth effect */
}
.btn-primary{
background-color: #205c72;
}
.Archive-button{
background-color: #51acc7;
color: white;
padding: 12px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
/* Add transition for smooth effect */
}
button:hover {
background-color: #5ec8e7;
/* Change background color on hover */
transform: scale(1.05);
/* Slightly increase size on hover */
}
.Archive-button:hover{
background-color:#205C72;
}
.social-icons {
margin-top: 10px;
}
.social-icons a {
margin: 0 5px; /* Adjusted margin for closer spacing */
text-decoration: none;
color: #007bff;
font-size: 10px; /* Smaller icon size */
}
.container-cards {
display: flex;
flex-wrap: wrap;
justify-content: center; /* Center cards horizontally */
align-items: flex-start; /* Align items to the start to reduce vertical space */
padding: 20px;
}
.card {
max-width: 250px; /* تعيين الحد الأقصى للعرض */
margin: 10px; /* تقليل المسافة بين البطاقات */
border: 1px solid lightgray; /* حدود البطاقة */
transition: transform 0.3s, box-shadow 0.3s; /* تأثير الانتقال */
overflow: hidden; /* لإخفاء أي محتوى زائد */
display: flex; /* Enable flexbox for the card */
flex-direction: column; /* Stack children vertically */
align-items: center; /* Center children horizontally */
}
.card:hover {
transform: translateY(-5px); /* رفع البطاقة عند التمرير */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* ظل عند التمرير */
}
.card-body {
padding: 15px; /* padding for card body */
opacity: 1; /* Always visible */
transition: opacity 0.3s; /* تأثير الانتقال للشفافية */
text-align: center; /* Center text inside the card body */
}
iframe {
border: none; /* إزالة الحدود من الإطار */
width: 100%; /* عرض الإطار */
height: 200px; /* ارتفاع الإطار */
}
nav {
font-family: "Mirza", serif;
font-weight: 500;
font-style: normal;
color: azure;
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 10;
}
.btn-primary {
background-color: #205c72; /* Change background color */
border-color: #205c72; /* Change border color */
}
.btn-primary:hover {
background-color: #1a4f5a; /* Darker shade for hover effect */
border-color: #1a4f5a; /* Darker border color for hover */
}
.nav-item{
color: #fff;
}
nav .archive-nav {
font-family: "Mirza", serif;
font-weight: 500;
font-style: normal;
color: azure;
/* Removed position: fixed */
width: 100%; /* Ensure full width */
background-color: rgba(0, 0, 0, 0.7); /* Background color for visibility */
z-index: 10; /* Keep it above other content */
}
.nav-icon {
float: right;
margin-right: 20px;
color: #fff;
}
.title-divider-container {
text-align: center; /* Center align the title and divider */
margin: 20px 0; /* Spacing above and below the entire container */
}
.card-body{
font-family: "Mirza", serif;
font-weight: 500;
font-size: 50;
font-style: normal;
color: darkslategrey;
}
.title-a {
font-family: "Mirza", serif;
font-weight: 500;
font-size: 50;
font-style: normal;
color: darkslategrey;
margin: 0; /* Reset margin */
padding-bottom: 0; /* Remove space between title and divider */
}
.button-group {
display: flex;
justify-content: center;
margin-top: 10px; /* Adjust as needed */
}
.btn-custom {
background-color: gray;
font-family: 'Mirza', serif;
font-weight: 500;
font-size: 1.8rem;
color: azure;
padding: 7px 20px;
border-radius: 30px;
border: none;
cursor: pointer;
transition: background-color 0.3s;
}
.btn-custom:hover {
background-color: #667479ec;
}
.button-group .btn-custom + .btn-custom {
margin-left: 10px; /* Space between buttons */
}
.divider {
padding-top: 0; /* Remove padding on top */
padding-bottom: 14px; /* Padding below for spacing */
}
.divider-separator {
display: inline-block; /* Aligns it inline */
width: 100px; /* Width of the separator */
height: 2px; /* Height of the separator */
color: #205C72;
background-color: var(--e-global-color-primary, #51acc7); /* Default color */
border-style: solid; /* Border style */
border-width: 2px; /* Border width */
}
@media (max-width: 768px) {
.container {
width: 59%;
}
.nav {
display: flex; /* Ensures nav content is flexible */
justify-content: space-around; /* Horizontally distribute the nav items */
flex-direction: row; /* Horizontal alignment */
align-items: center;
}
.nav-link {
padding: 10px;
margin: 0; /* Removes any side margins */
}
}
footer {
z-index: 1;
font-family: "Mirza", serif;
font-weight: 500;
font-style: normal;
background-color: #205C72;
color: white;
/* Text color */
padding: 20px 0;
/* Padding for top and bottom */
text-align: center;
/* Center the text */
width: 100%;
/* Ensure footer takes full width */
position: relative;
/* Ensure footer is positioned properly */
}
.text-light{
padding-bottom: 10px;
}
.footer-content {
max-width: 1200px;
/* Max width for content */
margin: 0 auto;
/* Center the content */
padding: 0 20px;
/* Padding for left and right */
}
.social-icons {
margin-bottom: 10px;
/* Space below icons */
}
.social-icons a {
color: white;
/* Icon color */
/* Space between icons */
text-decoration: none;
/* Remove underline */
font-size: 100%;
/* Icon size */
}
.social-icons a:hover {
color: #ddd;
/* Change color on hover */
}
@media (max-width: 576px) {
.nav {
display: flex; /* Ensures nav content is flexible */
justify-content: space-around; /* Horizontally distribute the nav items */
flex-direction: row; /* Horizontal alignment */
align-items: center;
}
.nav-link {
padding: 10px;
margin: 0; /* Removes any side margins */
}
.container-cards .row {
margin-left: 0; /* Remove left margin */
margin-right: 0; /* Remove right margin */
}
}