Blue demon commited on
Commit
4e2d97e
·
verified ·
1 Parent(s): 824228c

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +50 -0
style.css ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ html, body {
2
+ margin: 0;
3
+ padding: 0;
4
+ height: 100%;
5
+ background: url('https://raw.githubusercontent.com/Bolaolat/Giveaway-/main/_1.jpg') no-repeat center center fixed;
6
+ background-size: cover;
7
+ color: #fff;
8
+ }
9
+
10
+ .overlay {
11
+ position: relative;
12
+ background: rgba(255, 255, 255, 0.1);
13
+ padding: 3rem;
14
+ border-radius: 8px;
15
+ box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
16
+ backdrop-filter: blur(8px);
17
+ max-width: 500px;
18
+ width: 90%;
19
+ margin: auto;
20
+ margin-top: 10vh;
21
+ }
22
+
23
+ .loader {
24
+ width: 100px;
25
+ height: 40px;
26
+ --g: radial-gradient(farthest-side,#0000 calc(95% - 3px),#fff calc(100% - 3px) 98%,#0000 101%) no-repeat;
27
+ background: var(--g), var(--g), var(--g);
28
+ background-size: 30px 30px;
29
+ animation: l9 1s infinite alternate;
30
+ position: absolute; /* Position the loader over the overlay */
31
+ top: 50%; /* Center it vertically */
32
+ left: 50%; /* Center it horizontally */
33
+ transform: translate(-50%, -50%); /* Offset the position */
34
+ }
35
+
36
+ @keyframes l9 {
37
+ 0% { background-position: 0 50%, 50% 50%, 100% 50%; }
38
+ 20% { background-position: 0 0, 50% 50%, 100% 50%; }
39
+ 40% { background-position: 0 100%, 50% 0, 100% 50%; }
40
+ 60% { background-position: 0 50%, 50% 100%, 100% 0; }
41
+ 80% { background-position: 0 50%, 50% 50%, 100% 100%; }
42
+ 100% { background-position: 0 50%, 50% 50%, 100% 50%; }
43
+ }
44
+
45
+ @media (max-width: 640px) {
46
+ .overlay {
47
+ padding: 1.5rem;
48
+ margin-top: 2rem;
49
+ }
50
+ }