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

170 commits

Author SHA1 Message Date
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
Rohan Kumar
5df229bfc8
Styles: more containment, fix spacing 2022-07-24 11:28:23 -07:00
Rohan Kumar
df06b764d2
CSS: auto intrinsic sizing, alignment fix 2022-07-21 18:40:40 -07:00
Rohan Kumar
dadfd94963
Fix: titular h1 alignment 2022-07-20 08:56:52 -07:00
Rohan Kumar
ae8eb64a58
Use content-visiblity for archive pages
The JS-free infinite scroll that doesn't make you lose your place.
2022-07-15 22:11:08 -07:00
Rohan Kumar
54c8394a93
Forgot to uncomment a thing
fuck
2022-07-15 19:26:40 -07:00
Rohan Kumar
de295c180a
Increase title link tap-target size + containment
- Contain articles in archive pages
- Increase heading tappable heading target size
- Fix alignment
- Consolidate some redundant rules
2022-07-15 18:41:59 -07:00
Rohan Kumar
a471edcdf0
Prevent breadcrumbs from overflowing containment
CSS containmnet crops breadcrumb focus indicators when they overflow
their containers. Instead of adding a new rule for this, refactor some
old rules so padding-increases also apply to the breadcrumb containers.
2022-07-15 17:17:59 -07:00
Rohan Kumar
aa79edeb21
New 8601 image
Updated the 8601 image to a version with a new palette.
2022-07-14 08:44:09 -07:00
Rohan Kumar
65130f85c2
Use CSS Containment (again)
Add padding to elements so content containment won't cause cropping.
Adjust the global body padding accordingly. This also exposed a
redundancy in the stylesheet, which was removed.

Now the site headers/footers, article elements (including archive
pages), <pre> elements, and other top-level elements are contained.
Rendering long-ass articles with thousands of nodes should be a little
faster.
2022-07-13 22:08:20 -07:00
Rohan Kumar
7c835a14e4
ISO 8601 Award 2022-07-13 21:38:24 -07:00
Rohan Kumar
ff0c7deafa
Make the skip-link point to h1 instead of main
Link targets need to be focusable to work with VoiceOver.

Making <main> focusable causes some side-effects, like making the TAB
key go to the beginning of <main> instead of the element after the
currently-clicked region.

Also removes the annoying outline around "main" in some non-mainstream
browsers, without having to add extra CSS.
2022-07-13 08:31:20 -07:00
Rohan Kumar
5b4832df15
Disable text inflation
I respect whatever you're into, but that doesn't mean it belongs on my
site. Disable the text inflation algorithm. Don't make landscape fonts
comically large.
2022-07-12 23:24:38 -07:00
Rohan Kumar
80ef3a4a9a
Refactor to make more body text narrow
Now more text should fall within WCAG limits.
2022-07-11 17:27:00 -07:00
Rohan Kumar
9d4f18ffde
a11y: Make backlink label start with name
The WCAG "label in name" SC requires visible labels to contain
accessible names, preferably by having accessible names start with
visible labels. This commit makes footnote backlinks display as a
hyperlink reading "Back" to meet this SC.
2022-07-11 15:18:15 -07:00
Rohan Kumar
a8e2de2266
CSS: reduce h1 top margin 2022-07-10 22:38:25 -07:00
Rohan Kumar
297ad1e5cb
Add skip-link
This one is simpler than the last attempt, since it doesn't overlap with
any content except the navbar links' empty padding.
2022-07-07 08:52:55 -07:00
Rohan Kumar
70b8a5e9cb
re-org the About section, add breadcrumbs
Create an "about" section.

Add breadcrumbs to show relationships between pages with full page
titles.
2022-07-07 17:44:34 -07:00
Rohan Kumar
b945e1dc2b
New post: an experiment to test Copilot's legality 2022-07-01 17:30:45 -07:00
Rohan Kumar
a8057aa8e8
Add support for <audio> elements
- Adjust transcript shortcodes to also support <audio> elements.
- Add audio element shortcode based on <picture> shortcode
- Make <audio> elements match container width.
2022-06-30 20:12:06 -07:00
Rohan Kumar
cd82ce39ec
Webmentions: display reply content + a11y issues
- Display reply content in webmentions, when it's available
- Truncate titles and redundant content from webmentions
- Add note on a11y issues regarding badly-formatted webmentions from
  brid.gy's mastodon integration.
