Template:Info/styles.css:修订间差异
模板页面
更多操作
| 第1行: | 第1行: | ||
.info-stack-container { | .info-stack-container { | ||
max-width: 100%; | max-width: 100%; | ||
border: 1px solid # | border: 1px solid #a2a9b1; | ||
border-left: | border-left-width: 4px; | ||
border-left-style: solid; | |||
border-left-color: #36c; | |||
margin: | background-color: #fff; | ||
margin: 1em auto; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0; | |||
} | } | ||
.info-stack-inner { | .info-stack-inner { | ||
display: flex; | display: flex; | ||
align-items: | align-items: flex-start; | ||
gap: 12px; | |||
} | } | ||
.info-stack-icon { | .info-stack-icon { | ||
flex-shrink: 0; | flex-shrink: 0; | ||
line-height: 0; | line-height: 0; | ||
margin: 12px 0 12px 12px; | |||
} | } | ||
| 第31行: | 第29行: | ||
.info-stack-title { | .info-stack-title { | ||
font-weight: | padding: 8px 12px; | ||
margin- | 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; | |||
} | } | ||
2026年5月25日 (一) 07:05的版本
.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;
}