Template:Info/styles.css:修订间差异
模板页面
更多操作
| 第1行: | 第1行: | ||
.info-stack-container { | .info-stack-container { | ||
max-width: 100%; | max-width: 100%; | ||
border: 1px solid var(--color-surface-border, #a2a9b1); | border: 1px solid var(--color-surface-border, #a2a9b1); | ||
border-left-width: 4px; | border-left-width: 4px; | ||
| 第13行: | 第12行: | ||
} | } | ||
.info-stack-container + .info-stack-container { | .info-stack-container + .info-stack-container { | ||
margin-top: -9px; | margin-top: -9px; | ||
| 第21行: | 第19行: | ||
letter-spacing: 0.03em; | letter-spacing: 0.03em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.info-stack-body { | .info-stack-body { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
} | } | ||
| 第37行: | 第34行: | ||
.info-stack-content { | .info-stack-content { | ||
flex: 1; | flex: 1; | ||
min-width: 0; /* | min-width: 0; | ||
} | |||
/* 抹平 MediaWiki 祖传 <p> 标签的自带 margin */ | |||
.info-stack-content > p:first-child { | |||
margin-top: 0; | |||
} | |||
.info-stack-content > p:last-child { | |||
margin-bottom: 0; | |||
} | } | ||
2026年5月25日 (一) 08:06的最新版本
.info-stack-container {
max-width: 100%;
border: 1px solid var(--color-surface-border, #a2a9b1);
border-left-width: 4px;
border-left-style: solid;
background-color: var(--color-surface-0, #fff);
border-radius: 0;
margin: 8px 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.info-stack-container + .info-stack-container {
margin-top: -9px;
}
.info-stack-header {
letter-spacing: 0.03em;
text-transform: uppercase;
}
.info-stack-body {
display: flex;
align-items: center;
}
.info-stack-icon {
margin-right: 12px;
flex-shrink: 0;
line-height: 0;
}
.info-stack-content {
flex: 1;
min-width: 0;
}
/* 抹平 MediaWiki 祖传 <p> 标签的自带 margin */
.info-stack-content > p:first-child {
margin-top: 0;
}
.info-stack-content > p:last-child {
margin-bottom: 0;
}