What are your thoughts on adding #ActivityPub support to a blog? I feel like blogs are different and should be separate from social media(?)
A simple solution for letting people comment on a blog post could be embedding a post including all of its replies. However, for blogs, you want comments to survive as long as possible and Fediverse servers generally don’t guarantee that.
#CSS: It just occurred to me that you don’t want `border-box` in the following case—because the widths should affect the content box.
html {
box-sizing: content-box;
margin: 2rem auto 2rem auto; /* trbl */
padding: 1rem;
min-width: 10rem;
max-width: 35rem;
}
We slightly tweaked the style of our newsletter “ECMAScript News”: We now list the GitHub @-names of authors and link to their GitHub profiles. Result: less visual clutter.
You can check out yesterday’s issue here (it has a nice mix of topics):
VS Code’s Markdown preview: synchronized scrolling rarely works well for me. These settings help:
"markdown.preview.scrollEditorWithPreview": false
"markdown.preview.scrollPreviewWithEditor": false
Source:
Q: What’s a font size? A: It’s complicated.
“[…] there’s no specific part of a font that equals the point size, nor any combination of parts that necessarily add up to the point size. […] The font bounding box may approximately equal the point size, but there is no specific, required relationship. Thus, how large a given font is at a given point size varies, and is font-specific. If you set two different fonts at 16 point, very likely one will be larger than the other.”
https://fonts.google.com/knowledge/glossary/point_size
#CSS: Example of background-color *not* being inherited:
• Top level: transparent
• Outer: gray
• Inner: transparent (not inherited)
I was wondering how I was going to show that “Inner” has a transparent background color (given that it has to be nested inside “Outer” for inheritance to kick in). Then I remembered the CSS jokes. 😀
#Mastodon tip: If you can, use real quote posts:
• All web apps already display them nicely. However, only mastodon.social and mastodon.online let you create them right now (once 4.5 is final, more servers will upgrade).
• Ending a post with a URL to another post is only supported by a few Mastodon apps and not a good experience for most users.
#CSS terminology: I’ve seen “CSS variables” and “custom properties” being used interchangeably. This is the difference: “This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties, and custom properties for defining them.”
Source: