0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 21:12:41 +00:00

have part of the random encoutner generator working, should move over to flux before continuing

This commit is contained in:
Scott Tolksdorf
2015-11-23 13:29:50 -05:00
parent 4abee31892
commit cd3c111aa5
7 changed files with 212 additions and 35 deletions

View File

@@ -17,7 +17,7 @@ var Encounter = React.createClass({
reward : '',
enemies : [],
players : '',
index : {},
unique : {},
monsterManual : {}
};
@@ -109,8 +109,7 @@ var Encounter = React.createClass({
var reward;
if(this.props.reward){
reward = <div className='reward'>
<i className='fa fa-trophy' />
{this.props.reward}
<i className='fa fa-trophy' /> Rewards: {this.props.reward}
</div>
}

View File

@@ -7,13 +7,18 @@
&>.info{
margin-left: 10px;
padding-bottom : 10px;
border-bottom: 1px solid #ddd;
h1{
font-size: 2em;
font-weight: 800;
margin-bottom: 5px;
}
p{
margin-left: 10px;
font-size: 0.8em;
line-height: 1.5em;
max-width: 600px;
}
.reward{
font-size: 0.8em;