Skip to content

Commit 31cf55a

Browse files
localize cc-by sprite icon helper class to style.css
1 parent b52265a commit 31cf55a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
11
@import 'vocabulary/css/vocabulary.css' layer(vocabulary);
2+
3+
4+
:root {
5+
6+
/* localized cc sprite names */
7+
--cc-by: url('/vocabulary/svg/cc/icons/cc-icons.svg#cc-by');
8+
9+
}
10+
11+
.icon-attach.cc-by:before {
12+
--icon-sprite: var(--cc-by);
13+
/* --icon-sprite-size: 2em; */
14+
margin-right: .2em;
15+
margin-bottom: -.125em;
16+
}
17+
18+

0 commit comments

Comments
 (0)