Files
com.xaymar.www/assets/site.scss
T
Michael Fabian 'Xaymar' Dirks 261171518c Add missing symbols and fix naming
2022-11-27 07:08:41 +01:00

34 lines
824 B
SCSS

---
# Ensure Jekyll converts this file.
symbols:
- code: 0023F5
- code: 0023F8
- code: 0023F9
- code: 0026F6
combos:
- code: 00200F
- code: 01F507
- code: 01F509
- code: 01F50A
---
@import "_base.scss";
.symbol {
background-position: center center;
background-size: contain;
}
{% for symbol in page.symbols %}.symbol[data-symbol="\{{symbol.code}}"] {
background-image: url("{{ "assets/symbols/u:symbol.svg" | replace_first: ":symbol", symbol.code | absolute_url }}");
color: transparent;
}
{% for combo in symbol.combos %}.symbol[data-symbol="\{{combo.code}}\{{symbol.code}}"] {
background-image: url("{{ "assets/symbols/u:symbol_:combo.svg" | replace_first: ":symbol", symbol.code | replace_first: ":combo", combo.code | absolute_url }}");
color: transparent;
}
{% endfor %}{% endfor %}