Template:Info/styles.css:修订间差异
模板页面
更多操作
| 第1行: | 第1行: | ||
.info-stack-container { | .info-stack-container { | ||
border: 1px solid #AAA; | |||
border-left: 4px solid #36c; | |||
background-color: #fff; | |||
margin: 1em 0; | |||
box-sizing: border-box; | |||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
.info-stack- | /* 相邻容器边框合并,实现无缝堆叠 */ | ||
.info-stack-container + .info-stack-container { | |||
margin | margin-top: -1px; | ||
} | } | ||
.info- | .info-header { | ||
display: flex; | display: flex; | ||
align-items: | align-items: center; | ||
} | } | ||
.info | .info-icon { | ||
margin-right: 12px; | |||
flex-shrink: 0; | flex-shrink: 0; | ||
line-height: 0; | line-height: 0; | ||
} | } | ||
.info- | .info-title { | ||
flex: 1; | flex: 1; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
.info- | .info-content { | ||
/* 基础样式由内联控制 */ | |||
} | |||
.info-body { | |||
display: flex; | |||
align-items: flex-start; | |||
} | } | ||
2026年5月25日 (一) 07:35的版本
.info-stack-container {
border: 1px solid #AAA;
border-left: 4px solid #36c;
background-color: #fff;
margin: 1em 0;
box-sizing: border-box;
max-width: 100%;
}
/* 相邻容器边框合并,实现无缝堆叠 */
.info-stack-container + .info-stack-container {
margin-top: -1px;
}
.info-header {
display: flex;
align-items: center;
}
.info-icon {
margin-right: 12px;
flex-shrink: 0;
line-height: 0;
}
.info-title {
flex: 1;
min-width: 0;
}
.info-content {
/* 基础样式由内联控制 */
}
.info-body {
display: flex;
align-items: flex-start;
}