Update mobile

This commit is contained in:
Andros Fenollosa
2021-10-06 23:07:53 +02:00
parent e182c7bb77
commit e647ef6704
11 changed files with 27 additions and 15 deletions

View File

@@ -5,6 +5,7 @@
--color-white: #fcead5;
--color-background: #e5d5c2;
--height-img: 10rem;
--height-img-mobile: 12rem;
}
@font-face {
@@ -95,4 +96,4 @@ pre {
.article__random-background {
height: 100%;
width: 100%;
}
}

View File

@@ -7,7 +7,7 @@
}
.article__header-img > a > img {
height: initial;
object-position: initial;
object-fit: initial;
}
height: var(--height-img-mobile);
object-position: top;
object-fit: cover;
}