Template:信息框/styles.css:修订间差异
模板页面
更多语言
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
.t-infobox { | .t-infobox { | ||
width: 100%; | width: 100%; | ||
margin-bottom: var(--space-md); | margin-bottom: var(--space-md); | ||
font-size: var(--font-size-small); | font-size: var(--font-size-small); | ||
line-height: var(--line-height-small); | line-height: var(--line-height-small); | ||
border: var(--border-base); | |||
border-radius: var(--border-radius-medium); | |||
overflow-y: clip; | |||
background: var(--color-surface-1); | |||
} | } | ||
.t-infobox-header-content { | .t-infobox-header-content { | ||
2026年8月24日 (一) 12:02的版本
.t-infobox {
width: 100%;
margin-bottom: var(--space-md);
font-size: var(--font-size-small);
line-height: var(--line-height-small);
border: var(--border-base);
border-radius: var(--border-radius-medium);
overflow-y: clip;
background: var(--color-surface-1);
}
.t-infobox-header-content {
position: relative;
margin-top: var(--space-sm);
font-weight: var(--font-weight-medium);
padding-inline: var(--space-md);
}
.t-infobox-title {
font-size: var(--font-size-xx-large);
line-height: var(--line-height-large);
font-weight: var(--font-weight-semi-bold);
color: var(--color-emphasized);
}
.infobox-image img {
width: 100%;
height: 100%;
}
.t-infobox-section {
padding-inline: 1rem;
}
.t-infobox-item {
display: flex;
flex-direction: var(--infobox-item-flex-direction);
gap: 2px var(--space-xxs);
}
.t-infobox-item-label {
flex-basis: 30%;
}
.t-infobox-item-content {
flex-basis: 70%;
text-align: end;
}