Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
201 lines (198 loc) · 12.9 KB
/
Copy pathstyles.css
File metadata and controls
201 lines (198 loc) · 12.9 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
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
:root {
--ink: #363636;
--body: #4a4a4a;
--blue: #267cb3;
--line: #e5e5e5;
--surface: #f5f5f5;
--sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: #fff; color: var(--body); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: #17527a; text-decoration: underline; }
button { cursor: pointer; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.25; }
h1 { font-size: 36px; letter-spacing: -1.2px; margin-bottom: 14px; }
h2 { font-size: 32px; letter-spacing: -.7px; margin-bottom: 24px; text-align: center; }
h3 { font-size: 20px; margin-bottom: 12px; }
p { margin-bottom: 18px; }
sup { font-size: .67em; line-height: 0; vertical-align: super; }
.page-shell { width: min(100% - 48px, 1024px); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: #fff; transform: translateY(-160%); z-index: 10; }
.skip-link:focus { transform: none; }
/* The supplied logo files contain transparent padding; crop it in layout only. */
.institution-logos { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 20px 32px 0; }
.institution-logo { position: relative; display: block; overflow: hidden; flex: 0 0 auto; height: 56px; }
.logo-toronto { width: 138px; }
.logo-mcgill { width: 150px; }
.institution-logo img { position: absolute; top: 50%; left: 50%; width: 100%; max-width: none; height: auto; transform: translate(-50%, -50%); }
.hero { padding: 36px 0 48px; text-align: center; }
.hero-copy { max-width: 940px; margin: auto; }
.project-mark { width: 76px; height: auto; margin: 0 auto 20px; }
.paper-subtitle { font-size: 24px; line-height: 1.4; color: var(--ink); max-width: 900px; margin: 0 auto 26px; letter-spacing: -.45px; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 22px; row-gap: 6px; font-size: 20px; line-height: 1.6; max-width: 800px; margin: 0 auto 8px; }
.authors > span { white-space: nowrap; }
.authors a { color: #2784ba; }
.authors sup { margin-left: 2px; }
.contribution { font-size: 14px; margin: 0 0 12px; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: 18px; max-width: 760px; margin: 0 auto 18px; }
.affiliations span { white-space: nowrap; }
.publication-status { font-size: 20px; margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; min-height: 42px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; line-height: 1.5; transition: background .15s; }
.button:hover { background: #202020; color: #fff; text-decoration: none; }
.button svg { width: 16px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button .resource-logo { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.button .arxiv-logo { width: 16px; height: 22px; filter: brightness(0) invert(1); }
.teaser { max-width: 920px; margin: 0 auto; }
.video-figure video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #fff; }
.video-figure figcaption { text-align: center; font-size: 14px; }
.tldr { max-width: 900px; margin: 22px auto 0; font-size: 20px; line-height: 1.6; text-align: center; }
.tldr strong { margin-right: 6px; color: var(--ink); }
.section { padding: 48px 0; }
.section-intro { max-width: 860px; margin: 0 auto 30px; text-align: justify; }
#overview { max-width: 860px; margin-inline: auto; padding-bottom: 20px; }
#overview .section-intro { margin-bottom: 0; }
figcaption { font-size: 15px; line-height: 1.65; margin-top: 14px; }
.figure-label { font-weight: 600; color: var(--ink); margin-right: 7px; }
.paper-figure { margin: 28px 0; }
.pdf-figure { width: 100%; }
.pdf-viewport { width: 100%; aspect-ratio: var(--pdf-ratio, 4 / 3); background: #fff; }
.pdf-document { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pdf-document canvas { display: block; width: 100%; height: 100%; }
.pdf-status { padding: 24px; text-align: center; font-size: 14px; }
.pdf-link { display: block; width: fit-content; margin: 8px 0 0 auto; font-size: 13px; }
.figure-portrait { max-width: 850px; margin-inline: auto; }
.radar-figure { max-width: 680px; margin: 42px auto; text-align: center; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 36px 0; }
.step-number { display: block; font-size: 14px; color: var(--blue); margin-bottom: 10px; }
.method-steps p { font-size: 15px; margin-bottom: 0; }
.figure-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.figure-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; list-style: none; cursor: pointer; font-weight: 500; color: var(--ink); }
.figure-details summary::-webkit-details-marker { display: none; }
.figure-details summary > span { font-size: 24px; font-weight: 400; transition: transform .15s; }
.figure-details[open] summary > span { transform: rotate(45deg); }
.figure-details > figure, .localizer-grid { margin: 16px 0 24px; }
.localizer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
/* Case explorer: thumbnails select a scene; the view below updates in place. */
.case-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 20px; }
.case-thumbs button { display: flex; flex-direction: column; justify-content: flex-start; padding: 0; border: 0; background: none; color: var(--ink); font-size: 13px; line-height: 1.3; }
.case-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; outline: 1px solid transparent; outline-offset: 2px; }
.case-thumbs button:hover img { outline-color: #ccc; }
.case-thumbs [aria-pressed="true"] img { outline-color: var(--ink); }
/* Only the selected scene shows its name; the space is reserved so nothing shifts. */
.case-thumbs span { display: block; margin-top: 8px; visibility: hidden; }
.case-thumbs [aria-pressed="true"] span { visibility: visible; }
.case-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.case-toggles button { padding: 4px 12px; border: 1px solid #ccc; border-radius: 999px; background: #fff; color: var(--body); font-size: 13px; }
.case-toggles button:hover { border-color: var(--ink); }
.case-toggles [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Top: the input image beside the question and budget pickers. */
/* Left: input and pickers. Right: the methods. */
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.case-input { margin-bottom: 16px; }
.case-input .frame { width: min(100%, calc(360px * var(--aspect))); margin-left: 0; }
/* The selected thumbnail already names the scene. */
.case-input figcaption { display: none; }
.case-controls p { margin: 0 0 6px; color: var(--ink); font-size: 13px; font-weight: 500; }
.case-controls .case-toggles { margin-bottom: 14px; }
.case-controls .case-legend { margin: 0; color: var(--body); font-weight: 400; font-size: 13px; }
/* Below: one row per method; the label column holds the method name and its answer. */
/* Method blocks flow onto shared lines; images are sized so the longest method fills one line. */
.case-grid { container-type: inline-size; display: flex; flex-wrap: wrap; gap: 14px 18px; }
.case-method-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; font-size: 13px; }
.case-method-head strong { color: var(--ink); font-weight: 600; }
.case-method.is-ours strong { color: var(--blue); }
.case-stages { display: flex; flex-wrap: wrap; gap: 4px; }
.case-stages .shot { width: calc((100cqw - (var(--stages) - 1) * 4px) / var(--stages)); }
.shot { text-align: center; }
.shot figcaption { margin-top: 2px; font-size: 11px; line-height: 1.3; }
.frame { position: relative; width: 100%; aspect-ratio: var(--aspect); margin-inline: auto; }
.frame img { width: 100%; height: 100%; object-fit: contain; }
.box { position: absolute; pointer-events: none; }
.box-gt { border: 2px dashed #fff; outline: 1px solid rgb(0 0 0 / .5); }
.box-pred { border: 2px solid #e8336d; }
.answer { margin: 0; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.answer.is-ok { color: #1f7a3d; }
.answer.is-bad { color: #c0362c; }
.case-noscript { text-align: center; font-size: 15px; }
.findings { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; text-align: center; margin: 0 0 30px; padding: 22px 0; }
.findings strong { display: block; color: var(--ink); font-weight: 600; font-size: 28px; line-height: 1.3; }
.findings strong span { font-size: 16px; font-weight: 400; }
.findings p { font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
.table-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 32px; }
.table-heading span { font-size: 13px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
caption { text-align: left; padding-bottom: 12px; font-size: 14px; }
th, td { padding: 13px 14px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
th:first-child { text-align: left; }
thead th { background: var(--surface); font-weight: 600; }
.table-note { font-size: 13px; margin: 14px 0 0; }
.result-callout { margin: 28px 0; padding: 20px 24px; background: var(--surface); display: flex; align-items: flex-start; gap: 18px; }
.result-callout p { margin: 0; }
.callout-mark { font-size: 25px; color: var(--blue); }
.discussion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.citation-section { max-width: 960px; margin-inline: auto; }
.citation-heading { position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; }
.citation-heading h2 { margin: 0; }
.copy-button { position: absolute; right: 0; padding: 6px 16px; min-height: 36px; font-size: 13px; }
pre { padding: 24px; background: var(--surface); overflow-x: auto; margin: 0; font: 13px/1.65 var(--mono); tab-size: 2; }
.copy-status { font-size: 14px; min-height: 24px; margin: 8px 0 0; }
.acknowledgements { max-width: 860px; margin: 0 auto; padding: 24px 0 48px; text-align: center; }
.acknowledgements h2 { font-size: 24px; }
.acknowledgements p { font-size: 15px; }
.site-footer { background: #fafafa; padding: 36px 0; text-align: center; font-size: 14px; }
.site-footer p { margin: 10px 0 0; }
.wordmark { color: var(--ink); font-weight: 600; font-size: 18px; }
@media (max-width: 760px) {
.institution-logos { padding: 16px 24px 0; gap: 16px; }
.institution-logo { height: 48px; }
.logo-toronto { width: 118px; }
.logo-mcgill { width: 128px; }
.hero { padding-top: 32px; padding-bottom: 36px; }
h1 { font-size: 32px; }
.paper-subtitle { font-size: 21px; }
.authors { font-size: 18px; column-gap: 18px; }
.affiliations { font-size: 16px; column-gap: 18px; }
.section { padding: 36px 0; }
.method-steps { grid-template-columns: 1fr; gap: 24px; }
.method-steps h3 { margin-bottom: 8px; }
.localizer-grid, .discussion-grid { grid-template-columns: 1fr; gap: 24px; }
.findings { grid-template-columns: 1fr; gap: 24px; }
.case-thumbs { grid-template-columns: repeat(4, 1fr); }
.case-layout { grid-template-columns: 1fr; gap: 20px; }
.case-stages .shot { width: calc((100cqw - 8px) / 2); }
.table-heading { display: block; }
.table-heading h3 { margin-bottom: 6px; }
.table-heading span { display: block; margin-bottom: 12px; }
}
@media (max-width: 480px) {
.page-shell { width: calc(100% - 36px); }
.institution-logos { padding-right: 18px; }
h1 { font-size: 29px; letter-spacing: -.8px; }
h2 { font-size: 28px; }
.paper-subtitle { font-size: 19px; }
.authors { font-size: 16px; gap: 7px 14px; }
.contribution { font-size: 12px; }
.affiliations { font-size: 14px; gap: 6px 14px; }
.publication-status { font-size: 18px; }
.tldr { font-size: 18px; text-align: left; }
.section-intro { text-align: left; }
.citation-heading { justify-content: space-between; gap: 16px; }
.copy-button { position: static; }
.result-callout { padding: 18px; }
pre { padding: 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
* { transition: none !important; }
}