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

Compare commits

...

2 commits

Author SHA1 Message Date
Rohan Kumar
d6d88f1e92
New note: "New search box" 2022-05-26 17:42:31 -07:00
Rohan Kumar
0cd1d89a8a
Reset input styles 2022-05-26 17:23:51 -07:00
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,9 @@
* specific a11y, compatibility, or critical
* usability need.
*
* One exception: I re-set the input styles so Safari wouldn't make them
* pill-shaped.
*
* I also don't use any classes except for image presentation. (e.g. to
* specify that an image should have pixelated rendering or be inverted
* in dark mode).
@ -193,6 +196,7 @@ form > div {
/* Don't shrink the size of the text in forms. */
input {
appearance: none;
font-size: inherit;
}

View file

@ -0,0 +1,8 @@
---
title: "New search box"
date: 2022-05-26T17:42:09-07:00
---
I decided my site had enough content to warrant a search form, so I added one to the footer. I kanged the CSS from [gov.uk](https://www.gov.uk/); I liked how their search box was adaptive yet compatible with legacy browsers. This is a static site so I made it point to [Search My Site](https://searchmysite.net), which regularly crawls my whole website.
Eventually I'll add a dynamic page for search results (probably using the Search My Site API), and add an ATOM feed for posts and notes (I currently have an RSS feed for posts, and that's not going anywhere). If I get those two, I'll be ready for the next step of setting up [WebSub](https://w3c.github.io/websub/) and starting on [IndieMark 4](https://indieweb.org/IndieMark) (I've decided not to <abbr title="Publish on Own Site, Syndicate Elsewhere">POSSE</abbr> *all* my microblog posts, to maintain some separation between my "Rohan" and "Seirdy" identities).