Skip to content

Commit 0335b1e

Browse files
NaishengNaisheng
authored andcommitted
Align HACo project page with final paper
1 parent 028a022 commit 0335b1e

4 files changed

Lines changed: 95 additions & 77 deletions

File tree

‎app/globals.css‎

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ img, video { display: block; max-width: 100%; }
7474
.title-block h1 .title-c { color: var(--title-green); }
7575
.title-block h1 .title-o { color: var(--title-green-light); }
7676
.article-shell .authors { margin: 48px auto 7px; font-size: 18px; }
77-
.affiliation { margin: 0; color: var(--muted); font: 13px/1.5 var(--font-paper); }
77+
.article-shell .authors sup { margin-left: 2px; font-size: .62em; }
78+
.article-shell .affiliation { margin: 0; color: var(--muted); font: 14px/1.55 var(--font-paper); }
79+
.article-shell .affiliation sup { margin-right: 2px; font-size: .72em; }
80+
.article-shell .affiliation-note { margin-top: 4px; font-size: 13px; font-style: italic; }
7881
.article-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
7982
.article-link { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 7px; text-decoration: none; font: 600 12px/1 var(--font-paper); }
8083
.article-link:hover { border-color: var(--accent); background: var(--accent-soft); }
@@ -94,6 +97,7 @@ img, video { display: block; max-width: 100%; }
9497
.abstract-language--zh p { line-height: 1.78; }
9598

9699
.paper-figure { width: 100%; margin: 42px 0 0; }
100+
.paper-figure--compact { width: 84%; margin-right: auto; margin-left: auto; }
97101
.paper-figure img, .paper-figure video { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
98102
.paper-figure video { background: #000; }
99103
.paper-figure figcaption { margin-top: 14px; color: var(--muted); font: 14px/1.55 var(--font-paper); }
@@ -140,12 +144,11 @@ img, video { display: block; max-width: 100%; }
140144
.benchmark-taxonomy div.active,
141145
.benchmark-taxonomy div[aria-current='true'] { padding-top: 10px; border-top: 5px solid #3e9879; color: #2f7d65; background: rgba(74,157,130,.1); font-weight: 800; }
142146

143-
.result-intro { padding: 17px 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
144-
.result-intro p { margin: 0; font: 14px/1.6 var(--font-paper); }
145-
.experiment-group { margin-top: 48px; }
147+
.article-shell .results-overview { margin: 0; color: var(--body-ink); font: 17px/1.68 var(--font-paper); }
148+
.experiment-group { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
146149
.experiment-group h3 { margin-bottom: 8px; }
147-
.experiment-group > p { color: var(--muted); font: 14px/1.6 var(--font-paper); }
148-
.table-wrap { overflow-x: auto; margin-top: 22px; }
150+
.article-shell .experiment-group > p { margin: 0; color: var(--body-ink); font: 17px/1.68 var(--font-paper); }
151+
.table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.62); }
149152
.result-table { width: 100%; min-width: 760px; border-collapse: collapse; font-family: var(--font-paper); }
150153
.result-table th, .result-table td { padding: 12px 9px; border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; }
151154
.result-table thead th { border-top: 2px solid var(--line-strong); color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
@@ -154,10 +157,10 @@ img, video { display: block; max-width: 100%; }
154157
.result-table thead th:nth-child(4) { border-top: 3px solid var(--task-balloon); }
155158
.result-table thead th:nth-child(5) { border-top: 3px solid var(--task-cap); }
156159
.result-table thead th:nth-child(6) { border-top: 3px solid var(--task-paste); }
157-
.result-table th:first-child { min-width: 190px; padding-left: 0; text-align: left; }
160+
.result-table th:first-child { width: 160px; min-width: 160px; padding-right: 10px; padding-left: 14px; text-align: left; }
158161
.result-table td { color: rgba(26,23,20,.74); font-family: var(--font-paper); font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
159162
.result-table--components { min-width: 850px; }
160-
.result-table--components th:first-child { min-width: 130px; }
163+
.result-table--components th:first-child { width: 150px; min-width: 150px; }
161164
.result-table--components thead th.component-head { width: 70px; min-width: 70px; padding-right: 5px; padding-left: 5px; color: rgba(26,27,24,.46); font-size: 10px; font-weight: 700; letter-spacing: normal; background: transparent; border-top: 2px solid var(--line-strong); }
162165
.result-table--components thead th:nth-child(4) { border-top: 3px solid var(--task-poker); }
163166
.result-table--components thead th:nth-child(5) { border-top: 3px solid var(--task-book); }
@@ -170,12 +173,15 @@ img, video { display: block; max-width: 100%; }
170173
.result-table tbody tr.ours th { color: #367e68; }
171174
.result-table tbody tr.ours th::after { content: 'OURS'; margin-left: 8px; padding: 2px 5px; border-radius: 3px; color: white; background: var(--accent); font: 700 8px/1 var(--font-paper); }
172175
.table-caption { margin-top: 11px !important; color: var(--muted) !important; font: 13px/1.5 var(--font-paper) !important; }
176+
.experiment-analysis { margin-top: 24px; padding: 16px 18px 17px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
177+
.experiment-analysis span { display: block; margin-bottom: 7px; color: var(--accent); font: 700 10px/1 var(--font-sans); letter-spacing: .09em; text-transform: uppercase; }
178+
.article-shell .experiment-analysis p { margin: 0; color: var(--body-ink); font: 15px/1.65 var(--font-paper); }
173179
.placeholder-warning { margin: 24px 0 0; padding: 11px 13px; border: 1px solid rgba(195,94,50,.3); border-radius: 7px; color: #774126; background: var(--warm-soft); font: 12px/1.5 var(--font-paper); }
174180

175181
.result-figure { margin: 30px 0 30px; }
176-
.result-figure__frame { position: relative; overflow-x: auto; }
182+
.result-figure__frame { position: relative; overflow-x: auto; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.56); }
177183
.result-figure__note { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; color: var(--muted); font: 10px/1.4 var(--font-paper); letter-spacing: .04em; text-transform: uppercase; }
178-
.result-figure figcaption { margin-top: 11px; color: var(--muted); font: 13px/1.5 var(--font-paper); }
184+
.result-figure figcaption { margin-top: 12px; color: var(--muted); font: 14px/1.55 var(--font-paper); }
179185
.horizontal-bars { width: 100%; display: grid; gap: 11px; }
180186
.horizontal-bar { display: grid; grid-template-columns: 148px 1fr 42px; gap: 10px; align-items: center; border-radius: 6px; transition: background .18s ease; }
181187
.horizontal-bar__label { color: rgba(26,23,20,.82); font: 600 12px/1.25 var(--font-paper); text-align: left; }
@@ -270,6 +276,7 @@ img, video { display: block; max-width: 100%; }
270276
.title-block h1 { font-size: 38px; }
271277
.article-shell h2 { margin-top: 58px; font-size: 30px; }
272278
.article-shell p, .article-shell li { font-size: 16px; }
279+
.paper-figure--compact { width: 100%; }
273280
.signal-key { grid-template-columns: 1fr; }
274281
.demo-caption__head { gap: 10px; }
275282
.demo-caption b { font-size: 15px; }

0 commit comments

Comments
 (0)