-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (62 loc) · 1.49 KB
/
style.css
File metadata and controls
70 lines (62 loc) · 1.49 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
body {
background: linear-gradient(to right, #ff7e5f, #feb47b);
display: flexbox;
align-items: center;
justify-content: center;
text-align: center;
font-style: italic;
height: 100vh;
/* Ensure body takes full height of the viewport */
margin: 0;
/* Remove default margin */
}
.container {
width: 50%;
margin: auto;
margin-top: 10%;
padding: 10px;
}
.loading {
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(255, 255, 255, 0.8);
/* Add a semi-transparent background */
border-radius: 10px;
/* Rounded corners */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
/* Soft shadow for better visibility */
}
@keyframes rotate {
to {
transform: rotate(1turn);
}
}
.loading__anim {
width: 50px;
margin-top: 30px;
/* Increase size for better visibility */
height: 50px;
display: inline-block;
border: 5px solid rgba(189, 189, 189, 0.25);
border-left-color: rgba(3, 155, 229, 1);
border-top-color: rgba(3, 155, 229, 1);
border-radius: 50%;
animation: rotate 600ms infinite linear;
margin-bottom: 15px;
/* Add space below the animation */
}
.loading__anim:hover {
cursor: pointer;
animation: rotate 1s infinite linear;
}
/* Optional: Add some text styling for loading message */
.loading__text {
width: 100%;
margin-top: 20px;
font-size: 1.2em;
color: #333;
}