Hide the keyboard hint on mobile.
Wish there was a keyboard media query.
This commit is contained in:
parent
c6b9ea6823
commit
099d8abc07
2 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue