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

Binary file not shown.

View File

@@ -1,5 +1,6 @@
:root {
--height-img: 10rem;
--height-img-mobile: 12rem;
--color__nord-dark: #2e3440;
--color__nord-light: #d8dee9;
--color__nord-medium: #5e81ac;

View File

@@ -1,7 +1,3 @@
:root {
--height-img-mobile: 18rem;
}
.title {
font-size: 3rem;
}

Binary file not shown.

View File

@@ -4,6 +4,7 @@
--color-gray: gray;
--color-background: #f9f7f1;
--height-img: 10rem;
--height-img-mobile: 12rem;
}
@font-face {
@@ -91,4 +92,4 @@ pre {
.article__random-background {
height: 100%;
width: 100%;
}
}

View File

@@ -1,7 +1,3 @@
:root {
--height-img-mobile: 18rem;
}
.title {
font-size: 3rem;
}

Binary file not shown.

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;
}