2017-01-14 UTC
KevinMarks joined the channel
# 02:36 aaronpk shoot, i can't figure out how to make this appear in the right spot and also have the microformats work out
# 02:38 aaronpk i'm just gonna cheat for now and make a hidden <a> link outside of that div
# 02:41 aaronpk the h-card div contains the author photo and that whole top line
# 02:42 aaronpk i tried inline-block and it made the vertical spacing take up the whole amount of the profile photo and then i ran away in fear
# 02:44 KartikPrabhu haha! yeah takes me a few minutes of fiddling around to get it right too
# 02:54 Loqi [Aaron Parecki] ooh that looks amazing! Wooden badges would be super cool.
# 02:54 aaronpk i took off the mf2 u-url class on the date, but that's where i want it
# 02:57 KartikPrabhu ok this seems to work on FF. Move the <a> outside the <div class="author...">
KartikPrabhu joined the channel
# 03:07 KartikPrabhu or simpler would be to convert the <div class="author..."> into a <span class="author..."> since spans are inline by default
# 03:17 aaronpk oh you're right. i thought i was typing display:inline but i was typing inline-block
# 03:28 aaronpk i'm super excited about almost having reply contexts again
tantek and KevinMarks joined the channel
KevinMarks and KevinMarks_ joined the channel
tantek, ncollig_ and sebsel joined the channel
# 13:20 Zegnat sebsel, I would use a CSS selector for the language flag something like this: .h-entry:not([lang|="nl"]) a[hreflang|="nl"]::after { content: ' ??'; }
# 13:23 Zegnat (Moving here because discussion of CSS selectors is definitively -dev)
# 13:24 sebsel I now have [hreflang^=nl] here, because of nl-NL
# 13:24 Zegnat Basically specifically for matching things like language codes :)
# 13:27 Zegnat Now I just need to figure out the selector for the default language (en-GB in my case), because checking the h-entry’s lang isn’t possible there
# 13:58 Zegnat Your CSS is far more generic, that is for sure.
# 13:59 sebsel It's hard to put that :not() into a generic thing I guess
# 14:00 Zegnat Yes, I am not sure how that would work. You really need to find the nearest parent with a lang attribute and check that, but there is no way to do that in CSS AFAIK
# 14:00 Zegnat So the next best thing I could think of is to bind it to the lang of my h-entry
# 14:01 sebsel which would not work on my blog btw, because my lang is on the <html> and the h-entry on the <body>
# 14:02 sebsel oh no, my lang is on e-content, if it's not "nl", because I have a "nl" on <html>
# 14:04 Zegnat Yeah, so you would use my code but with .e-content:not() as prefix. Which is fine too.
# 14:04 Zegnat You put multiple lang attributes in instead of picking a common ancestor for articles with p-name et al?
# 14:05 sebsel because I am not translating my date to the lang of the post yet.
# 14:06 sebsel which is not a problem for mf2 because of dt-*, but it is for just the html.
# 14:06 sebsel I also don't translate the 'Seb vindt X leuk' for likes.
# 14:07 sebsel So it's only on the e-content containing the real text content of my posts.
# 14:07 Zegnat Well, those are just Dutch like posts, so no need to translate IMHO
# 14:07 sebsel That's true: they never have a lang=en on them.
# 14:08 sebsel (strictly they should have, if the liked post-title is in English)
# 14:09 Zegnat Seb vindt <a href="http://example.com" hreflang="en" lang="en">Example.com Writes A Post</a> leuk
# 14:09 sebsel I still would need to store that 'en' somewhere.
# 14:10 Zegnat Just saying you don’t need to have English and Dutch likes, just Dutch is fine.
# 14:11 Zegnat How do you cite a Japanese post title in Dutch running text? Is left-to-right fine for the Japanese?
ncollig_ joined the channel
# 14:29 sebsel Zegnat yeah on the internet all Japanese is just left-to-right.
# 14:29 sebsel I haven't used lang=jp properly on the imported tweets tho
# 14:31 Zegnat I am not sure how to cite a right-to-left language within a left-to-right post. Never had to do that.
# 14:37 sebsel there's an html tag for that I believe? also an css property
# 16:09 KevinMarks_ Not that there are good icons for languages, but what would a Belgian or Swiss flag mean?
# 16:21 Zegnat KevinMarks_, I don’t think you would use the Belgian flag, ever.
# 16:22 Zegnat They are in the habit themselves of using the Dutch flag for Dutch and French flag for French.
ncollig_ joined the channel
ncollig_ joined the channel
tantek joined the channel
KevinMarks and KevinMarks_ joined the channel
# 21:12 tantek.com edited /rsvp (+546) "/* Text Design */ brainstorming RSVP "interested" with "considering tonight's ", "considering today's " (about to use), and "considering going to " text prefix equivalents" (
view diff )
KevinMarks_ and KevinMarks joined the channel
KevinMarks joined the channel