11<template >
2- <div >
2+ <div class = " stake-info-page flex-column " >
33 <PageHeader >
44 <template #default >
55 <div class =" staking-icon" >
88 {{ $t('Stake NIM to earn NIM') }}
99 </template >
1010 <template #more >
11- <span class =" nq-text nq-blue" >
11+ <p class =" nq-text nq-blue" >
1212 {{ $t('Help secure the network by locking up NIM and get a percentage as a reward.') }}
13- </span >
13+ </p >
1414 </template >
1515 </PageHeader >
1616 <PageBody >
17- <div class =" staking-rounded-background" >
17+ <div class =" staking-rounded-background flex-column " >
1818 <div class =" staking-icons-lace" >
1919 <img v-for =" (icon, index) in orderOfValidators"
2020 :key =" index"
2121 :src =" `/img/staking/providers/${icon}`"
22- :style =" {top: `${((Math.sin((index + 1) * (Math.PI / 10))) * 25 )}px`}"
22+ :style =" {top: `${((Math.sin((index + 1) * (Math.PI / 10))) * 20 )}px`}"
2323 />
2424 </div >
2525 <div class =" staking-under-icons-text" >
2626 {{ $t('So called validators facilitate this process.'
2727 + ' Choose one to stake on your behalf, set an amount and go.') }}
2828 </div >
2929 <button class =" nq-button light-blue stake-button" @click =" $emit('next')" >
30- {{ $t('let \'s go') }}
30+ {{ $t('Let \'s go') }}
3131 </button >
3232 </div >
3333 </PageBody >
@@ -76,13 +76,17 @@ export default defineComponent({
7676 </script >
7777
7878<style lang="scss" scoped>
79+ .stake-info-page {
80+ flex-grow : 1 ;
81+ }
82+
7983 .page-header {
8084 height : 36.625rem ;
8185 padding-top : 3rem ;
8286 line-height : 1 ;
87+
8388 /deep / .nq-h1 {
84- font-size : 3rem ;
85- color : var (--nimiq-blue );
89+ font-size : var (--h1-size );
8690 }
8791 .staking-icon {
8892 margin-top : .75rem ;
@@ -96,35 +100,23 @@ export default defineComponent({
96100 .page-body {
97101 padding : 0 ;
98102 margin : 0 ;
99- height : 31rem ;
103+ flex-grow : 1 ;
104+
100105 .staking-rounded-background {
101- display : flex ;
102- flex-direction : column ;
103- justify-content : center ;
104106 background-image : url (' /img/staking/background-collar.svg' );
105107 background-size : cover ;
106108 background-position : 0rem -1rem ;
107109 background-repeat : no-repeat ;
108- text-align : center ;
109- .staking-under-icons-text {
110- font-size : 1.75rem ;
111- font-weight : 600 ;
112- padding : 7.625rem 2rem ;
113- padding-bottom : 1.25rem ;
114- line-height : 2.45rem ;
115- text-align : center ;
116- color : #231044 ;
117- opacity : 0.6 ;
118- width : 95% ;
119- margin : auto ;
120- }
110+ padding-bottom : 2rem ;
111+ height : 100% ;
112+
121113 .staking-icons-lace {
122114 position : relative ;
123- top : 3.0 rem ;
124- left : -3.25 rem ;
115+ left : -2 rem ;
116+ margin-top : 3 rem ;
125117 white-space : nowrap ;
126- width : 95 % ;
127- margin : auto ;
118+ flex-grow : 1 ;
119+ min-height : 9 rem ;
128120
129121 img {
130122 position : relative ;
@@ -133,34 +125,30 @@ export default defineComponent({
133125 margin-left : .81rem ;
134126 }
135127 }
128+
129+ .staking-under-icons-text {
130+ font-size : var (--small-size );
131+ font-weight : 600 ;
132+ padding : 0 4rem ;
133+ padding-bottom : 1.25rem ;
134+ line-height : 2.45rem ;
135+ text-align : center ;
136+ color : var (--text-60 );
137+ }
138+
136139 .stake-button {
137- height : 8rem ;
138140 width : 31.5rem ;
139- font-weight : bold ;
140- font-size : 2rem ;
141- line-height : 2.5rem ;
142- letter-spacing : 0.1875rem ;
143141 }
144142 }
145143 }
146144
147145 .nq-text {
148- display : inline-block ;
149- margin-top : 1.25rem ;
146+ margin : 1.25rem 0 0 ;
150147 padding : 0rem 1rem ;
151- font-size : 2rem ;
152- font-weight : 400 ;
153- line-height : 140% ;
154- color : #231044 ;
155- }
156-
157- @media (max-width : 960px ) and (min-width : 701px ) { // Tablet breakpoint
158148 }
159149
160150 @media (max-width : 700px ) { // Full mobile breakpoint
161151 .page-header {
162- height : 36.625rem ;
163- padding-top : 3.5rem ;
164152 .staking-icon {
165153 margin-top : 1.375rem ;
166154 margin-bottom : 1.25rem ;
@@ -169,55 +157,25 @@ export default defineComponent({
169157 height : 16rem ;
170158 }
171159 }
172- /deep / .nq-h1 {
173- font-size : 2.75rem ;
174- font-weight : 700 ;
175- line-height : 3.3rem ;
176- color : var (--nimiq-blue );
177- }
178160 }
161+
179162 .page-body {
180- padding : 0 ;
181- margin-top : -1.375rem ;
182- height : 32.375rem ;
183163 .staking-rounded-background {
184- .staking-under-icons-text {
185- position : relative ;
186- left : .125rem ;
187- padding-top : 7.75rem ;
188- padding-bottom : .25rem ;
189- width : 37rem ;
190- font-weight : 600 ;
191- font-size : 1.625rem ;
192- line-height : 140% ;
193- }
194164 .staking-icons-lace {
195- position : relative ;
196- top : 2.5rem ;
165+ margin-top : 2.5rem ;
197166 img {
198167 margin-left : .65rem ;
199168 width : 4.75rem ;
200169 height : 4.75rem ;
201170 }
202171 }
203- .stake-button {
204- position : relative ;
205- top : -.25rem ;
206- left : .25rem ;
207- height : 7rem ;
208- width : 34rem ;
209- font-size : 1.875rem ;
210- letter-spacing : 0.1875rem ;
172+ .staking-under-icons-text {
173+ padding-bottom : .25rem ;
211174 }
212175 }
213176 }
214177 .nq-text {
215- font-size : 1.875rem ;
216- margin-top : 1rem ;
217- margin-left : .25rem ;
218- line-height : 2.5rem ;
219- font-weight : 600 ;
220- opacity : 0.8 ;
178+ margin : 1rem 0 0 ;
221179 }
222180 }
223181 </style >
0 commit comments