Disable hover on screenshot when screen is too narrow for it to be useful rather than annoying.

This commit is contained in:
ccd0 2015-07-06 21:27:57 -07:00
parent 6108310aff
commit 4a21d3a907

View File

@ -70,6 +70,11 @@ span.hover > img {
max-height: 100%;
box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
}
@media (max-width: 960px) {
a.screenshot:hover + span.hover {
display: none;
}
}
@supports not (pointer-events: auto) {
a[href$=".png"] {
position: relative;