打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:Info/styles.css:修订间差异

模板页面
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
.info-stack-container {
.info-stack-container {
     max-width: 100%;
     max-width: 100%;
     border: 1px solid #a2a9b1;
     border: 1px solid var(--color-surface-border, #a2a9b1);
     border-left-width: 4px;
     border-left-width: 4px;
     border-left-style: solid;
     border-left-style: solid;
     border-left-color: #36c;
     background-color: var(--color-surface-0, #fff);
     background-color: #fff;
     border-radius: 0;
     margin: 1em auto;
     margin: 8px 0;
     box-sizing: border-box;
     box-sizing: border-box;
     padding: 0;
     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-inner {
.info-stack-body {
     display: flex;
     display: flex;
     align-items: flex-start;
     align-items: center;
    gap: 12px;
}
}


.info-stack-icon {
.info-stack-icon {
    margin-right: 12px;
     flex-shrink: 0;
     flex-shrink: 0;
     line-height: 0;
     line-height: 0;
    margin: 12px 0 12px 12px;
}
}


第28行: 第37行:
}
}


.info-stack-title {
/* 抹平 MediaWiki 祖传 <p> 标签的自带 margin */
    padding: 8px 12px;
.info-stack-content > p:first-child {
     margin: 0;
     margin-top: 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-content > p:last-child {
.info-stack-text {
     margin-bottom: 0;
    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日 (一) 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;
}