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