-
Notifications
You must be signed in to change notification settings - Fork 2
/
sketchfab_style.css
57 lines (45 loc) · 1.07 KB
/
sketchfab_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
body {
background-color: #000000;
text-align: center;
}
body,
td,
th {
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* Start Cookiebot Embeds */
.embed-container {
position: relative;
}
.embed-container::before {
content: "";
display: block;
padding-bottom: calc(100% / (var(--aspect-ratio, 16/9)));
}
.embed-container div[class*='cookieconsent-'],
.embed-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.embed-container [class*="cookieconsent-"]>div {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
width: 90%;
text-align: center;
}
/* CSS for browsers that don't support custom properties */
@supports not (--custom: property) {
.embed-container::before {
content: "";
display: block;
padding-bottom: 56.25%;
}
}
/* End Cookiebot Embeds */