Repository navigation
Expand file tree
/
Copy pathresults.css
More file actions
73 lines (73 loc) · 5.57 KB
/
Copy pathresults.css
File metadata and controls
73 lines (73 loc) · 5.57 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
/* Selected Table 1 / Table 2 results, with zero-based vertical bar charts. */
/* Match the real-world experiment section's width and responsive gutters. */
.results-section > .section-shell { width: min(1200px, calc(100% - 128px)); max-width: 1200px; }
.paper-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; min-width: 0; margin-top: 12px; }
.result-family { min-width: 0; padding: 24px 20px; border: 1px solid var(--line); border-radius: 16px; background: #101416; }
.result-family-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; min-height: 32px; margin-bottom: 28px; }
.result-family-heading h3 { margin: 0; color: #edf0ec; font: 500 24px/1.3 var(--sans); letter-spacing: -.5px; }
.result-family-heading > span { color: var(--muted); font: 400 12px/1.5 var(--sans); }
.result-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.result-chart { --plot-height: 220px; --label-height: 48px; --reference-bar-gap: 4px; min-width: 0; margin: 0; }
.result-chart figcaption { min-height: 42px; margin-bottom: 18px; color: #e0e5de; font: 500 14px/1.5 var(--sans); }
.result-chart-scroll { overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; scrollbar-color: #526052 transparent; }
.result-chart-scroll:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.result-plot { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: var(--plot-height) var(--label-height); column-gap: 8px; min-width: 0; }
.result-y-axis { position: relative; grid-column: 1; grid-row: 1; color: #8e999e; font: 400 10px/1 var(--sans); font-variant-numeric: tabular-nums; }
.result-y-axis > span { position: absolute; right: 0; transform: translateY(50%); }
.result-plot-area { container-type: inline-size; position: relative; grid-column: 2; grid-row: 1 / 3; min-width: 0; }
.result-gridlines { position: absolute; inset: 0 0 auto; height: var(--plot-height); border-left: 1px solid #ffffff20; pointer-events: none; }
.result-gridlines > span { position: absolute; left: 0; right: 0; border-top: 1px solid #ffffff0d; }
.result-gridlines > span:first-child { border-color: #ffffff35; }
.result-bars { position: relative; display: grid; grid-template-columns: repeat(var(--method-count), minmax(0, 1fr)); gap: 4px; padding: 0 3px; margin: 0; list-style: none; }
.result-chart[data-table="2"] .result-bars { gap: var(--reference-bar-gap); }
.result-bar-row { display: grid; grid-template-rows: var(--plot-height) var(--label-height); min-width: 0; color: #bfc5c7; font: 400 11px/1.4 var(--sans); font-variant-numeric: tabular-nums; text-align: center; }
.result-track { position: relative; display: block; min-width: 0; }
/* Use the seven-method navigation chart's column width for every bar. */
.result-bar { position: absolute; bottom: 0; left: 50%; width: min(52px, calc((100cqw - 6px - 6 * var(--reference-bar-gap)) / 7 * .64)); height: var(--bar-height); transform: translateX(-50%); border-radius: 3px 3px 0 0; background: #76818a; }
.result-value { position: absolute; bottom: var(--bar-height); left: 50%; transform: translate(-50%, -8px); color: #cbd1d3; font-size: 12px; white-space: nowrap; }
.result-model { display: block; min-width: 0; padding-top: 12px; overflow-wrap: normal; }
.result-value strong { color: #f3f5f0; font-weight: 700; }
.result-second { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b6bdb3; }
.result-ours { color: #cdf0a7; font-weight: 600; }
.result-ours .result-bar { background: var(--accent); }
.result-ours .result-value, .result-ours .result-value strong { color: #cef0aa; }
.result-missing .result-value { color: #818b90; }
.results-chart-note { margin: 22px 0 0; color: #a6afb2; font: 400 12px/1.7 var(--sans); }
.results-ranking-note { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: #a6afb2; font: 400 12px/1.7 var(--sans); }
.results-color-key { display: inline-flex; align-items: center; gap: 8px; color: #d4e6be; }
.results-color-key::before { content: ""; width: 8px; height: 14px; border-radius: 2px 2px 0 0; background: var(--accent); }
@media (min-width: 1200px) {
.result-chart { --reference-bar-gap: 2px; }
.result-family { padding-inline: 12px; }
.result-chart-grid { gap: 12px; }
.result-plot { grid-template-columns: 24px minmax(0, 1fr); column-gap: 4px; }
.result-chart[data-table="2"] .result-bar-row { font-size: 9px; }
.result-chart[data-table="2"] .result-value { font-size: 10px; }
}
@media (max-width: 1199px) {
.paper-results { grid-template-columns: minmax(0, 1fr); }
.result-family { padding: 24px; }
.result-chart-grid { gap: 24px; }
}
@media (max-width: 760px) {
.result-chart-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
.result-chart + .result-chart { padding-top: 26px; border-top: 1px solid var(--line); }
.result-chart figcaption { min-height: 0; }
.result-chart { --reference-bar-gap: 2px; }
.paper-results { gap: 18px; }
.result-family { padding: 22px 18px; }
.result-family-heading { margin-bottom: 24px; }
.result-chart[data-table="2"] .result-bar-row { font-size: 10px; }
.result-chart[data-table="2"] .result-value { font-size: 11px; }
}
@media (max-width: 400px) {
.result-family { padding: 20px 14px; }
.result-family-heading h3 { font-size: 22px; }
.result-chart[data-table="2"] .result-bar-row { font-size: 9px; }
}
@media (max-width: 900px) {
.results-section > .section-shell { width: calc(100% - 64px); }
}
@media (max-width: 680px) {
.results-section > .section-shell { width: calc(100% - 40px); }
}