Skip to content

Commit 64d8a04

Browse files
authored
finish fixing the frontend
1 parent 059e917 commit 64d8a04

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

app/assets/stylesheets/application.scss

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,27 @@ body {
128128
background: url("landing/section-2/title.svg") no-repeat center top / 100% auto;
129129
z-index: 100;
130130
position: absolute;
131-
top: 32px;
131+
top: 24px;
132132
left: 50%;
133133
transform: translateX(-50%);
134134
display: flex;
135135
width: 26rem;
136+
min-height: 88px;
136137
height: fit-content;
137138
align-items: center;
138139
justify-content: center;
139-
font-size: 2em;
140+
font-size: 1.8em;
140141

141142
h2 {
142143
text-align: center;
143144
color: white;
145+
margin: 0;
144146
}
145147

146148
@media (max-width: 600px) {
147149
width: 20rem;
148-
font-size: 2em;
150+
min-height: 68px;
151+
font-size: 1.2em;
149152
}
150153
}
151154

@@ -195,16 +198,22 @@ body {
195198
.landing-section-2--step-card--ribbon {
196199
background: no-repeat center top / 100% auto;
197200
position: absolute;
198-
top: -25px;
201+
top: -21px;
199202
left: 50%;
200203
transform: translateX(-50%);
201204
width: 10em;
205+
min-height: 40px;
202206
display: flex;
203207
align-items: center;
204208
justify-content: center;
205209
color: white;
206-
font-size: 1.2em;
207-
210+
211+
h2 {
212+
margin: 0;
213+
font-size: 1.2em;
214+
font-weight: normal;
215+
}
216+
208217
@media (max-width: 600px) {
209218
top: -21px;
210219
font-size: 1em;
@@ -227,14 +236,14 @@ body {
227236
margin: -36px 0 0 0;
228237

229238
width: 110%;
230-
min-height: 72px;
239+
min-height: 54px;
231240
z-index: 100;
232241
background: no-repeat center top -2px / 100% auto;
233242
color: white;
234-
font-size: 1.5em;
235243
display: flex;
236244
align-items: center;
237245
justify-content: center;
246+
font-size: 1.5em;
238247

239248
@media (max-width: 600px) {
240249
margin-top: -28px;

0 commit comments

Comments
 (0)