Skip to content

Commit 1a9d157

Browse files
committed
Fixing layout of name, price, description
1 parent 3ae283b commit 1a9d157

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

_sass/layout.scss

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body {
66

77
.imageWrapper {
88
width: 100%;
9-
height: 500px;
9+
height: 768px;
1010
background:
1111
linear-gradient(
1212
rgba(#363b3d, 0.3),
@@ -16,8 +16,8 @@ body {
1616
url("/assets/headerimage.png");
1717

1818
background-repeat: no-repeat;
19-
background-size: auto 100%;
20-
background-position: top;
19+
background-size: auto 200%;
20+
background-position: bottom;
2121
border-radius: 0px 0px 40px 40px;
2222
}
2323

@@ -35,7 +35,7 @@ body {
3535
padding-right: 15px;
3636
grid-column-gap: 50px;
3737
grid-template-columns: repeat(12, 1fr);
38-
grid-template-rows: 115px 590px 1000px 200px;
38+
grid-template-rows: 115px 883px 1000px 200px;
3939
grid-column-gap: 30px;
4040
grid-template-areas:
4141
"h h h h h h h h h h h h"
@@ -103,6 +103,9 @@ nav > ul li a {
103103
.appInfo {
104104
grid-area: i;
105105
display: flex;
106+
flex-wrap: wrap;
107+
padding-top: 158px;
108+
align-content: flex-start;
106109
}
107110

108111
.appIconLarge {
@@ -113,19 +116,33 @@ nav > ul li a {
113116
}
114117

115118
.appNamePriceContainer {
116-
display: flex;
117-
flex-wrap: wrap;
118-
flex-direction: row;
119+
padding-left: 30px;
120+
flex: 0 1 auto;
121+
align-items: flex-start;
119122
}
120123

121124
.appName {
122-
display: flex;
123-
margin-top: 0px;
125+
margin: 0px;
126+
margin-top: -5px;
124127
color: #fff;
125128
}
126129

127130
.appPrice {
128-
display: flex;
131+
color: #fff;
132+
margin: 0px;
133+
margin-top: 8px;
134+
font-weight: normal;
135+
}
136+
137+
.appDescriptionContainer {
138+
align-items: flex-start;
139+
margin-top: 45px;
140+
flex: 0 1 auto;
141+
line-height: 1.5;
142+
}
143+
144+
.appDescription {
145+
margin: 0px;
129146
color: #fff;
130147
font-weight: normal;
131148
}

assets/appstore.png

-7.98 KB
Loading

assets/playstore.png

-10.3 KB
Loading

index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
</defs>
2525
</svg>
2626
<img class="appIconLarge" src="/assets/appicon-1024px.png">
27-
2827
<div class="appNamePriceContainer">
2928
<h1 class="appName">
3029
Your App
@@ -33,6 +32,15 @@ <h3 class="appPrice">
3332
$9.99
3433
</h3>
3534
</div>
35+
<div class="appDescriptionContainer">
36+
<h4 class ="appDescription">
37+
Wherever some that and kiwi that well dolphin alas this the mindfully jeepers one aside canny one preparatory up less therefore hello oh amid goodness checked.
38+
</h4>
39+
</div>
40+
<div class="downloadButtonsContainer">
41+
<a href=""><img class="playStore" src="/assets/playstore.png"></a>
42+
<a href=""><img class="appStore" src="/assets/appstore.png"></a>
43+
</div>
3644
</div>
3745

3846
<div class="features">

0 commit comments

Comments
 (0)