37 lines
797 B
CSS
37 lines
797 B
CSS
/* The card is a column: what the book is DOING right now stands above the pairs, and the one
|
|
action of the card between them — a person looks for it where the state was just named. */
|
|
.card {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
padding-top: var(--space-2);
|
|
}
|
|
|
|
/* A calm list of "field — value" pairs, not cards with statistics (prompt §3.9). */
|
|
.about {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--space-4);
|
|
align-items: center;
|
|
height: var(--row-height);
|
|
padding-inline: var(--space-2);
|
|
}
|
|
|
|
.fieldName {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.fieldValue {
|
|
overflow: hidden;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|