2022-06-30 08:34:16 -07:00
Rohan Kumar
05dbdb7748
Add CSS for <mark> elements.
Will be using them in a future post.
2022-06-28 08:52:07 -07:00
Rohan Kumar
ffd342acf8
New article: "two types of privacy" 2022-06-25 15:25:54 -07:00
Rohan Kumar
7546bd1c20
Fix heading permalinks in reading mode
horrible hack, crimes.
2022-06-22 21:18:32 -07:00
Rohan Kumar
a3aa0fbaaf
Hide some useless stuff
Remove visible bullets from datafeeds. Switch them to <ol> for
consistency.
Hide superfluous horizontal rules from print media.
2022-06-14 22:08:50 -07:00
Rohan Kumar
207f1b4df1
CSS: don't color <summary> border
I don't think it's necessary. One less declaration.
2022-06-11 13:00:48 -07:00
Rohan Kumar
bd705cd0b1
Give indieweb icon a PNG fallback
This should improve compatibility with older and non-mainstream
browsers.
2022-06-09 08:34:49 -07:00
Rohan Kumar
3c914b4dd1
Support multiple <dt> that share a <dd>
- Make sure their tap targets do not overlap
- Use a regex to detect them in markup using an "OR" keyword
- Implement them in one article.
2022-06-06 21:42:32 -07:00
Rohan Kumar
1782aeeda6
Remove apple-touch-icon, add webfinger 2022-06-06 08:49:11 -07:00
Rohan Kumar
6d09030988
Replace some CSS borders with <hr />
The thematic break is appropriate there and it trims down my CSS a bit.
2022-06-05 21:17:18 -07:00
Rohan Kumar
fb741f3e6f
Exclude webmentions from printouts 2022-06-04 20:55:47 -07:00
Rohan Kumar
811c887755
CSS overhaul: non-overlapping outlines
I increased a bunch of tap targets to fit the recommended 48x48 sizes
and 56x56 non-overlapping regions, but unfortunately this caused
outlines to overlap with each other. This commit turns these elements
into inline-block elements and makes the necessary fixes to accomodate
this change.
2022-06-03 15:47:14 -07:00
Rohan Kumar
062c348d4e
CSS: increase endnote backlink tap target size
Should meet the 48x48px target now.
2022-06-02 22:04:21 -07:00
Rohan Kumar
6a47371a05
Cosmetic fixes
- Drop copyright symbol: I put it there because certain programs
  explicitly look for it, but between rel=license, schema.org microdata,
  and creative commons RDFa, I think scrapers should be covered.
- Update the theme-color and friends to work with my site's updated dark
  theme.
2022-06-01 21:52:11 -07:00
Rohan Kumar
927987093e
Form improvements
- Make webmention submission form a fieldset
- Re-order CSS to avoid descending specificity
- Make search label mention Search My Site
2022-05-30 12:07:33 -07:00
Rohan Kumar
0ed68c5e9a
Add webmention submission forms
A long time coming
2022-05-29 22:48:27 -07:00
Rohan Kumar
41be095485
Fix: don't use system-ui for inputs
Thanks, forever!
2022-05-28 16:51:37 -07:00
Rohan Kumar
4c5d8483bd
Fix <ins> looking like a hyperlink 2022-05-28 14:22:52 -07:00
Rohan Kumar
69a49b5dc0
Add non-interactive space between form tap targets
Also fixes alignment on some browsers like IE.
2022-05-26 18:00:02 -07:00
Rohan Kumar
0cd1d89a8a
Reset input styles 2022-05-26 17:23:51 -07:00
Rohan Kumar
8158cb3cd9
Add site search (poweredy by SearchMySite)
Add a search bar to the site footer to search seirdy.one.
2022-05-26 17:06:56 -07:00
Rohan Kumar
6b8dd5a657
Use <aside> for reply context
Makes it play better with reading modes, etc
2022-05-26 12:17:58 -07:00
Rohan Kumar
972e025aa3
Dark palette: reduce excessively harsh contrast
Use excessively harsh colors in response to a "prefers-contrast: more"
media query, but otherwise use something a bit softer to accommodate
overstimulation.
2022-05-23 08:54:06 -07:00
Rohan Kumar
404d7d8561
Improve dark-mode contrast a bit
- Lighten dark background some more
- Replace the black superscript backgrounds with different foreground
  colors.
2022-05-23 08:42:24 -07:00
Rohan Kumar
9077660b9f
New section "visible interactive semantics"
Move "in defense of link underlines" to subsection of new "visible
interactive semantics" section. Add info on distinguishing between
buttons and links, and making non-interactive space look visually
distinct from interactive space.
2022-05-19 19:31:24 -07:00