Skip to content

Commit 7510e55

Browse files
committed
Merge pull request #3 from jyasskin/dash-bullets
Use em-dash for list bullets in unordered lists.
2 parents 2f6ef5c + ffb2d09 commit 7510e55

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

base.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,19 @@ ins {text-decoration: underline; color: #005100;}
7777
pre { margin-left: 1em; }
7878
pre > code { display: inline-block; }
7979

80+
81+
/* Use an em-dash for the list bullet. */
82+
ul {
83+
list-style: none;
84+
/* Relative positioning on the 'ul' lets the absolutely-positioned
85+
marker align relative to it.*/
86+
position: relative;
87+
}
88+
ul li:before {
89+
content: "\2014";
90+
position: absolute; left: 10px;
91+
}
92+
8093
/* This is here rather than inside elements/toc.html because browsers
8194
don't understand leader() or target-counter(), so they drop them
8295
inside the CSSOM. */

0 commit comments

Comments
 (0)