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

34 commits

Author SHA1 Message Date
rohan kumar
19520825bb
Icons 2: electric boogaloo
- More sizes
- webmanifest file for even more versions
- symlink icons instead of copying them; fewer binaries in the repo.
2020-12-14 22:11:33 -08:00
rohan kumar
74cb64baa1
CSS: clean up to match stylelint, csslint 2020-12-12 21:05:25 -08:00
rohan kumar
b9d22a1510
Update and cache-bust icons
- The old icon was too off-center; improve it.
- Add a mask icon
- Replace deprecated apple-touch-icon-precomposed.png with
  non-precomposed icon.
- Cache-bust all icons
2020-12-12 20:59:32 -08:00
rohan kumar
18812d6995
Fix touch icon placement 2020-12-12 02:51:38 -08:00
rohan kumar
3086df92eb
csslint compliance and simplification 2020-12-12 02:42:45 -08:00
rohan kumar
6cbe6cc5b1
Add apple-touch-icon-precomposed for phones
Android, iOS, and other browsers use the pseudo-standard
"apple-touch-icon-precomposed.png"; android recommends 192x192px and iOS
downscales to 180x180px.
2020-12-12 02:41:18 -08:00
rohan kumar
74e939f40b
Implement cache-busting and SRI for CSS
Use Hugo's fingerprinting pipes [0] to give external stylesheets an
identifier to enable cache-busting [1].
Since Hugo's fingerprinting automatically generates the information
needed for SRI [2], include an integrity attribute too.

I discovered this feature through webhint [3], and added the .hintrc
file I used to the repo root.

[0]: https://gohugo.io/hugo-pipes/fingerprint/
[1]: https://css-tricks.com/strategies-for-cache-busting-css/
[2]: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
[3]: https://webhint.io/
2020-12-11 17:33:38 -08:00
rohan kumar
6040dca75a
Switch from <section> to <footer>
Sections should have headings, while this is actually a footer.
2020-12-11 12:02:33 -08:00
rohan kumar
38433d16cb
Fix bad mailto: link 2020-11-30 18:41:42 -08:00
rohan kumar
9cae62eac8
Add info on plain-text emails to the footer. 2020-11-30 18:40:31 -08:00
rohan kumar
2776395a33
Improve <title> 2020-11-30 17:19:33 -08:00
rohan kumar
925b8960a8
Add missing <h1> tags 2020-11-30 17:19:33 -08:00
rohan kumar
6ede1a393f
Size: remove some unused styles 2020-11-30 13:17:15 -08:00
rohan kumar
40bd939456
Increase nav link spacing on mobile
Makes them easier to tap with my sausage fingers
2020-11-30 13:06:09 -08:00
rohan kumar
1e44855647
Only load syntax highlighting CSS if necessary..
Pages without highlighted code blocks don't need to load syntax.css; for
those that do, simply declare "highlight: true" in the front matter to
load the stylesheet separately.
2020-11-28 18:01:53 -08:00
rohan kumar
6fba7dbc9a
Reduced some unnecessary styles 2020-11-27 16:14:24 -08:00
rohan kumar
1c75fe501b
Renamed max770px.css -> narrow.css
I don't want to re-name this every time I change the pixel count
2020-11-25 22:31:28 -08:00
rohan kumar
131ad941d7
CSS: navbar tweaks (responsiveness + color)
- Dark mode: make navbar links the same color as regular links so as to
not hide the fact that they are links.
- Make navbar reflow at narrow window sizes
2020-11-25 22:19:52 -08:00
rohan kumar
25ffbd9bbb
Use a sane date format
ISO 8601 and RFC 3339 are the correct date formats.
The other date formats are incorrect.
2020-11-25 22:18:09 -08:00
rohan kumar
0d11909002
Formatting 2020-11-25 00:43:39 -08:00
rohan kumar
b9abb9090c
Only index the canonical location, seirdy.one
Don't index the staging version on my tilde.
2020-11-25 00:38:31 -08:00
rohan kumar
e919c83fd5
Add a canonical URL
Since there's another version of the site on my tilde serving as a
staging area, I should specify a canonical version of the site to avoid
duplicate entries in search results.
2020-11-25 00:24:45 -08:00
rohan kumar
f04f293bdc
Simplify/reduce custom colors
- Make default stylesheet use browser preferred colors
- Stop using css vars for better compatibility with old browsers
2020-11-24 17:09:26 -08:00
rohan kumar
a0cbba8a63
Template accessibility fixes
- Language code in <html> tag
- Make post list more easily clickable by splitting post URLs and
  timestamps.
2020-11-24 17:08:28 -08:00
rohan kumar
1e371f7cfe
Full-text RSS feeds 2020-11-24 17:08:02 -08:00
rohan kumar
a7bfc7fd32
CSS: improve h1 and entry list spacing 2020-11-24 02:08:58 -08:00
rohan kumar
e31cdd52ca
Explicitly set fb/bg colors 2020-11-23 18:19:18 -08:00
rohan kumar
712ca3737c
Simplify styling
Comply with the upcoming article on best practices for textual websites.
2020-11-23 15:47:27 -08:00
rohan kumar
00930bcbc5
Support comments via a Sourcehut mailing list 2020-11-18 22:20:30 -08:00
rohan kumar
359f115307
CSS: make preformatted text bigger 2020-11-18 18:28:51 -08:00
rohan kumar
e614497a36
Fix: fix relative links on different domains 2020-11-18 17:06:55 -08:00
rohan kumar
a4874efc07
Fix: expose RSS feed on all pages 2020-11-17 21:40:37 -08:00
rohan kumar
957e4a9d10
Theme: better bottom links
- Add links to gemini versions of HTML pages
- Fix footer link color

Also snuck in removal of scrollbar coloring. Why was that there in the
first place?
2020-11-17 13:55:19 -08:00
Rohan Kumar
d364a8fb9f
Batman!! (this commit has no parents)
The sight of an animal using a JavaScript captivates Computer Scientists
and laymen alike, perhaps because it forces us to question some of our
ideas about human uniqueness.

Does the animal know how JavaScript works? Did it anticipate the need
for the tool and select it instead of Haskell or Zig?

To some, this fascination with JavaScript seems arbitrary and
anthropocentric; after all, animals engage in many other complex
activities, like Agile Planning and ordering Juice on the Internet.
However, we know that complex behaviour need not be cognitively
demanding.

JavaScript development can therefore provide a powerful window into the
minds of animals, and help us to learn what capacities we share with
them — and what might have changed to allow for the incontrovertibly
unique levels of technology shown by modern humans, such as integers and
block scope.
2020-11-03 15:52:34 -08:00