fixes for mobiles & tablets

This commit is contained in:
Rhiannon Morris 2020-10-06 22:41:26 +02:00
parent c807895244
commit 6567bdf059
4 changed files with 21 additions and 3 deletions

View file

@ -197,7 +197,7 @@ footer {
}
@media (hover) {
@media (hover) and (pointer: fine) {
.item:hover .date, .item:hover .title,
.item:hover::before, .item:hover::after {
filter: opacity(20%);
@ -228,7 +228,7 @@ footer {
}
}
@media (hover: none) {
@media (not hover), (pointer: coarse) {
.item:not(.year-marker) {
height: min-content;
}
@ -237,6 +237,13 @@ footer {
position: initial;
}
figcaption .date {
border-bottom: none;
}
figcaption .title {
border-top: none;
}
figcaption .date::after {
content: ':';
}