Skip to content

Commit a4e2aaa

Browse files
committed
All: remove bullet.png in favour of progressive ::marker color
1 parent 8149252 commit a4e2aaa

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

themes/jquery/css/base.css

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,12 +1810,14 @@ pre b {
18101810
}
18111811

18121812
#content ul li {
1813-
padding-bottom: 5px;
1814-
padding-top: 5px;
1815-
padding-left: 20px;
1813+
padding: 5px 0 5px 12px;
1814+
margin-left: 8px;
18161815
line-height: 20px;
1817-
list-style-type: none;
1818-
background: url(../images/bullet.png) no-repeat 0 10px;
1816+
}
1817+
1818+
#content ul li::marker {
1819+
content: "●";
1820+
color: #ccc;
18191821
}
18201822

18211823
#content ul.block-grid li {
@@ -2196,12 +2198,18 @@ input[type="submit"].dark:hover {
21962198
}
21972199

21982200
#sidebar li {
2199-
padding: 5px 0 5px 20px;
2200-
list-style-type: none;
2201-
background: url(../images/bullet.png) no-repeat 0 12px;
2201+
padding: 5px 0 5px 12px;
2202+
margin-left: 8px;
2203+
/* set explicitly to avoid default of "circle" on sub list */
2204+
list-style-type: disc;
22022205
text-shadow: 0 1px 0 #ffffff;
22032206
}
22042207

2208+
#sidebar li::marker {
2209+
color: #ccc;
2210+
content: "●";
2211+
}
2212+
22052213
#sidebar li a {
22062214
color: #4d4d4d;
22072215
text-decoration: none;
@@ -2965,7 +2973,8 @@ footer .books li a cite {
29652973
margin: 15px auto;
29662974
}
29672975

2968-
nav#main ul li, nav#main ul li a {
2976+
nav#main ul li,
2977+
nav#main ul li a {
29692978
float: none;
29702979
padding: 6px 0 6px 8px;
29712980
}

themes/jquery/images/bullet.png

-149 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)