Template:Infobox/styles.css: Difference between revisions
Template page
More actions
>MangoFVTT No edit summary |
>MangoFVTT No edit summary |
||
| Line 36: | Line 36: | ||
font-size: var(--ygdren-font-size-x-small); | font-size: var(--ygdren-font-size-x-small); | ||
font-weight: var(--ygdren-font-weight-regular); | font-weight: var(--ygdren-font-weight-regular); | ||
background: none; | |||
} | } | ||
Revision as of 14:27, 23 September 2025
.portable-infobox {
position: relative;
width: 320px;
padding: 8px 0;
border: var(--ygdren-border-base);
border-radius: var(--ygdren-border-radius-large);
border-spacing: 0;
color: var(--ygdren-color-text);
background-color: var(--ygdren-color-surface-2);
line-height: var(--ygdren-line-height-xx-small);
font-size: var(--ygdren-font-size-small);
}
.pi-item {
padding: 0 16px;
}
.pi-title, .pi-header {
text-align: center;
}
.pi-title {
font-size: var(--ygdren-font-size-x-large);
line-height: var(--ygdren-line-height-xxx-small);
padding-bottom: 4px;
}
.pi-header {
padding-top: 12px;
padding-bottom: 8px;
display: flex;
align-items: center;
gap: 1rem;
white-space: nowrap;
color: var(--ygdren-color-subtle);
font-size: var(--ygdren-font-size-x-small);
font-weight: var(--ygdren-font-weight-regular);
background: none;
}
.pi-header:before,
.pi-header:after {
content: " ";
height: 1px;
width: 100%;
background-color: var(--ygdren-border-color-base);
}