Template:Info/styles.css
模板页面
更多操作
.info-stack-container {
max-width: 100%;
border: 1px solid #a2a9b1;
border-left-width: 4px;
border-left-style: solid;
border-left-color: #36c;
background-color: #fff;
margin: 1em auto;
box-sizing: border-box;
padding: 0;
}
.info-stack-inner {
display: flex;
align-items: flex-start;
gap: 12px;
}
.info-stack-icon {
flex-shrink: 0;
line-height: 0;
margin: 12px 0 12px 12px;
}
.info-stack-content {
flex: 1;
min-width: 0;
}
.info-stack-title {
padding: 8px 12px;
margin: 0;
font-weight: 700;
font-size: 0.85em;
text-align: left;
background-color: #f0f0f0;
color: #202122;
border-bottom: 1px solid #a2a9b1;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.info-stack-text {
padding: 12px 16px;
line-height: 1.6;
color: #202122;
background-color: transparent;
font-size: 0.95em;
}
/* 无标题时保留内容区域的正常边距 */
.info-stack-content:first-child .info-stack-text {
padding-top: 12px;
}
/* 相邻容器间距(内容盒子原本的紧凑效果) */
.info-stack-container + .info-stack-container {
margin-top: -9px;
}