Skip to content

Commit bed6637

Browse files
author
Kseniia Chepur
committed
update styles
1 parent 7f63c47 commit bed6637

File tree

9 files changed

+19
-13
lines changed

9 files changed

+19
-13
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## VanLife
2-
An app for renting travel vans -> React Router 6 project at Scrimba
1+
# VanLife
2+
#### An app for renting travel vans -> React Router 6 project at Scrimba
3+
34

45
[DEMO](https://fantastic-sunflower-9a004a.netlify.app/)
File renamed without changes.

src/assets/images/home-hero.jpg

101 KB
Loading

src/assets/images/home-hero.png

-272 KB
Binary file not shown.

src/components/Footer/Footer.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
footer {
44
background-color: $primary-c;
55
color: $light-gray-c;
6-
height: 74px;
6+
height: 10vh;
77
display: flex;
88
flex-shrink: 0;
99
justify-content: center;

src/components/Header/Header.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@import "../../utils/variables.scss";
22

33
.header {
4-
height: 110px;
4+
height: 10vh;
55
display: flex;
66
align-items: center;
7-
padding: 36px 25px;
7+
padding-inline: 25px;
88

99
&__logo {
1010
color: black;

src/pages/Home/Home.scss

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
@import "../../utils/variables.scss";
22

33
.home {
4-
&__content {
5-
background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)),
6-
url("../../assets/images/home-hero.png") no-repeat center center;
4+
background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)),
5+
url("../../assets/images/home-hero.jpg") no-repeat 50%;
76
-webkit-background-size: cover;
87
-moz-background-size: cover;
98
-o-background-size: cover;
109
background-size: cover;
11-
min-height: 350px;
12-
color: $white-c;
1310
padding-block: 65px;
11+
min-height: 80vh;
12+
&__content {
13+
14+
15+
color: $white-c;
16+
1417
display: flex;
1518
flex-direction: column;
1619
align-items: center;
1720
}
1821

1922
&__title {
2023
font-size: 2.25rem;
21-
font-weight: 700;
24+
font-weight: 700;
2225
line-height: 2.625rem;
2326
margin-bottom: 23px;
2427
}
2528

2629
&__description {
27-
line-height: 24px;
30+
font-weight: 500;
31+
line-height: 1.5rem;
2832
margin-bottom: 52px;
2933
}
3034
}

src/pages/Vans/Vans.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.vans {
44
padding-inline: 23px;
5+
margin-top: 36px;
56

67
&__title {
78
margin-bottom: 22px;

src/utils/variables.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ $beige-c: #FFEAD0;
1111
$date-c: #8C8C8C;
1212
$line-c: #C7C7C7;
1313
$border-c: #D1D5DB;
14-
$pastel-bg-c: #ffddb2;
14+
$pastel-bg-c: #ffddb2;

0 commit comments

Comments
 (0)