1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-30 15:22:09 +00:00

Compare commits

..

2 commits

Author SHA1 Message Date
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
19c3f86ea3
Update WKD key with notations (Ariadne proofs)
Add Keyoxide-compatible Ariadne proofs to the WKD GPG key, using
Ariadne proofs.
This makes the key much bigger, so apply lossless static HTTP
compression. Static compression on idempotent assets isn't a security
concern.
2022-10-26 11:41:13 -07:00
6 changed files with 36 additions and 25 deletions

View file

@ -20,7 +20,7 @@
mark { mark {
color: #000; color: #000;
background-color: #eee7b2; background-color: #eee8a7;
} }
/* Only color <a> if it's a link; if href is empty, let it be. */ /* Only color <a> if it's a link; if href is empty, let it be. */
@ -29,7 +29,21 @@
} }
a:visited { a:visited {
color: #ffdaff; color: #ffd8ff;
}
/* Small text needs higher contrast.
* Do not apply to "prefers-contrast: less"
* Do not apply to "prefers-contrast: more" since
* we override colors there. */
@media not (prefers-contrast) {
sup a:link:not(:active) {
color: #feb;
}
sup a:visited:not(:active) {
color: #ffe6ff;
}
} }
/* For users who request less contrast, target ACPA Lc near -80 */ /* For users who request less contrast, target ACPA Lc near -80 */
@ -40,35 +54,30 @@
} }
} }
/* Small text needs higher contrast. */ /* For users who request more contrast, target ACPA Lc near -99.
@media not (prefers-contrast: less) {
sup a:link:not(:active) {
color: #feb;
}
sup a:visited:not(:active) {
color: #ffe6ff;
}
}
/* For users who request more contrast, target ACPA Lc near -96.
* I have a monitor with terrible contrast so I use * I have a monitor with terrible contrast so I use
* "prefers-contrast: more" and this amount works for me. * "prefers-contrast: more" and this amount works for me. People
* People complained that the lobste.rs dark theme has too much * complained that the lobste.rs dark theme has too much contrast, so
* contrast, so I made that my baseline and exceeded it ever so * I made that my baseline and exceeded it ever so slightly.
* slightly. */ *
* Also, this mode ensures that visited/un-visited links look very
* different under red-green and blue-yellow color blindness.
* Normally, they look very similar under blue-yellow color blindness.
*
* I sometimes use this mode when I need to set my brightness all the
* way down. */
@media (prefers-contrast: more) { @media (prefers-contrast: more) {
html, html,
input { input {
background-color: #0d0d0d; background-color: #0d0d0d;
color: #eee; color: #f3f3f3;
} }
a:link { a:link {
color: #feb; color: #fff970;
} }
a:visited { a:visited {
color: #ffe6ff; color: #ccfdff;
} }
} }

View file

@ -41,7 +41,7 @@ Would normally be in Portland, OR during the school year, but COVID-19 happened.
=> https://gitlab.com/Seirdy GitLab forge => https://gitlab.com/Seirdy GitLab forge
=> https://codeberg.org/Seirdy Codeberg forge => https://codeberg.org/Seirdy Codeberg forge
## Location (Seirdy, It/Its, online) ## Location (Seirdy, They/Them, online)
My handle is "Seirdy" on all the platforms I use: My handle is "Seirdy" on all the platforms I use:
@ -55,7 +55,7 @@ My handle is "Seirdy" on all the platforms I use:
If you send me marketing emails or solicit guest posts, I will block you and submit you to third-party blocklists without warning. If you send me marketing emails or solicit guest posts, I will block you and submit you to third-party blocklists without warning.
My username is Seirdy on Reddit, Hacker News, Lobsters, Tildes.net, Linux Weekly News, Codeberg, and a few other places. For IRC, my nick is Seirdy on Libera.chat, Snoonet, OFTC, Tilde.Chat, apionet, and a few smaller networks. My username is Seirdy on Reddit, Hacker News, Lobsters, Tildes.net, Linux Weekly News, Codeberg, and a few other places. For IRC, my nick is Seirdy on Libera.chat, Snoonet, OFTC, Tilde.Chat, apionet, and a few smaller networks. Some more profiles are available via Ariadne identity proofs; you can look me up on Keyoxide using Web Key Directory.
My secondary Matrix account for Synapse-only rooms is @seirdy:fairydust.space. My Matrix account used to be @seirdy:envs.net but I've since migrated to my own Conduit server. My secondary Matrix account for Synapse-only rooms is @seirdy:fairydust.space. My Matrix account used to be @seirdy:envs.net but I've since migrated to my own Conduit server.

