Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webman: Remove colored list bullets #10672

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,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