diff --git a/News-Android-App/src/main/assets/web.css b/News-Android-App/src/main/assets/web.css index 862539a18..dc978b8ea 100644 --- a/News-Android-App/src/main/assets/web.css +++ b/News-Android-App/src/main/assets/web.css @@ -165,14 +165,29 @@ a { color: #ffffff !important; } + ul { + /* We use custom list style for Unordered Lists */ list-style: none; - padding: 0; + /* For the first level we should not have padding */ + padding: 0px; +} +ol { + /* ol items already have an intrinsic padding (the number in front has a negativ padding) */ + padding-left: 22px; +} + +/* Nested lists should be indented a little */ +ul li ul, +ul li ol, +ol li ul, +ol li ol { + padding-left: 14px; } ul li:before { vertical-align: 18%; - margin-right:10px; + margin-right: 10px; border-style: solid; border-width: 0.10em 0.10em 0 0; content: '';