text background
This commit is contained in:
parent
787fd8ac90
commit
e18356a554
@ -130,6 +130,9 @@
|
|||||||
margin-bottom: 0.25em;
|
margin-bottom: 0.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
grid-area: name;
|
grid-area: name;
|
||||||
|
span {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.skills {
|
.skills {
|
||||||
@ -138,9 +141,15 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
|
span {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
button.active {
|
button.active {
|
||||||
background: #2c2c2c;
|
background: #2c2c2c;
|
||||||
|
span {
|
||||||
|
background-color: #2c2c2c;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,6 +160,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
span {
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats {
|
.stats {
|
||||||
@ -232,6 +244,7 @@
|
|||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
background-color: black;
|
||||||
svg {
|
svg {
|
||||||
display: inline;
|
display: inline;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
|
|||||||
@ -111,7 +111,7 @@ function constructText(props) {
|
|||||||
? animText.text
|
? animText.text
|
||||||
: construct.name;
|
: construct.name;
|
||||||
|
|
||||||
return <h3 class={'name'}>{text}</h3>;
|
return <h3 class={'name'}><span>{text}</span></h3>;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@ -153,11 +153,11 @@ class GameConstruct extends Component {
|
|||||||
}
|
}
|
||||||
const effects = construct.effects.length
|
const effects = construct.effects.length
|
||||||
? construct.effects.map(c =>
|
? construct.effects.map(c =>
|
||||||
<div
|
<div key={c.effect}>
|
||||||
key={c.effect}
|
<span key={c.effect} onMouseOver={e => hoverInfo(e, c)}
|
||||||
onMouseOver={e => hoverInfo(e, c)}
|
onMouseOut={e => hoverInfo(e, null)}> {c.effect} - {c.duration}T
|
||||||
onMouseOut={e => hoverInfo(e, null)}
|
</span>
|
||||||
> {c.effect} - {c.duration}T</div>)
|
</div>)
|
||||||
: null;
|
: null;
|
||||||
return (<div class="effects"> {effects} </div>);
|
return (<div class="effects"> {effects} </div>);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -91,7 +91,7 @@ function Skill(props) {
|
|||||||
onMouseOut={e => hoverInfo(e, null)}
|
onMouseOut={e => hoverInfo(e, null)}
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={onClick}>
|
onClick={onClick}>
|
||||||
{s.skill} {cdText}
|
<span>{s.skill} {cdText}</span>
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user