1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-24 05:02:10 +00:00
Commit graph

214 commits

Author SHA1 Message Date
Rohan Kumar
1d44b76dc1
Stylesheet improvements for print
- Switch references to "1px" to "thin".
- Update docs to be clearer
- Put a border around <details> and comment why.
2024-05-04 16:40:33 -04:00
Rohan Kumar
cbd0b6d1fb
Hide ToC on print 2024-05-01 12:28:35 -04:00
Rohan Kumar
e863bde353
Add vector CSS badge 2024-04-26 20:29:39 -04:00
Rohan Kumar
05cb4b37ab
Add two new badges 2024-04-25 12:38:32 -04:00
Rohan Kumar
2b53070f94
Update daudix badge, add AGPLv3 badge 2024-04-22 21:23:36 -04:00
Rohan Kumar
7314a74713
Optimize some assets 2024-04-22 14:24:02 -04:00
Rohan Kumar
8acfae1f76
Badge fixes and badge docs
Switch some conformance/validation icons from blue to yellow. Update the
W3C icon to the latest official ones in
<https://www.w3.org/WAI/standards-guidelines/wcag/conformance-logos/>
and <https://www.w3.org/QA/Tools/Icons>.
2024-04-22 00:38:22 -04:00
Rohan Kumar
d150564123
Add DJ Chase's badge 2024-04-21 23:38:24 -04:00
Rohan Kumar
698fcb5a06
Fix valid RSS badge 2024-04-21 02:35:36 -04:00
Rohan Kumar
23ba252434
Moar badges + optims 2024-04-21 02:13:23 -04:00
Rohan Kumar
35af0034c6
Optimize some badges, add rss valid badge 2024-04-20 18:24:23 -04:00
Rohan Kumar
d8b5ea41f3
Add moth.monster badge, hotlinking clarification 2024-04-20 16:20:26 -04:00
Rohan Kumar
6a55181e39
Moar badges 2024-04-20 05:39:20 -04:00
Rohan Kumar
d4f895b5f2
Add a bunch of 88x31 badges 2024-04-19 21:55:23 -04:00
Rohan Kumar
80f3729fa7
Add HTML Hobbyist badge 2024-04-15 12:42:23 -04:00
Rohan Kumar
dc4dcb24a7
Add nonbot.org pledge 2024-03-12 23:57:44 -04:00
Rohan Kumar
2badbe2601
Use cache-busting partial instead of Fingerprint
This gives files much smaller fingerprints, and supports caching.
2023-12-08 16:08:40 -08:00
Rohan Kumar
ca16240b39
Remove some unnecessary containment
Some forms of containment help performance more than others. For certain
levels of perf improvement, it's not worth the extra bytes.
2023-11-27 12:27:23 -08:00
Rohan Kumar
6fcf7d6c98
Move breadcrumbs to footer 2023-11-24 22:00:58 -08:00
Rohan Kumar
66b6ac0dbc
remove some redundant/unnecessary CSS rules 2023-11-17 16:02:23 -08:00
Rohan Kumar
8b370abf02
New post: spoiler element 2023-11-12 13:48:39 -07:00
Rohan Kumar
aa9576e91d
Add some margins to image figures 2023-11-10 10:43:28 -08:00
Rohan Kumar
5e6d619a89
more jpeg-xl 2023-10-16 00:48:25 -07:00
Rohan Kumar
c2ab0e2198
Add a couple JXL image versions 2023-10-15 11:29:38 -07:00
Rohan Kumar
5c9f2ac344
Doc some CSS a bit 2023-08-21 11:23:40 -07:00
Rohan Kumar
ef10703db7
Use the default font-size
Now that more mobile browsers support text zoom, I don't need to worry
about font size as much. Moreover, iOS and Android support a zoomed mode
that makes all tap targets and text larger. This mode made my site's
larger text uncomfortably larger than other sites. On Android, this is
the "Display size" setting; on iOS, this is the "display zoom" setting
under "Display and Brightness" section.

This commit switches everything back to the browser's default font
sizes to better accomodate non-default zoom levels and display zoom
settings.
2023-05-24 14:07:35 -07:00
Rohan Kumar
1df4509b92
Add “not by AI” badge 2023-03-19 17:26:51 -07:00
Rohan Kumar
63328fd9a8
some static SVG compression 2023-03-19 17:26:11 -07:00
Rohan Kumar
c9537a5b89
Rebuild dark + increased-contrast fg palette
New foreground colors when BOTH "prefers-color-scheme: dark" and
"prefers-contrast: more" media queries evaluate to "true" at the same
time. Regular and reduced-contrast dark-mode remain unchanged, and
non-dark colors continue to be browser-defaults.