View file

@ -75,7 +75,7 @@ I go by <span class="p-nickname nickname" itemprop="alternateName">Seirdy</span>
<a href="https://lobste.rs/u/Seirdy" rel="me">Lobsters</a> <a href="https://lobste.rs/u/Seirdy" rel="me">Lobsters</a>
</dd> </dd>
<dd> <dd>
<a href="https://www.reddit.com/user/Seirdy/" rel="me">Reddit</a> <a href="https://www.reddit.com/user/Seirdy/" rel="me">Reddit (inactive)</a>
</dd> </dd>
<dd> <dd>
<a href="https://news.ycombinator.com/user?id=Seirdy" rel="me">“Hacker” News</a> <a href="https://news.ycombinator.com/user?id=Seirdy" rel="me">“Hacker” News</a>
@ -86,7 +86,7 @@ I go by <span class="p-nickname nickname" itemprop="alternateName">Seirdy</span>
<a href="mailto:seirdy@seirdy.one" class="u-email" itemprop="email" rel="me">seirdy<wbr />@seirdy.one</a> <a href="mailto:seirdy@seirdy.one" class="u-email" itemprop="email" rel="me">seirdy<wbr />@seirdy.one</a>
</dd> </dd>
<dt>PGP public key</dt> <dt>OpenPGP public key</dt>
<dd><a href="../publickey.asc" class="u-key" rel="pgpkey authn" type="application/pgp-keys"><code>1E892DB2A5F84479</code></a> (also available via Web Key Directory)</dd> <dd><a href="../publickey.asc" class="u-key" rel="pgpkey authn" type="application/pgp-keys"><code>1E892DB2A5F84479</code></a> (also available via Web Key Directory)</dd>
<dt>Chat</dt> <dt>Chat</dt>
@ -97,6 +97,8 @@ I go by <span class="p-nickname nickname" itemprop="alternateName">Seirdy</span>
If you send me marketing emails or solicit guest posts, I will block you and submit you to third-party blocklists without warning. If you send me marketing emails or solicit guest posts, I will block you and submit you to third-party blocklists without warning.
I've published a version of my OpenPGP key via Web Key Directory; this version has notations containing Ariadne identity proofs for a few more accounts of mine. You can [verify those accounts on any Keyoxide instance](https://keyoxide.org/wkd/seirdy%40seirdy.one) (requires JavaScript).
At least two platforms listed in the "Social (centralized)" category are not endorsed, and I'm trying to wind down my use of them. If you find a "Seirdy" somewhere else and don't know whether or not it's me, please contact me and ask instead of assuming that it must be me. At least two platforms listed in the "Social (centralized)" category are not endorsed, and I'm trying to wind down my use of them. If you find a "Seirdy" somewhere else and don't know whether or not it's me, please contact me and ask instead of assuming that it must be me.
I used to have the Matrix ID `@seirdy:envs.net`. I sometimes use `@seirdy:fairydust.space` for technical reasons (seirdy.one runs a Conduit server but certain features only work in Synapse rooms). I used to have the Matrix ID `@seirdy:envs.net`. I sometimes use `@seirdy:fairydust.space` for technical reasons (seirdy.one runs a Conduit server but certain features only work in Synapse rooms).