Skip to content

Commit dda2e26

Browse files
neokreptsisou
authored andcommitted
Recalibration for first screen
1 parent c137e14 commit dda2e26

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

src/components/stake/StakeInfoPage.vue

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default defineComponent({
137137
left: -2.5rem;
138138
}
139139
img {
140-
position:relative;
140+
position: relative;
141141
width: 5.375rem;
142142
height: 5.375rem;
143143
margin-left: .81rem;
@@ -169,51 +169,65 @@ export default defineComponent({
169169
170170
@media (max-width: 700px) { // Full mobile breakpoint
171171
.page-header {
172+
height: 36.625rem;
172173
padding-top: 3.5rem;
173174
.staking-icon {
174-
margin-top: 1.5rem;
175-
margin-bottom: 1.75rem;
175+
margin-top: 1.375rem;
176+
margin-bottom: 1.25rem;
176177
svg {
177-
height: 16.5rem;
178+
margin-left: 0.25rem;
179+
height: 16rem;
178180
}
179181
}
180182
/deep/ .nq-h1 {
181-
font-size: 2.875rem;
183+
font-size: 2.75rem;
182184
font-weight: 700;
183-
line-height: 120%;
185+
line-height: 3.3rem;
184186
color: var(--nimiq-blue);
185187
}
186188
}
187189
.page-body {
188190
padding: 0;
189-
margin: 0;
190-
height: 31rem;
191+
margin-top: -1.375rem;
192+
height: 32.375rem;
191193
.staking-rounded-background {
192194
.staking-under-icons-text {
193-
padding-top: 8.5rem;
195+
position: relative;
196+
left: .125rem;
197+
padding-top: 7.75rem;
194198
padding-bottom: .25rem;
195-
width: 39rem;
196-
font-weight: 700;
197-
font-size: 1.65625rem;
199+
width: 37rem;
200+
font-weight: 600;
201+
font-size: 1.625rem;
198202
line-height: 140%;
199203
}
200204
.staking-icons-lace {
201205
position: relative;
202-
top: 2.75rem;
206+
top: 2.5rem;
203207
img {
208+
margin-left: .65rem;
204209
width: 4.75rem;
205210
height: 4.75rem;
206211
}
207212
}
208213
.stake-button {
209-
height: 7.25rem;
210-
width: 35rem;
214+
position: relative;
215+
top: -.25rem;
216+
left: .25rem;
217+
height: 7rem;
218+
width: 34rem;
219+
font-size: 1.875rem;
220+
letter-spacing: 0.1875rem;
211221
}
212222
}
213223
}
214224
.nq-text {
225+
font-size: 1.875rem;
215226
margin-top: 1rem;
227+
margin-left: .25rem;
216228
line-height: 2.5rem;
229+
font-weight: 600;
230+
opacity: 0.8;
217231
}
218232
}
219233
</style>

0 commit comments

Comments
 (0)