Commit dc7a167
authored
Style method entries as signature cards in aliki theme (#1669)
## Summary
- Add subtle background card with left accent border to method headers,
visually separating the API signature zone from documentation prose
- New `--color-sig-bg` design token (lighter than `--color-code-bg`) for
both light and dark themes
- Source button repositioned with absolute positioning (was float-based)
- Method heading links no longer inherit global underline styles
- Description body gets slight left padding to align with the accent
border
CSS-only change — no template modifications.
## Before / After
| Before | After |
|--------|-------|
| <img width="819" height="1311" alt="sig-card-before"
src="https://github.com/user-attachments/assets/729fbc57-a287-46b3-a511-ab757884c9ef"
/> | <img width="810" height="1265" alt="Screenshot 2026-04-02 at 15 25
10"
src="https://github.com/user-attachments/assets/1db4d11f-314f-4ced-ab81-b694543a7c22"
/> |1 parent 8323a43 commit dc7a167
1 file changed
Lines changed: 50 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| 208 | + | |
| 209 | + | |
206 | 210 | | |
207 | 211 | | |
208 | 212 | | |
| |||
1282 | 1286 | | |
1283 | 1287 | | |
1284 | 1288 | | |
| 1289 | + | |
1285 | 1290 | | |
1286 | 1291 | | |
1287 | 1292 | | |
| |||
1292 | 1297 | | |
1293 | 1298 | | |
1294 | 1299 | | |
1295 | | - | |
1296 | | - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
1297 | 1305 | | |
1298 | 1306 | | |
1299 | 1307 | | |
1300 | | - | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1301 | 1311 | | |
1302 | 1312 | | |
1303 | 1313 | | |
1304 | | - | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1305 | 1328 | | |
1306 | 1329 | | |
1307 | 1330 | | |
| |||
1313 | 1336 | | |
1314 | 1337 | | |
1315 | 1338 | | |
1316 | | - | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
1317 | 1342 | | |
1318 | 1343 | | |
1319 | 1344 | | |
| |||
1356 | 1381 | | |
1357 | 1382 | | |
1358 | 1383 | | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
| 1384 | + | |
1362 | 1385 | | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1363 | 1392 | | |
1364 | 1393 | | |
1365 | 1394 | | |
1366 | | - | |
| 1395 | + | |
| 1396 | + | |
1367 | 1397 | | |
1368 | 1398 | | |
1369 | 1399 | | |
| |||
1410 | 1440 | | |
1411 | 1441 | | |
1412 | 1442 | | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
1413 | 1452 | | |
1414 | | - | |
1415 | | - | |
| 1453 | + | |
| 1454 | + | |
1416 | 1455 | | |
1417 | 1456 | | |
1418 | 1457 | | |
| |||
0 commit comments