Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
66 lines (62 loc) · 1.49 KB
/
Copy pathstyle.css
File metadata and controls
66 lines (62 loc) · 1.49 KB
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
/* Smaller sidebar font sizes (0.8125rem ≈ 13px) */
#sidebar,
.sidebar,
.sidebar-content,
.sidebar-title,
.sidebar-group,
.sidebar-group-header,
.sidebar-nav-group-divider {
font-size: 0.8125rem !important;
}
#sidebar a,
.sidebar a,
.sidebar-content a {
font-size: 0.8125rem !important;
}
/* Summer blue for text links only; everything else stays ink.
Values from summer.games tokens: --summer-blue-bright / --summer-blue-hover. */
.prose a:not(.card):not([class*="card"]) {
color: #1a5fd0;
border-bottom-color: rgb(26 95 208 / 30%);
}
.prose a:not(.card):not([class*="card"]):hover {
color: #04378c;
border-bottom-color: currentColor;
}
html.dark .prose a:not(.card):not([class*="card"]) {
color: #7ab0ff;
border-bottom-color: rgb(122 176 255 / 30%);
}
html.dark .prose a:not(.card):not([class*="card"]):hover {
color: #a3c8ff;
}
/* Summer API model pages: example outputs, two to a row. */
.summer-samples img,
.summer-samples video,
.summer-samples model-viewer {
display: block;
width: 100%;
aspect-ratio: 16 / 10;
object-fit: contain;
margin: 0;
background: #f5f5f7;
}
html.dark .summer-samples img,
html.dark .summer-samples video,
html.dark .summer-samples model-viewer {
background: #161618;
}
.summer-samples audio {
display: block;
width: 100%;
margin-top: 0.5rem;
}
/* Model galleries: every thumbnail the same shape. */
.summer-gallery img {
aspect-ratio: 16 / 9;
object-fit: cover;
width: 100%;
}
.summer-samples figure > div > div:has(> audio) {
width: 100%;
}