-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwidget.css
More file actions
55 lines (47 loc) · 883 Bytes
/
widget.css
File metadata and controls
55 lines (47 loc) · 883 Bytes
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
/* Tailwind CSS :D */
.widget {
.iframe-embed-container {
width: 100%;
padding: 1rem;
background: #f8f9fa;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: opacity 0.3s ease;
opacity: 0.9;
}
.iframe-embed-container.loaded {
opacity: 1;
}
.iframe-wrapper {
position: relative;
width: 100%;
background: white;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.embedded-frame {
width: 100%;
height: 600px;
border: none;
display: block;
}
}
@media (min-width: 768px) and (max-width: 1024px) {
.widget {
.embedded-frame {
height: 500px;
}
}
}
@media (max-width: 767px) {
.widget {
.iframe-embed-container {
padding: 0.5rem;
}
.embedded-frame {
height: 400px;
}
}
}
/* OOGA BOOGA! */