-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassboard.css
249 lines (231 loc) · 5.57 KB
/
classboard.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
.title {
z-index:99;
xbackground-color:red;
position:absolute;
top:50px;
width:550px;
padding:50px;
animation-name: example;
animation-iteration-count: infinite;
color: white;
text-shadow: 1px 1px 2px black,
0 0 25px black,
0 0 55px black,
0 0 5px black;
xbox-shadow: 10px 10px 5px 12px lightblue;
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-weight:900;
font-size:68px;
}
.scroll-parent {
position: relative;
width: 100vw;
height: 100vh;
overflow-x: hidden;
overflow: hidden;
}
.boxes-container {
display: flex; /* Arrange boxes horizontally */
flex-direction: column; /* Stack them vertically */
gap: 20px; /* Add spacing between boxes */
animation: scroll-boxes 10s linear infinite normal;
-webkit-animation: scroll-boxes 10s linear infinite normal;
overflow-y: auto;
position:absolute;
top:0px;
left:0px;
}
.boxes-container2 {
display: flex; /* Arrange boxes horizontally */
flex-direction: column; /* Stack them vertically */
gap: 20px; /* Add spacing between boxes */
animation: scroll-boxes2 10s linear infinite normal;
-webkit-animation: scroll-boxes2 10s linear infinite normal;
overflow-y: auto;
position:absolute;
top:5px;
left:0px;
}
:root {
--scroll-end: translateY(-${boxesHeight}px); /* Initial value placeholder */
}
:root {
--scroll-end2: translateY(-${boxesHeight}px); /* Initial value placeholder */
}
:root {
--scroll-end3: translateY(-${boxesHeight}px); /* Initial value placeholder */
}
@keyframes scroll-boxes {
0% {
transform: translateY(0);
}
100% {
transform: translateY(var(--scroll-end));
//transform: translateY(-4611px);
}
}
@keyframes scroll-boxes2 {
0% {
transform: translateY(var(--scroll-end3));
}
100% {
transform: translateY(0);
}
}
.qr-rounded-box {
background-color: #eee; /* Light grey background */
border-radius: 10px; /* Set your desired corner radius */
padding: 20px; /* Add some padding for text and image */
width: 15vw;
height: 15vw;
position:absolute;
display:block;
z-index:99;
right: 2vw;
bottom: 2vh;
}
.cal-container {
background-image: linear-gradient(45deg, rgb(255, 247, 150), rgba(247, 247, 174, 0.35));
border-radius: 10px; /* Set your desired corner radius */
padding: 20px; /* Add some padding for text and image */
right: 23vw;
bottom: 2vh;
position:absolute;
display:block;
z-index:99;
xx-top: 65vh;
left: 525px;
xx-overflow:hidden;
font-family:system-ui;
}
.cal-container h4 {
background-color: #555aff;
color: white;
padding: 0px;
margin-top:-20px;
margin-left:-20px;
margin-right:-20px;
margin-bottom:5px;
padding:3px;
padding-left:10px;
border-radius:10px;
}
.rounded-box {
background-color: #eee; /* Light grey background */
border-radius: 10px; /* Set your desired corner radius */
padding: 20px; /* Add some padding for text and image */
width: 450px; /* Set your desired fixed width */
height: auto; /* Allow box height to adjust to content */
}
.qr-rounded-box h4 {
background-image: linear-gradient(90deg, rgb(150, 150, 150), rgba(255, 255, 255,0));
color: white;
padding: 0px;
margin-top:-20px;
margin-left:-20px;
margin-right:-20px;
margin-bottom:5px;
padding:3px;
padding-left:10px;
border-radius:10px;
font-family:system-ui;
}
.rounded-box h2, .rounded-box p {
margin: 0; /* Remove default heading and paragraph margins */
}
.rounded-box img {
display: block; /* Makes image sit on a new line below text */
margin-top: 20px; /* Add space between text and image */
}
body {
xx-background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
overflow:hidden;
background: linear-gradient(-45deg, #ae5732, #a71c5e, #1396b5, #13b59b);
background-size: 400% 400%;
animation: body-gradient 15s ease infinite;
height: 100vh;
}
@keyframes body-gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.centered-container {
position: absolute;
top:0px;
left:5px;
width: 100vw;
height:66vh;
display: flex;
justify-content: center; /* Horizontally center */
align-items: center; /* Vertically center */
min-height: 100vh; /* Ensure full viewport height */
}
#alert {
z-index:105;
text-shadow: 1px 1px 2px black,
0 0 25px black,
0 0 55px black,
0 0 5px black;
box-shadow: 1px 1px 2px black,
0 0 25px black,
0 0 55px black,
0 0 5px black;
padding:25px;
border-radius:10px;
background-color:#0000FFD0
}
.alert_text {
color: yellow;
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-weight:900;
font-size:10vh;
}
.alert_title {
color: white;
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-weight:900;
font-size:86px;
}
.showalert {
opacity:100%;
transition: opacity 3s ease;
}
.hidealert {
opacity:0%;
transition: opacity 5s ease;
}
#alarm {
z-index:200;
text-shadow: 1px 1px 2px black,
0 0 25px black,
0 0 55px black,
0 0 5px black;
box-shadow: 1px 1px 2px black,
0 0 25px black,
0 0 55px black,
0 0 5px black;
padding:25px;
border-radius:10px;
animation: pulse 1s infinite alternate-reverse ease;
}
@keyframes pulse {
0% {
background-color: yellow; /* Initial color */
}
100% {
background-color: red; /* Target color for the pulse effect */
}
}
.alarm_text {
color: white;
font-family:"Trebuchet MS", Helvetica, sans-serif;
font-weight:900;
font-size:200;
}