Hide the keyboard hint on mobile.

Wish there was a keyboard media query.
This commit is contained in:
voussoir 2022-07-19 06:23:32 -07:00
parent c6b9ea6823
commit 099d8abc07
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 9 additions and 1 deletions

View file

@ -111,6 +111,14 @@ article .morelink
} }
} }
@media not all and (pointer: fine)
{
#keyboardhint
{
display: none;
}
}
h1, h2, h3, h4, h5 h1, h2, h3, h4, h5
{ {
margin-bottom: 0; margin-bottom: 0;

View file

@ -123,7 +123,7 @@ def write_directory_index(directory):
<body> <body>
<header> <header>
<div>hint: <kbd></kbd> / <kbd></kbd></div> <div id="keyboardhint">hint: <kbd></kbd> / <kbd></kbd></div>
{% if do_rss %} {% if do_rss %}
<div><a href="/photography/photography.atom">Atom</a></div> <div><a href="/photography/photography.atom">Atom</a></div>
{% endif %} {% endif %}