3,599
edits
m (Changing display of portraits to center images vertically) |
m (Let's just make everything flex boxes) |
||
Line 3: | Line 3: | ||
.relationships-container { background-color: white; padding: .5em; border-radius: 0 0 1.5em 1.5em; border: 3px solid steelblue; display: flex; flex-flow: row wrap; justify-content: space-evenly; min-width: fit-content; } | .relationships-container { background-color: white; padding: .5em; border-radius: 0 0 1.5em 1.5em; border: 3px solid steelblue; display: flex; flex-flow: row wrap; justify-content: space-evenly; min-width: fit-content; } | ||
.relationships-entry { min-width: 400px; margin: .5em; padding: 1em; background-color: #f0f0f0; border-radius: 1em; flex-basis: 25%; flex-grow: 1; } | .relationships-entry { min-width: 400px; margin: .5em; padding: 1em; background-color: #f0f0f0; border-radius: 1em; flex-basis: 25%; flex-grow: 1; } | ||
.relationships-portrait-box { | .relationships-portrait-box { margin-bottom: .5em; display: flex; } | ||
.relationships-portrait { width: 190px; height: 190px; overflow: hidden; border-radius: 50%; display:inline-flex; align-items: center; } | .relationships-portrait { width: 190px; height: 190px; overflow: hidden; border-radius: 50%; display:inline-flex; } | ||
.relationships-portrait-center { width: 190px; height: 190px; overflow: hidden; border-radius: 50%; display:inline-flex; align-items: center; } | |||
.relationships-description { } | .relationships-description { } | ||
}} | }} |