Skip to content

Commit

Permalink
Merge pull request #10672 from wiktorkuchta/webman-disc
Browse files Browse the repository at this point in the history
webman: Remove colored list bullets
  • Loading branch information
Octachron committed Oct 21, 2021
2 parents 54e10a5 + bf0859d commit 0684867
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ Working version
(Nicolás Ojeda Bär, report by Daniel Bünzli, review by David Allsopp,
Sébastien Hinderer, and Daniel Bünzli)

- #10671, #10672: webman: Fix misalignments in unordered lists by changing the
CSS for coloring bullets
(Wiktor Kuchta, review by Florian Angeletti)

### Compiler user-interface and warnings:

- #10328: Give more precise error when disambiguation could not possibly work.
Expand Down
11 changes: 3 additions & 8 deletions manual/src/html_processing/scss/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,9 @@ html {
margin-left:-1em
}

@mixin disc {
content:"";
color:$logocolor;
margin-right:4px;
margin-left:-1em;
font-family: $font-sans;
font-size:13px;
vertical-align:1px;
@mixin colored-disc-marker {
list-style-type: disc;
li::marker { color:$logocolor; }
}

@mixin diamond {
Expand Down
8 changes: 3 additions & 5 deletions manual/src/html_processing/scss/manual.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
}
ul{list-style:none;}
ul.itemize li::before{@include disc;}
ul.itemize {@include colored-disc-marker;}

/* When the TOC is repeated in the main content */
ul.ul-content {
Expand All @@ -44,7 +44,6 @@
ul{
list-style: none;
li {
margin-left: 0.5ex;
span {
color:#c88b5f;
}
Expand All @@ -54,9 +53,8 @@
}
}
/* only for Contents/Foreword in index.html: */
ul.ul-content li::before{
@include disc;
margin-left: 0;
ul.ul-content {
@include colored-disc-marker;
}
/* table of contents: (manual.001.html): */
ul.toc ul.toc ul.toc{
Expand Down

0 comments on commit 0684867

Please sign in to comment.