Skip to content

Commit 5aef240

Browse files
committed
Issues-115: updated custom counters
1 parent e521723 commit 5aef240

File tree

5 files changed

+31
-17
lines changed

5 files changed

+31
-17
lines changed

web-assets/css/styles.css

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ select::-ms-expand {
261261
}
262262

263263
.confirmation-card.center-align-card .page-content .page-main {
264-
padding: 0px 50px 55px;
264+
padding: 0px 50px 45px;
265265
position: relative;
266266
text-align: center;
267267
}
@@ -270,8 +270,8 @@ select::-ms-expand {
270270
padding: 27px 10px 21px 10px;
271271
background-color: transparent;
272272
}
273-
.confirmation-card .header .logo-link img {
274-
273+
.confirmation-card .footer {
274+
padding-top: 0px;
275275
}
276276

277277
.confirmation-card.center-align-card .page-content .page-main .page-title-heading {
@@ -289,40 +289,54 @@ select::-ms-expand {
289289
font-family: "Roboto";
290290
font-size: 15px;
291291
}
292-
.confirmation-card.center-align-card .page-content .page-main .page-description ol {
293-
counter-reset: counter;
292+
.confirmation-card.center-align-card .page-content .page-main .page-description ul {
294293
list-style: none;
295294
}
296295

297-
.confirmation-card.center-align-card .page-content .page-main .page-description ol li{
296+
.confirmation-card.center-align-card .page-content .page-main .page-description ul li{
298297
margin: 0;
299298
line-height: 21px;
300-
counter-increment: counter;
301299
position: relative;
302300
}
303301

304-
.confirmation-card.center-align-card .page-content .page-main .page-description ol li:not(:last-child){
302+
.confirmation-card.center-align-card .page-content .page-main .page-description ul li:not(:last-child){
305303
padding-bottom: 28px;
306304
}
307305

308-
.confirmation-card.center-align-card .page-content .page-main .page-description ol li::before {
309-
content: counter(counter);
306+
.confirmation-card.center-align-card .page-content .page-main .page-description ul li::before {
310307
color: #FFFFFF;
311308
font-family: Roboto;
312309
font-size: 16px;
313310
line-height: 19px;
314-
text-align: center;
315311
position: absolute;
316312
--size: 30px;
317-
left: calc(-1 * var(--size) - 10px);
318313
line-height: var(--size);
314+
left: calc(-1 * var(--size) - 11px);
319315
top: -4px;
320-
background-image: linear-gradient(125.57deg, #2C95D7 0%, #83C5EE 100%);
321-
border-radius: 100%;
316+
}
317+
318+
li:nth-child(1)::before {
319+
content:"";
320+
background-image: url('./images/1.png');
321+
height: 28px;
322322
width: 30px;
323+
}
324+
325+
li:nth-child(2)::before {
326+
content:"";
327+
background-image: url('./images/2.png');
323328
height: 28px;
324-
text-align: center;
329+
width: 30px;
325330
}
331+
332+
li:nth-child(3)::before {
333+
content:"";
334+
background-image: url('./images/3.png');
335+
height: 28px;
336+
width: 30px;
337+
}
338+
339+
326340
/** End: Confirmation Card **/
327341

328342
/** Start : Input/select box - field area style **/

web-assets/images/1.png

1.2 KB
Loading

web-assets/images/2.png

1.29 KB
Loading

web-assets/images/3.png

1.39 KB
Loading

web-assets/static-pages/register_success.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ <h1 id="page-title-heading" class="page-title-heading">
3737
Thanks for joining<br/>Topcoder
3838
</h1>
3939
<div class="page-description">
40-
<ol>
40+
<ul>
4141
<li>Check your email and activate your account.</li>
4242
<li>If the email doesn't arrive right away,
4343
please email <a href="mailto:support@topcoder.com">support@topcoder.com</a>.
4444
That shouldn't happen though and if it does, we are sorry!
4545
</li>
4646
<li>Want to keep browsing? <a href="/">Home</a> / <a href="Learn">Learn</a> / <a href="Freelance Gigs">Freelance Gigs</a></li>
47-
</ol>
47+
</ul>
4848
</div>
4949
</main>
5050
</div>

0 commit comments

Comments
 (0)