in reply to Re: RFC: "Today I Learned" page
in thread RFC: "Today I Learned" page

Just I can't see the dates.

Mouse over the username for the timestamps (in server local time, not yours!).


🦛

Replies are listed 'Best First'.
Re^3: RFC: "Today I Learned" page
by pryrt (Abbot) on Jan 11, 2024 at 15:07 UTC
    Under normal conditions, I am reading and posting here in a desktop browser; but there are times when I'm just doing quick reading on my phone's Android Chrome browser, where long-press will show the ALT text for images, but not the TITLE text for links (at least, in my experience)

    jdporter, could you add a class attribute to the links with the title attributes (both here and on other pages that put the post-time in the title text, like Newest Nodes and RAT) -- something like <a class="hoverDate" ...> -- so that monks who want to show the dates without hovering can affect it in their Display Settings CSS, like:

    @media (pointer: coarse), (hover: none) { .hoverDate a:link:before { content: attr(title) ": "; font-size:75%; f +ont-family: monospace; } }

    Without the class -- which is how i tested to make sure it would affect my phone experience but not my desktop experience -- too many other links on normal pages have titles, and it gets really cluttered. But if I could limit it by class, I would be able to easily see the dates on TIL/NN/RAT, which would be great.

      ok, I added class="hoverDate" to the user links. Try it out and let me know how it goes. :-)

        Thanks!

        My CSS syntax was slightly off, but having the class allows Today I Learned to show the TITLE attributes on my mobile device now:

        @media (pointer: coarse), (hover: none) { a.hoverDate:link:before { content: attr(title) ": "; font-size:75%; } }