Repository navigation
Commit 2d04cc9
style: fold the map attribution, and give the empty video a surface
Three cosmetic knock-ons of recent work.
The attribution now opens as a pill rather than a rectangle ending in a
round button — the seam between the two was the whole complaint, and the
square corners were mine: MapLibre gives that container a 12px radius
natively and the OpenFreeMap pass flattened it. It also starts folded,
down to the ⓘ alone. MapLibre opens it on first render even in compact
mode, adding `maplibregl-compact-show` itself, so folding means taking
that class back off after load. The credit stays one click away, which
is what compact mode is for.
Its focus ring was MapLibre's blue #0096ff glow, and the button carried
`outline: none`, which is what had been stopping the site's own ring
from ever reaching it. Both undone, on the zoom buttons too.
The video player has had nothing to show since preload went to none, and
unstyled it was a hole in the page in dark mode. It gets bg-box, the
same surface as the document links below it, and a 16/9 box: with no
metadata the element falls back to 300x150, which full width stretched
into a 4:1 strip. A video of another shape is letterboxed, never
cropped.
Map screenshots retaken — the attribution reads differently now.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent c261a0d commit 2d04cc9
5 files changed
Lines changed: 50 additions & 2 deletions
File tree
- doc/screenshots
- src
- routes
- map
- projects/[slug]
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | | - | |
| 142 | + | |
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
145 | 154 | | |
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
149 | 173 | | |
150 | 174 | | |
151 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
124 | 141 | | |
125 | 142 | | |
126 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
| |||
0 commit comments