chiark / gitweb /
Set list-style-type in CSS.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 15 Jul 2017 22:25:36 +0000 (23:25 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 15 Jul 2017 22:25:36 +0000 (23:25 +0100)
It was obviously wrong that the <ul> on the Bedstead Web page had
circular bullets.  The current CSS Lists and Counters working draft,
<http://www.w3.org/TR/2014/WD-css-lists-3-20140320/>, allows for setting
the bullet to a string, and Firefox 54 supports this, so use it in the
CSS for Bedstead's Web page.

bedstead.css

index edc8ab03c77235b299c0b9af1aebd54dcdc75ffa..194fe53919914f3070bdfcc1415cbdfba1f9cd75 100644 (file)
@@ -25,6 +25,10 @@ h1, h2 {
     margin-left: -24px;
 }
 
+ul {
+    list-style-type: "\2022  ";
+}
+
 @font-face {
     font-family: Bedstead;
     font-stretch: expanded;