Recent Posts
Archives

PostHeaderIcon Languages hints

If you use Internet Explorer or other deprecated browser, likely you will not see it, but I added a small flag on links. The flag hints the language the pointed page is in.

To perform that, I had to modify lightly the CSS used in the blog.

a[hreflang]:after  {     color: gray;     font-weight: bold;     content: "\0000a0[" attr(hreflang) "]";     vertical-align: super;     font-size: 80%;  }

I found the hack on Tristan Nitot’s Standblog 😉 Thank you Tristan 😉

(Of course: those who have not yet experienced a modern web browser may download Mozilla Firefox).

Edit: I changed again, very slightly, the style to locate the language hint upper than the text.

Leave a Reply