From c2e7962ee14b98d8073d1308066bd9e765620547 Mon Sep 17 00:00:00 2001 From: shubhu Date: Tue, 31 Jan 2017 13:22:40 +0530 Subject: [PATCH 1/2] fixes appirio-tech/topcoder-app/#972 corrected list styles --- src/css/challenge-detail-software.css | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/css/challenge-detail-software.css b/src/css/challenge-detail-software.css index 83b7dad7..1ea0e521 100644 --- a/src/css/challenge-detail-software.css +++ b/src/css/challenge-detail-software.css @@ -303,7 +303,8 @@ font-size: 18px; } .challenge-detail .tableWrap .final-submission-guidelines, -.challenge-detail .tableWrap .final-submission-guidelines p { +.challenge-detail .tableWrap .final-submission-guidelines p, +.challenge-detail .tableWrap .final-submission-guidelines li { font-weight: normal; color: rgb(51, 51, 51); font-size: 14px; @@ -363,17 +364,16 @@ h1.center { } .challenge-detail .tableWrap ul { - margin-left: 0px; + list-style: initial; + margin-left: 16px; padding: 0; margin-bottom: 10px; width: auto; color: #797979; - overflow: hidden; } .challenge-detail .tableWrap ul li { float: none; - display: block; height: auto; margin-bottom: 10px; font-family: 'Merriweather Sans'; @@ -381,7 +381,6 @@ h1.center { font-size: 14px; line-height: 1.4; border: none; - background: url("../i/bullet.png") no-repeat 0 7px; color: #797979; } @@ -402,12 +401,19 @@ h1.center { float: none; list-style-type: decimal; list-style-position: outside; - font-size: 13px; - line-height: 18px; + font-family: 'Merriweather Sans'; + font-weight: 300; + font-size: 14px; + line-height: 1.4; border: none; height: auto; padding-left: 0px; color: #797979; + margin-bottom: 10px; +} + +.challenge-detail .tableWrap ol li:last-child { + margin-bottom: 0; } .challenge-detail .tableWrap p a { @@ -441,11 +447,6 @@ h1.center { display: block; } -.challenge-detail .tableWrap ul li { - background: none; -} - - .challenge-detail .topRightTitle a { font-size: 16px; height: 26px; From ffa13ee87c96192d72469bf3676d60a592df7786 Mon Sep 17 00:00:00 2001 From: shubhu Date: Tue, 31 Jan 2017 19:41:33 +0530 Subject: [PATCH 2/2] corrected bottom padding for list items --- src/css/challenge-detail-software.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/challenge-detail-software.css b/src/css/challenge-detail-software.css index 1ea0e521..add4a761 100644 --- a/src/css/challenge-detail-software.css +++ b/src/css/challenge-detail-software.css @@ -375,7 +375,7 @@ h1.center { .challenge-detail .tableWrap ul li { float: none; height: auto; - margin-bottom: 10px; + margin-bottom: 6px; font-family: 'Merriweather Sans'; font-weight: 300; font-size: 14px; @@ -409,7 +409,7 @@ h1.center { height: auto; padding-left: 0px; color: #797979; - margin-bottom: 10px; + margin-bottom: 6px; } .challenge-detail .tableWrap ol li:last-child {