Disable hover on screenshot when screen is too narrow for it to be useful rather than annoying.
This commit is contained in:
parent
6108310aff
commit
4a21d3a907
5
web.css
5
web.css
@ -70,6 +70,11 @@ span.hover > img {
|
|||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
|
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) {
|
@supports not (pointer-events: auto) {
|
||||||
a[href$=".png"] {
|
a[href$=".png"] {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user