-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (40 loc) · 891 Bytes
/
Copy pathstyle.css
File metadata and controls
45 lines (40 loc) · 891 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
embed-portal {
display: flex;
flex-direction: column;
position: relative;
/* border: solid 2px var(--text); */
border: none;
border-radius: 10px;
box-shadow: 0 0 5px rgba(var(--shadow), var(--shadow), var(--shadow), 0.25);
box-sizing: border-box;
margin: 10px 20px;
padding: 0;
width: calc(100% - 40px);
/* height: 50vh; */
/* aspect-ratio: 16 / 9; */
aspect-ratio: 1.618 / 1;
@media (max-width: 1023px) {
margin: 10px;
width: calc(100% - 20px);
}
@media (max-width: 799px) {
margin: 0;
width: 100%;
border-radius: 0;
}
&:not([content-loaded]):not([content-error]) {
&:before {
content: '';
position: absolute;
inset: 0;
z-index: 10000;
background: light-dark(#dfdfdf, #1f1f1f);
}
}
error-msg {
align-self: center;
text-align: center;
margin: auto;
padding: 10px;
}
}