Skip to content

Commit

Permalink
separate paddings for ul and ol
Browse files Browse the repository at this point in the history
Signed-off-by: David Luhmer <david-dev@live.de>
  • Loading branch information
David-Development committed Oct 10, 2024
1 parent 2239bc8 commit b081581
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions News-Android-App/src/main/assets/web.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,24 +165,29 @@ a {
color: #ffffff !important;
}

/* We use custom list style / use 0 padding for first level of lists */
ul, ol {

ul {
/* We use custom list style for Unordered Lists */
list-style: none;
/* 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: 0px 0px 0px 12px;
padding-left: 14px;
}


ul li:before, ol li:before {
ul li:before {
vertical-align: 18%;
margin-right:10px;
margin-right: 10px;
border-style: solid;
border-width: 0.10em 0.10em 0 0;
content: '';
Expand Down

0 comments on commit b081581

Please sign in to comment.