Skip to content

Commit 802c29a

Browse files
committed
hero section
1 parent 271abb1 commit 802c29a

39 files changed

+234
-0
lines changed
File renamed without changes.
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
/*
2+
--- 01 TYPOGRAPHY SYSTEM
3+
4+
- Font Size (px)
5+
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
6+
7+
- Font Weight
8+
9+
- Line heights
10+
Default: 1
11+
12+
--- 02 COLORS
13+
14+
- Primary: #e67e22
15+
- Tints:
16+
- Shades: #cf711f
17+
- Accents:
18+
- Greys:
19+
#555
20+
#333
21+
22+
--- 05 SHADOWS
23+
24+
--- 06 BORDER RADIUS
25+
26+
--- 07 SPACING SYSTEM (px)
27+
28+
- 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
29+
*/
30+
31+
* {
32+
margin: 0;
33+
padding: 0;
34+
box-sizing: border-box;
35+
}
36+
37+
html {
38+
font-size: 62.5%;
39+
}
40+
41+
body {
42+
font-family: 'Rubik', sans-serif;
43+
font-weight: 400;
44+
line-height: 1;
45+
46+
color: #555;
47+
}
48+
49+
.section-hero {
50+
background: #fdf2e9;
51+
padding: 9.6rem 0;
52+
}
53+
54+
.hero {
55+
display: grid;
56+
gap: 9.6rem;
57+
max-width: 130rem;
58+
margin: 0 auto;
59+
grid-template-columns: 1fr 1fr;
60+
align-items: center;
61+
}
62+
63+
.hero-text-box {
64+
}
65+
66+
.hero-image-box {
67+
}
68+
69+
.heading-primary {
70+
font-size: 5.2rem;
71+
font-weight: 700;
72+
line-height: 1.05;
73+
color: #333;
74+
letter-spacing: -0.05rem;
75+
margin-bottom: 3.2rem;
76+
}
77+
78+
.hero-description {
79+
font-size: 2rem;
80+
line-height: 1.6;
81+
margin-bottom: 4.8rem;
82+
}
83+
84+
.hero-image {
85+
width: 100%;
86+
height: auto;
87+
}
88+
89+
.btn:link,
90+
.btn:visited {
91+
display: inline-block;
92+
font-size: 2rem;
93+
font-weight: 600;
94+
padding: 1.6rem 3.2rem;
95+
text-decoration: none;
96+
border-radius: 0.8rem;
97+
98+
transition: background 0.3s;
99+
}
100+
101+
.btn---full:link,
102+
.btn---full:visited {
103+
background: #e67e22;
104+
color: #fff;
105+
}
106+
107+
.btn---full:hover,
108+
.btn---full:active {
109+
background: #cf711f;
110+
}
111+
112+
.btn---outline:link,
113+
.btn---outline:visited {
114+
background: #fff;
115+
color: #555;
116+
}
117+
118+
.btn---outline:hover,
119+
.btn---outline:active {
120+
background: #fdf2e9;
121+
color: #555;
122+
box-shadow: inset 0 0 0 3px #fff;
123+
}
124+
125+
.margin-right-sm {
126+
margin-right: 1.6rem !important;
127+
}
128+
129+
.delivered-meals {
130+
display: flex;
131+
align-items: center;
132+
gap: 1.6rem;
133+
margin-top: 8rem;
134+
}
135+
136+
.delivered-imgs {
137+
display: flex;
138+
}
139+
140+
.delivered-imgs img {
141+
width: 4.8rem;
142+
height: 4.8rem;
143+
border-radius: 50%;
144+
145+
border: 3px solid #fdf2e9;
146+
}
147+
148+
.delivered-imgs img:not(:first-child) {
149+
margin-left: -1.8rem;
150+
}
151+
152+
.delivered-text {
153+
font-size: 1.8rem;
154+
font-weight: 600;
155+
}
156+
157+
.delivered-text span {
158+
color: #cf711f;
159+
}

starter/07-Omnifood-Desktop/content/img/app/app-screen-1.png renamed to starter/07-Omnifood-Desktop/img/app/app-screen-1.png

File renamed without changes.

starter/07-Omnifood-Desktop/content/img/app/app-screen-2.png renamed to starter/07-Omnifood-Desktop/img/app/app-screen-2.png

File renamed without changes.

starter/07-Omnifood-Desktop/content/img/app/app-screen-3.png renamed to starter/07-Omnifood-Desktop/img/app/app-screen-3.png

File renamed without changes.
File renamed without changes.

starter/07-Omnifood-Desktop/content/img/customers/customer-1.jpg renamed to starter/07-Omnifood-Desktop/img/customers/customer-1.jpg

File renamed without changes.

starter/07-Omnifood-Desktop/content/img/customers/customer-2.jpg renamed to starter/07-Omnifood-Desktop/img/customers/customer-2.jpg

File renamed without changes.

starter/07-Omnifood-Desktop/content/img/customers/customer-3.jpg renamed to starter/07-Omnifood-Desktop/img/customers/customer-3.jpg

File renamed without changes.

starter/07-Omnifood-Desktop/content/img/customers/customer-4.jpg renamed to starter/07-Omnifood-Desktop/img/customers/customer-4.jpg

File renamed without changes.

0 commit comments

Comments
 (0)