Skip to content

Commit 26ae2e4

Browse files
committed
docs(css[structure]): move view transitions section after image rules
why: View transitions are not image-related — grouping them with image CLS rules is misleading. Moving to end of file keeps related sections together and matches the logical reading order. what: - Move view transitions CSS block after badge placeholder rules
1 parent 0fdb3d8 commit 26ae2e4

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/_static/css/custom.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,6 @@ article {
199199
* ────────────────────────────────────────────────────────── */
200200

201201

202-
/* ── View Transitions (SPA navigation) ────────────────────
203-
* Crossfade between pages during SPA navigation.
204-
* Browsers without View Transitions API get instant swap.
205-
* ────────────────────────────────────────────────────────── */
206-
::view-transition-old(root),
207-
::view-transition-new(root) {
208-
animation-duration: 150ms;
209-
}
210-
211202
img {
212203
content-visibility: auto;
213204
}
@@ -232,3 +223,12 @@ img[src*="codecov.io"] {
232223
border-radius: 3px;
233224
background: var(--color-background-secondary);
234225
}
226+
227+
/* ── View Transitions (SPA navigation) ────────────────────
228+
* Crossfade between pages during SPA navigation.
229+
* Browsers without View Transitions API get instant swap.
230+
* ────────────────────────────────────────────────────────── */
231+
::view-transition-old(root),
232+
::view-transition-new(root) {
233+
animation-duration: 150ms;
234+
}

0 commit comments

Comments
 (0)