refactor: details
This commit is contained in:
parent
18ea01b904
commit
273f949839
|
|
@ -104,8 +104,8 @@
|
||||||
```
|
```
|
||||||
|
|
||||||
**功能:**
|
**功能:**
|
||||||
- 点击骰子图标执行掷骰
|
- 点击文本执行掷骰
|
||||||
- 点击文本重置为公式
|
- 点击骰子图标重置为公式
|
||||||
- `key` 属性将结果记录到 URL 参数中 (`?dice-attack=15`)
|
- `key` 属性将结果记录到 URL 参数中 (`?dice-attack=15`)
|
||||||
|
|
||||||
**属性:**
|
**属性:**
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
/* icon */
|
/* icon */
|
||||||
icon, pull{
|
icon, pull{
|
||||||
@apply inline-block;
|
@apply inline-block;
|
||||||
width: 2em;
|
width: 1.5em;
|
||||||
height: 2em;
|
height: 1.28em;
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
--icon-src: '';
|
--icon-src: '';
|
||||||
background-image: var(--icon-src);
|
background-image: var(--icon-src);
|
||||||
|
|
@ -13,10 +13,9 @@ icon, pull{
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
icon.mini{
|
icon.big{
|
||||||
width: 1.5em;
|
width: 2em;
|
||||||
height: 1.28em;
|
height: 2em;
|
||||||
vertical-align: text-bottom;
|
|
||||||
}
|
}
|
||||||
pull{
|
pull{
|
||||||
margin-right: -.5em;
|
margin-right: -.5em;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue