From a89f3414ff031acbb6d5ced072af86f175fe8641 Mon Sep 17 00:00:00 2001 From: exane Date: Mon, 29 Jun 2015 10:31:02 +0200 Subject: [PATCH] change strength display on cards --- assets/card_strength_border.png | Bin 0 -> 5039 bytes client/scss/main.scss | 18 ++++++++++++++---- client/templates/fieldCards.handlebars | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 assets/card_strength_border.png diff --git a/assets/card_strength_border.png b/assets/card_strength_border.png new file mode 100644 index 0000000000000000000000000000000000000000..a56b0a343c243bdbccd65c64bb81ef8cc585ab02 GIT binary patch literal 5039 zcmV;g6Hx4lP)00009a7bBm000XU z000XU0RWnu7ytkYPiaF#P*7-ZbZ>KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV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+|tyus7 literal 0 HcmV?d00001 diff --git a/client/scss/main.scss b/client/scss/main.scss index 89bd8b5..2106cc0 100644 --- a/client/scss/main.scss +++ b/client/scss/main.scss @@ -146,12 +146,22 @@ $game-height: 800px; span { color: #ff2d00; font-weight: bold; - font-size: 20px; + font-size: 16px; position: absolute; - text-shadow: 1px 1px 0px #101010; - margin-top: 62px; - margin-left: 0px; + text-shadow: 1px 1px 1px #101010; + text-align: center; + //margin-top: 62px; + //margin-left: 3px; + //margin-top: 2px; cursor: default; + //background: #ffffff; + //border-radius: 10px; + //padding: 2px; + padding-top: 4px; + //padding-left: -4px; + height: 37px; + width: 30px; + background: url("../../assets/card_strength_border.png") no-repeat; } &.disabled { diff --git a/client/templates/fieldCards.handlebars b/client/templates/fieldCards.handlebars index 208415a..ccb6cc4 100644 --- a/client/templates/fieldCards.handlebars +++ b/client/templates/fieldCards.handlebars @@ -1,6 +1,6 @@ {{#each this}}
- {{#if diff}}{{diff}}{{/if}} + {{#if diff}}{{power}}{{/if}}
{{/each}} \ No newline at end of file