Skip to content

Commit c8bd208

Browse files
committed
Build Overall Layout, Features, Story, Homes, Gallery sections
1 parent ae8d76b commit c8bd208

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1234
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
css/style.comp.css
3+
4+
css/style.prefix.css
5+
6+
node_modules/
7+
8+
package-lock.json

css/style.css

+270
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
*,
2+
::before,
3+
::after {
4+
margin: 0;
5+
padding: 0;
6+
box-sizing: inherit; }
7+
8+
html {
9+
box-sizing: border-box;
10+
font-size: 62.5%; }
11+
12+
body {
13+
font-family: "Nunito", sans-serif;
14+
color: #6d5d4b;
15+
font-weight: 300;
16+
line-height: 1.6; }
17+
18+
.container {
19+
display: grid;
20+
grid-template-rows: 80vh min-content 40vw repeat(3, min-content);
21+
grid-template-columns: [sidebar-start] 8rem [sidebar-end full-start] minmax(6rem, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 14rem) [col-end]) [center-end] minmax(6rem, 1fr) [full-end]; }
22+
23+
.heading-1, .heading-2, .heading-3, .heading-4 {
24+
font-family: "Josefin Sans", sans-serif;
25+
font-weight: 400; }
26+
27+
.heading-2 {
28+
font-size: 4rem;
29+
font-style: italic;
30+
line-height: 1; }
31+
.heading-2--light {
32+
color: #f9f7f6; }
33+
.heading-2--dark {
34+
color: #54483a; }
35+
36+
.heading-3 {
37+
font-size: 1.6rem;
38+
color: #c69963;
39+
text-transform: uppercase; }
40+
41+
.heading-4 {
42+
font-size: 1.9rem; }
43+
.heading-4--light {
44+
color: #f9f7f6; }
45+
.heading-4--dark {
46+
color: #54483a; }
47+
48+
.btn {
49+
background-color: #c69963;
50+
color: #fff;
51+
border: none;
52+
border-radius: 0;
53+
font-family: "Josefin Sans", sans-serif;
54+
font-size: 1.5rem;
55+
text-transform: uppercase;
56+
padding: 1.8rem 3rem;
57+
cursor: pointer;
58+
transition: all 0.2s; }
59+
.btn:hover {
60+
background-color: #b28451; }
61+
62+
.mb-sm {
63+
margin-bottom: 2rem; }
64+
65+
.mb-md {
66+
margin-bottom: 3rem; }
67+
68+
.mb-lg {
69+
margin-bottom: 4rem; }
70+
71+
.mb-hg {
72+
margin-bottom: 8rem; }
73+
74+
.sidebar {
75+
background-color: #c69963;
76+
grid-column: sidebar-start / sidebar-end;
77+
grid-row: 1 / -1; }
78+
79+
.header {
80+
background-color: #54483a;
81+
grid-column: full-start / col-end 6; }
82+
83+
.realtors {
84+
background-color: #101d2c;
85+
grid-column: col-start 7 / full-end; }
86+
87+
.features {
88+
grid-column: center-start / center-end;
89+
margin: 15rem 0;
90+
display: grid;
91+
grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
92+
grid-gap: 6rem;
93+
align-items: start; }
94+
95+
.feature {
96+
display: grid;
97+
grid-template-columns: min-content 1fr;
98+
grid-row-gap: 1.5rem;
99+
grid-column-gap: 2.5rem; }
100+
.feature__icon {
101+
fill: #c69963;
102+
width: 4.5rem;
103+
height: 4.5rem;
104+
grid-row: 1 / span 2;
105+
transform: translateY(-1rem); }
106+
.feature__text {
107+
font-size: 1.7rem; }
108+
109+
.story__pictures {
110+
background-color: #c69963;
111+
grid-column: full-start / col-end 4;
112+
display: grid;
113+
grid-template-rows: repeat(6, 1fr);
114+
grid-template-columns: repeat(6, 1fr);
115+
align-items: center;
116+
background-image: linear-gradient(rgba(198, 153, 99, 0.5), rgba(198, 153, 99, 0.5)), url("../img/back.jpg");
117+
background-size: cover; }
118+
119+
.story__img--1 {
120+
width: 100%;
121+
grid-row: 2 / 6;
122+
grid-column: 2 / 6;
123+
box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.1); }
124+
125+
.story__img--2 {
126+
width: 115%;
127+
grid-column: 4 / 7;
128+
grid-row: 4 / 6;
129+
z-index: 20;
130+
box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.2); }
131+
132+
.story__content {
133+
background-color: #f9f7f6;
134+
grid-column: col-start 5 / full-end;
135+
padding: 6rem 8vw;
136+
display: grid;
137+
align-content: center;
138+
justify-items: start; }
139+
140+
.story__text {
141+
font-size: 1.5rem;
142+
font-style: italic;
143+
margin-bottom: 4rem; }
144+
145+
.homes {
146+
grid-column: center-start / center-end;
147+
margin: 15rem 0;
148+
display: grid;
149+
grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
150+
grid-gap: 7rem; }
151+
152+
.home {
153+
background-color: #f9f7f6;
154+
display: grid;
155+
grid-template-columns: repeat(2, 1fr);
156+
grid-row-gap: 3.5rem;
157+
box-shadow: 0rem 2rem 4rem rgba(198, 153, 99, 0.4);
158+
transition: all 0.2s; }
159+
.home:hover {
160+
transform: translateY(-2.5%);
161+
box-shadow: 0rem 3rem 5rem rgba(198, 153, 99, 0.6); }
162+
.home__img {
163+
width: 100%;
164+
grid-row: 1 / 2;
165+
grid-column: 1 / -1;
166+
z-index: 1; }
167+
.home__like {
168+
grid-row: 1 / 2;
169+
grid-column: 2 / 3;
170+
fill: #c69963;
171+
height: 2.5rem;
172+
width: 2.5rem;
173+
z-index: 2;
174+
justify-self: end;
175+
margin: 1rem; }
176+
.home__name {
177+
grid-row: 1 / 2;
178+
grid-column: 1 / -1;
179+
z-index: 3;
180+
justify-self: center;
181+
align-self: end;
182+
width: 80%;
183+
font-family: "Josefin Sans", sans-serif;
184+
font-size: 1.6rem;
185+
text-align: center;
186+
padding: 1.25rem;
187+
background-color: #101d2c;
188+
color: #fff;
189+
font-weight: 400;
190+
transform: translateY(50%); }
191+
.home__location, .home__rooms {
192+
margin-top: 2.5rem; }
193+
.home__location, .home__rooms, .home__area, .home__price {
194+
font-size: 1.5rem;
195+
margin-left: 2rem;
196+
display: flex;
197+
align-items: center; }
198+
.home__location svg, .home__rooms svg, .home__area svg, .home__price svg {
199+
fill: #c69963;
200+
height: 2rem;
201+
width: 2rem;
202+
margin-right: 1rem; }
203+
.home__btn {
204+
grid-column: 1 / -1; }
205+
206+
.gallery {
207+
background-color: #f9f7f6;
208+
grid-column: full-start / full-end;
209+
display: grid;
210+
grid-template-columns: repeat(8, 1fr);
211+
grid-template-rows: repeat(7, 5vw);
212+
grid-gap: 1.5rem;
213+
padding: 1.5rem; }
214+
.gallery__item {
215+
overflow: hidden; }
216+
.gallery__item img {
217+
transition: all 0.2s; }
218+
.gallery__item img:hover {
219+
transform: scale(1.1); }
220+
.gallery__item--1 {
221+
grid-row: 1 / span 2;
222+
grid-column: 1 / span 2; }
223+
.gallery__item--2 {
224+
grid-row: 1 / span 3;
225+
grid-column: 3 / span 3; }
226+
.gallery__item--3 {
227+
grid-row: 1 / span 2;
228+
grid-column: 6 / span 1; }
229+
.gallery__item--4 {
230+
grid-row: 1 / span 2;
231+
grid-column: 7 / span 2; }
232+
.gallery__item--5 {
233+
grid-row: 3 / span 3;
234+
grid-column: 1 / span 2; }
235+
.gallery__item--6 {
236+
grid-row: 4 / span 2;
237+
grid-column: 3 / span 2; }
238+
.gallery__item--7 {
239+
grid-row: 4 / span 1;
240+
grid-column: 5 / span 1; }
241+
.gallery__item--8 {
242+
grid-row: 3 / span 2;
243+
grid-column: 6 / span 2; }
244+
.gallery__item--9 {
245+
grid-row: 3 / span 3;
246+
grid-column: 8 / span 1; }
247+
.gallery__item--10 {
248+
grid-row: 6 / span 2;
249+
grid-column: 1 / span 1; }
250+
.gallery__item--11 {
251+
grid-row: 6 / span 2;
252+
grid-column: 2 / span 2; }
253+
.gallery__item--12 {
254+
grid-row: 6 / span 2;
255+
grid-column: 4 / span 1; }
256+
.gallery__item--13 {
257+
grid-row: 5 / span 3;
258+
grid-column: 5 / span 3; }
259+
.gallery__item--14 {
260+
grid-row: 6 / span 2;
261+
grid-column: 8 / span 1; }
262+
.gallery__img {
263+
width: 100%;
264+
height: 100%;
265+
object-fit: cover;
266+
display: block; }
267+
268+
.footer {
269+
background-color: #101d2c;
270+
grid-column: full-start / full-end; }

img/back.jpg

458 KB
Loading

img/favicon.png

14.7 KB
Loading

img/gal-1.jpeg

363 KB
Loading

img/gal-10.jpeg

1.34 MB
Loading

img/gal-11.jpeg

168 KB
Loading

img/gal-12.jpeg

134 KB
Loading

img/gal-13.jpeg

258 KB
Loading

img/gal-14.jpeg

854 KB
Loading

img/gal-2.jpeg

220 KB
Loading

img/gal-3.jpeg

165 KB
Loading

img/gal-4.jpeg

151 KB
Loading

img/gal-5.jpeg

214 KB
Loading

img/gal-6.jpeg

196 KB
Loading

img/gal-7.jpeg

389 KB
Loading

img/gal-8.jpeg

401 KB
Loading

img/gal-9.jpeg

139 KB
Loading

img/hero.jpeg

516 KB
Loading

img/house-1.jpeg

343 KB
Loading

img/house-2.jpeg

161 KB
Loading

img/house-3.jpeg

264 KB
Loading

img/house-4.jpeg

527 KB
Loading

img/house-5.jpeg

302 KB
Loading

img/house-6.jpeg

89.1 KB
Loading

img/logo-bbc.png

9.74 KB
Loading

img/logo-bi.png

17.9 KB
Loading

img/logo-forbes.png

19.1 KB
Loading

img/logo-techcrunch.png

16.4 KB
Loading

img/logo.png

33.9 KB
Loading

img/realtor-1.jpeg

45.6 KB
Loading

img/realtor-2.jpeg

44.9 KB
Loading

img/realtor-3.jpeg

46 KB
Loading

img/sprite.svg

+44
Loading

img/story-1.jpeg

239 KB
Loading

img/story-2.jpeg

621 KB
Loading

img/text.txt

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- Features
2+
3+
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tenetur distinctio necessitatibus pariatur voluptatibus.
4+
5+
Voluptatum mollitia quae. Vero ipsum sapiente molestias accusamus rerum sed a eligendi aut quia.
6+
7+
Tenetur distinctio necessitatibus pariatur voluptatibus quidem consequatur harum.
8+
9+
Vero ipsum sapiente molestias accusamus rerum. Lorem, ipsum dolor sit amet consectetur adipisicing elit.
10+
11+
Quidem consequatur harum, voluptatum mollitia quae. Tenetur distinctio necessitatibus pariatur voluptatibus.
12+
13+
Pariatur voluptatibus quidem consequatur harum, voluptatum mollitia quae.
14+
15+
16+
--- Stories
17+
18+
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tenetur distinctio necessitatibus pariatur voluptatibus. Quidem consequatur harum volupta!

0 commit comments

Comments
 (0)