gammatools/web/assets/css/creatures.css

83 lines
1.4 KiB
CSS

#resultSection {
font-family: Arial, sans-serif;
font-size: 14pt;
}
.nickname {
background-color: #abf1f1;
border-style: solid;
border-width: 1px;
font-weight: bold;
}
.house-note {
background-color: rgba(246, 246, 167, 0.93);
font-style: italic;
}
.container {
display: grid;
grid-template-columns: 1.1fr 1fr 0.9fr;
grid-template-rows: 1.2fr 0.5fr 1.3fr;
gap: 0 0;
grid-auto-flow: row;
}
.container.android {
display: flex;
flex-direction: column;
gap: 20px;
}
/* Container for each type (thinker, worker, warrior) */
.typeContainer {
display: flex; /* Use flexbox for layout */
justify-content: space-between; /* Space out the child elements evenly */
margin-bottom: 20px; /* Add some bottom margin for separation between types */
}
/* Profile and abilities within each type */
.creature_id,
.creature_profile,
.creature_abilities {
width: 45%; /* Give them each about half the container's width */
height: 345px;
}
.creature_attacks {
width: 40%;
}
.creature_mutations {
width: 60%;
}
.creature_description {
width: 90%;
margin-top: 5px;
}
.creature_id {
grid-area: 1 / 1 / 2 / 2;
}
.creature_profile {
grid-area: 1 / 2 / 2 / 3;
}
.creature_abilities {
grid-area: 1 / 3 / 2 / 4;
}
.creature_attacks {
grid-area: 2 / 1 / 3 / 4;
}
.creature_mutations {
grid-area: 2 / 2 / 3 / 2;
}
.creature_description {
grid-area: 3 / 1 / 4 / 4;
}