Skip to content

Commit 5570fda

Browse files
committed
rustdoc: merge identical CSS rules
1 parent 8b4b208 commit 5570fda

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/librustdoc/html/static/css/settings.css

+3-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
.setting-radio input {
1616
border-radius: 50%;
1717
}
18-
.setting-check input:checked {
19-
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">\
20-
<path d="M7,25L17,32L33,12" fill="none" stroke="black" stroke-width="5"/>\
21-
<path d="M7,23L17,30L33,10" fill="none" stroke="white" stroke-width="5"/></svg>');
22-
}
2318

2419
.setting-radio span, .setting-check span {
2520
padding-bottom: 1px;
@@ -52,6 +47,9 @@
5247
.setting-check input:checked {
5348
background-color: var(--settings-input-color);
5449
border-width: 1px;
50+
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">\
51+
<path d="M7,25L17,32L33,12" fill="none" stroke="black" stroke-width="5"/>\
52+
<path d="M7,23L17,30L33,10" fill="none" stroke="white" stroke-width="5"/></svg>');
5553
}
5654
.setting-radio input:focus, .setting-check input:focus {
5755
box-shadow: 0 0 1px 1px var(--settings-input-color);

0 commit comments

Comments
 (0)