3,599
edits
m (Moving title back out of container so I can use it to show/hide the container. ((crazy expression like I have no plan haha its true I have no plan AAGHHH))) |
m (Fiddling) |
||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
.relationships-title { background-color: steelblue; color: white; font-weight: bold; font-size: 1.5em; padding-left: .5em | .relationships-title { background-color: steelblue; color: white; font-weight: bold; font-size: 1.5em; padding-left: .5em; } | ||
.relationships-container { background-color: white; border-radius: 0 1.8em 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; border-radius: 0 1.8em 1.5em 1.5em; border: 3px solid steelblue; display: flex; flex-flow: row wrap; justify-content: space-evenly; min-width: fit-content; padding: .5em;} | ||
.relationships-entry { min-width: 400px; margin: . | .relationships-entry { min-width: 400px; margin: .5em; padding: 1.5em; background-color: #f0f0f0; border-radius: 1em; flex-basis: 25%; flex-grow: 1; } | ||
.relationships-portrait-box { margin-bottom: .5em; display: flex; justify-content: center; } | .relationships-portrait-box { margin-bottom: .5em; display: flex; justify-content: center; } | ||
.relationships-portrait { width: 190px; height: 190px; overflow: hidden; border-radius: 50%; display:inline-flex; margin: 0 .25em; } | .relationships-portrait { width: 190px; height: 190px; overflow: hidden; border-radius: 50%; display:inline-flex; margin: 0 .25em; } | ||
Line 9: | Line 9: | ||
}} | }} | ||
<div class="mw-customtoggle-closest | <div class="mw-customtoggle-closest" style="cursor:pointer" style="background-color: #c1dcf5; padding: 10px; border-bottom: 3px solid steelblue;"><big>'''Closest Relationships'''</big> <small>[Click to show/hide]</small><div style="clear:both"></div></div> | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-closest" style="background-color: white; margin: 15px; border-left: 6px solid steelblue; border-radius: 16px;"> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-closest" style="background-color: white; margin: 15px; border-left: 6px solid steelblue; border-radius: 16px;"> | ||
<!-- Start Collapsible --><div class="mw-collapsible-content"> | <!-- Start Collapsible --><div class="mw-collapsible-content"> |