Template:Infobox/styles.css: Difference between revisions
Template page
More actions
>MangoFVTT No edit summary |
>MangoFVTT No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
border-spacing: 0; | border-spacing: 0; | ||
color: var(--ygdren-color-text); | color: var(--ygdren-color-text); | ||
background-color: var(--ygdren-color- | background-color: var(--ygdren-color-infobox); | ||
line-height: var(--ygdren-line-height-xx-small); | line-height: var(--ygdren-line-height-xx-small); | ||
font-size: var(--ygdren-font-size-small); | font-size: var(--ygdren-font-size-small); | ||
backdrop-filter: var(--backdrop-filter-frosted-glass); | |||
} | } | ||
.pi-item { | .pi-item { | ||
padding: 0 16px; | padding: 0 16px; | ||
} | |||
.pi-group { | |||
border: none; | |||
} | |||
.pi-group > .pi-group { | |||
padding: 0; | |||
} | } | ||
.pi-title, .pi-header { | .pi-title, .pi-header { | ||
text-align: center; | text-align: center; | ||
} | |||
.pi-horizontal-group { | |||
padding: 0 16px; | |||
} | } | ||
| Line 24: | Line 36: | ||
line-height: var(--ygdren-line-height-xxx-small); | line-height: var(--ygdren-line-height-xxx-small); | ||
padding-bottom: 4px; | padding-bottom: 4px; | ||
padding-top: 8px; | |||
} | } | ||
| Line 50: | Line 63: | ||
padding-top: 8px; | padding-top: 8px; | ||
padding-bottom: 8px; | padding-bottom: 8px; | ||
border: none; | |||
text-align: left; | |||
} | } | ||
| Line 56: | Line 71: | ||
font-weight: var(--font-weight-semi-bold); | font-weight: var(--font-weight-semi-bold); | ||
color: var(--color-emphasized); | color: var(--color-emphasized); | ||
flex-basis: | flex-basis: 120px; | ||
} | } | ||
| Line 63: | Line 78: | ||
} | } | ||
.pi-data-value:not(:first-child) { | .pi-data-value:not(:first-child):not(.pi-horizontal-group-item) { | ||
padding-left: 16px; | padding-left: 16px; | ||
} | |||
.pi-horizontal-group-item { | |||
text-align: left; | |||
padding: 0; | |||
} | |||
.pi-horizontal-group-item:not(:first-child) { | |||
padding-left: 10px; | |||
} | |||
.pi-image { | |||
padding: 4px 0 0 0 !important; | |||
} | |||
.pi-image img { | |||
width: 100%; | |||
max-width: none; | |||
max-height: 350px; | |||
} | |||
.pi-caption:not(:empty) { | |||
padding: 0 16px; | |||
margin-top: var(--space-xs); | |||
color: var(--ygdren-color-faded); | |||
font-style: italic; | |||
} | } | ||