mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-08-21 08:04:18 -05:00
energy to the left
This commit is contained in:
@@ -41,13 +41,22 @@ export default class Creature extends React.Component {
|
||||
<span className="flavortext">{card.gsx$flavortext}</span>
|
||||
</div>
|
||||
<br />
|
||||
<div className="stats">
|
||||
<span>{card.gsx$courage} <img className="icon16" src={"/src/img/icons/disciplines/courage.png"}></img></span><br />
|
||||
<span>{card.gsx$power} <img className="icon16" src={"/src/img/icons/disciplines/power.png"}></img></span><br />
|
||||
<span>{card.gsx$wisdom} <img className="icon16" src={"/src/img/icons/disciplines/wisdom.png"}></img></span><br />
|
||||
<span>{card.gsx$speed} <img className="icon16" src={"/src/img/icons/disciplines/speed.png"}></img></span><br />
|
||||
<span style={{fontWeight: 'bold'}}>{card.gsx$energy}</span>
|
||||
</div>
|
||||
<div className="stats">
|
||||
<div className="energy">
|
||||
{card.gsx$courage}<img className="icon16" src={"/src/img/icons/disciplines/courage.png"}></img>
|
||||
</div>
|
||||
<div className="energy">
|
||||
{card.gsx$power}<img className="icon16"src={"/src/img/icons/disciplines/power.png"}></img>
|
||||
</div>
|
||||
<div className="energy">
|
||||
{card.gsx$wisdom}<img className="icon16"src={"/src/img/icons/disciplines/wisdom.png"}></img>
|
||||
</div>
|
||||
<div className="energy">
|
||||
{card.gsx$speed}<img className="icon16"src={"/src/img/icons/disciplines/speed.png"}></img>
|
||||
</div>
|
||||
<div className="energy" style={{fontWeight: 'bold'}}>{card.gsx$energy}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
else return (
|
||||
|
||||
@@ -71,6 +71,11 @@
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.energy {
|
||||
display: flex;
|
||||
width: 20px !important;
|
||||
}
|
||||
|
||||
.left {
|
||||
vertical-align: text-top;
|
||||
float: left;
|
||||
@@ -110,7 +115,6 @@
|
||||
display: flex;
|
||||
justify-content: center; /* align horizontal */
|
||||
align-items: center; /* align vertical */
|
||||
font-size: 16pt;
|
||||
padding: 2%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user