Also improved the display of features and generally iterated on their manipulation. Characters now fetch the relevant effects directly when making a calculation, simplifying almost everything. Effects now store a reference to their source if they have one. Effect names are now optional, they can be fetched from the source's name if the source exists.
39 lines
496 B
CSS
39 lines
496 B
CSS
paper-shadow.featureCard {
|
|
width: 300px;
|
|
padding: 16px;
|
|
margin: 4px;
|
|
background: white;
|
|
flex-grow: 1;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.features {
|
|
display: flex !important;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
padding: 4px;
|
|
}
|
|
|
|
.featureCardTop {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.featureCardBottom {
|
|
white-space: pre-line;
|
|
}
|
|
|
|
#addFeature {
|
|
position: absolute;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
#addFeature {
|
|
bottom: 16px;
|
|
right: 24px;
|
|
}
|
|
}
|
|
|