forked from gdsc-geca/cloud-jam-certificate-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (88 loc) · 1.61 KB
/
style.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
:root {
--dark-color: #fff;
}
body {
font-family: system-ui;
text-align: center;
margin-top: 40px;
font-size: 1.5em;
}
h4 {
font-weight: normal;
margin-bottom: 5px;
}
h1 {
font-weight: normal;
margin-top: 0;
margin-bottom: 40px;
font-size: 2em;
}
img {
height: 120px;
}
main {
display: flex;
flex-direction: column;
align-items: center;
}
main * {
margin-bottom: 12px;
}
input {
font-size: large;
outline: none;
border: none;
border-bottom: 1px solid black;
}
/* Dark overlay behind the loader */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
z-index: 998; /* Place it below the loader */
display: none; /* Initially hide the overlay */
}
.loader-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 999; /* Make sure the loader is above the blurred background */
}
.loader {
border: 6px solid #f3f3f3;
border-top: 6px solid #3498db;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 2s linear infinite;
display: none; /* Initially hide the loader */
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
button {
background: #8bc34a;
color: #fff;
border: none;
font-size: 0.8em;
padding: 5px 15px;
margin: 20px;
border-radius: 5px;
cursor: pointer;
}
a {
color: #6492f6;
}
/* dark mode css */
@media (prefers-color-scheme: dark) {
body {
background: var(--dark-color);
color: #fff;
}
/* for styling the autocomplete style */
}