Skip to content

Commit 42d3746

Browse files
localize remaining license icons
1 parent 31cf55a commit 42d3746

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

src/style.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
/* localized cc sprite names */
77
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-by');
8+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-nc');
9+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-nd');
10+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-pd');
11+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-pdm');
12+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-sa');
13+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-zero');
14+
815

916
}
1017

@@ -15,4 +22,44 @@
1522
margin-bottom: -.125em;
1623
}
1724

25+
.icon-attach.cc-nc:before {
26+
--icon-sprite: var(--cc-nc);
27+
/* --icon-sprite-size: 2em; */
28+
margin-right: .2em;
29+
margin-bottom: -.125em;
30+
}
31+
32+
.icon-attach.cc-nd:before {
33+
--icon-sprite: var(--cc-nd);
34+
/* --icon-sprite-size: 2em; */
35+
margin-right: .2em;
36+
margin-bottom: -.125em;
37+
}
38+
39+
.icon-attach.cc-pd:before {
40+
--icon-sprite: var(--cc-pd);
41+
/* --icon-sprite-size: 2em; */
42+
margin-right: .2em;
43+
margin-bottom: -.125em;
44+
}
1845

46+
.icon-attach.cc-pdm:before {
47+
--icon-sprite: var(--cc-pdm);
48+
/* --icon-sprite-size: 2em; */
49+
margin-right: .2em;
50+
margin-bottom: -.125em;
51+
}
52+
53+
.icon-attach.cc-sa:before {
54+
--icon-sprite: var(--cc-sa);
55+
/* --icon-sprite-size: 2em; */
56+
margin-right: .2em;
57+
margin-bottom: -.125em;
58+
}
59+
60+
.icon-attach.cc-zero:before {
61+
--icon-sprite: var(--cc-zero);
62+
/* --icon-sprite-size: 2em; */
63+
margin-right: .2em;
64+
margin-bottom: -.125em;
65+
}

0 commit comments

Comments
 (0)