diff options
| author | realtradam <[email protected]> | 2022-11-30 01:32:51 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-11-30 01:32:51 -0500 |
| commit | 431003c20269652c7169beecdb3654e12713687f (patch) | |
| tree | 63a0130d2eba439bda118e383ef8086aa1ff3045 /cards/card.rb | |
| parent | 057c6d62b6b66ab8a72382a09c28ab602daaf269 (diff) | |
| download | Plore-Tabletop-Game-431003c20269652c7169beecdb3654e12713687f.tar.gz Plore-Tabletop-Game-431003c20269652c7169beecdb3654e12713687f.zip | |
more spell ideas
Diffstat (limited to 'cards/card.rb')
| -rw-r--r-- | cards/card.rb | 47 |
1 files changed, 37 insertions, 10 deletions
diff --git a/cards/card.rb b/cards/card.rb index 1521e77..db2e354 100644 --- a/cards/card.rb +++ b/cards/card.rb @@ -227,6 +227,28 @@ class Card rule '.hearts_icon' do color :orangered end + rule '.odd_icon' do + background color: :black + padding '12px 0px 0px 12px' + font size: 30.px + height 48.px + width 48.px + end + rule '.even_icon' do + background color: :black + padding '12px 0px 0px 12px' + font size: 30.px + height 48.px + width 48.px + end + rule '.face_icon' do + background color: :black + #padding '12px 0px 0px 12px' + #font size: 30.px + #height 48.px + #width 48.px + padding '6px 3px 2px 5px' + end rule '.icon' do display 'inline-block' padding '8px 4px 0px 4px' @@ -236,16 +258,6 @@ class Card height 52.px width 52.px end - rule '.face_icon' do - color :white - display 'inline-block' - padding 4.px - height 62.px - min width: 62.px - font size: 55.px - border radius: 15.px - background color: :black - end rule '.card_type' do background color: :antiquewhite text align: :center @@ -357,6 +369,21 @@ class Card "🩸" end end + if action.symbol.include? :odd + _.span.icon.odd_icon do + "🔻" + end + end + if action.symbol.include? :even + _.span.icon.even_icon do + "⬜" + end + end + if action.symbol.include? :face + _.span.icon.face_icon do + "ðŸŽ" + end + end end _.div.action_detail do _.markdown <<-MD |