High-contrast dark-mode now has visually distinct visited/unvisited
links for red-green and blue-yellow color blindness, and targets an even
higher APCA contrast.
2022-10-26 11:59:39 -07:00
Rohan Kumar
205c7a1105
Chore: gitignore, some comments 2022-10-21 11:23:22 -07:00
Rohan Kumar
706d056fe4
Fix link margins 2022-10-20 00:19:04 -07:00
Rohan Kumar
04600cb92b
Use lists instead of <br /> when relevant
This required some style updates.
2022-10-19 14:42:13 -07:00
Rohan Kumar
7b11f993e2
Don't bold <dt>
It'll cause confusion with <h4>, and an upcoming post will have a lot of
those.
2022-10-17 12:43:56 -07:00
Rohan Kumar
112b9bdcdd
Add internet.nl badge to awards 2022-09-23 22:37:15 -07:00
Rohan Kumar
5fe6eadfe4
optimize assets 2022-09-05 21:38:26 -07:00
Rohan Kumar
0ff306e589
Simplify webring list, fix list-item cutoff
- CSS containment was cutting off nested list-item markers; increase
  their padding to compensate
- Remove nested <details> use, it was causing problems and was probably
  unnecessary
2022-08-24 20:14:09 -07:00
Rohan Kumar
068df74cff
Make prefers-contrast change contrast even more 2022-08-12 00:00:04 -07:00
Rohan Kumar
262eee804e
Shrink atom.svg to stay within max-bpp=0.15 2022-08-12 00:00:02 -07:00
Rohan Kumar
09ffbc3343
CSS: contain <dl> divs + <dd>, section permalinks
- Apply strict containment to section permalink containers
- Apply strong containment (content + inline-size) to <dl> <div>
  children, <dd>.
- Revert oversized footnote backlinks
2022-08-08 21:37:15 -07:00
Rohan Kumar
64148318c0
Improve footnotes a bit
- Make backlink tap-target wider
- Contain <ol> elements.
2022-08-08 17:32:50 -07:00
Rohan Kumar
6f9d418285
Replace unnecessary use of <br> with something simpler 2022-08-08 17:30:43 -07:00
Rohan Kumar
ca388d68f5
Add section "against focusable containers"
Explain why making sectioning content focusable ruins tab order.
2022-08-07 17:52:35 -07:00
Rohan Kumar
d02b749425
More stylesheet tweaks
- Increase list padding so that ordered-list decimal markers have space
  to fit without overflowing.
- Improve style for removing underline between h-card name and photo, so
  it doesn't apply to any unnecessary elements.
- Reduce budget for document size.
2022-08-05 07:24:16 -07:00
Rohan Kumar
d42f304f71
Many style tweaks
- Fix unnecessarily excessive spacing around "li > article" entry data
  (was due to containment)
- Aesthetic tweak: ugly underline between microformat u-photo and p-name
- Make CSS file smaller by using some microformats2 classnames instead
  of microdata attributes.
2022-08-03 21:31:05 -07:00
Rohan Kumar
846a5f13f9
Simplify title spacing 2022-08-02 18:21:18 -07:00
Rohan Kumar
7f7e7be5a3
Re-generate an asset to be smaller 2022-08-02 18:18:19 -07:00
Rohan Kumar
f4fe706cab
Reduce margins
We still clear 48px
2022-08-02 18:04:51 -07:00
Rohan Kumar
385ea60c55
Atom feed: use different <logo>, formatting
The spec recommends that the <logo> element is twice as wide as tall:
https://validator.w3.org/feed/docs/atom.html#optionalFeedElements

Add yet another site icon that fits that recommendation. Tidy up the
feed in the meantime.
2022-08-01 21:28:32 -07:00
Rohan Kumar
5affa6df0b
CSS: compact, preserve active color, size tweak
- Remove unnecessary elements from attribute selectors wherever it
  improves compression.
- Dark theme: prevent active link color from being overridden.
- Sort properties/attributes to improve compression ratios.
- Bump font size from 109% to 109.375% so the default font size hits
  17.5px and we get nice round numbers.
2022-08-01 21:24:53 -07:00
Rohan Kumar
c949089676
More containment, alignment fixes 2022-08-01 20:51:12 -07:00