529
次編輯
(关闭圆角,标题栏改为浅蓝渐变(下深蓝→上淡白)) |
(新增全站公告条、维护模板提示框样式,信息框窄屏自适应) |
||
| 第38行: | 第38行: | ||
.infotable-key { flex: 0 0 36%; color: #555; font-weight: 600; } | .infotable-key { flex: 0 0 36%; color: #555; font-weight: 600; } | ||
.infotable-val { flex: 1; } | .infotable-val { flex: 1; } | ||
/* ===== 全站公告条 ===== */ | |||
.site-notice { | |||
background: #fff8e1; | |||
border: 1px solid #f0d488; | |||
border-left: 4px solid #e0a800; | |||
border-radius: 6px; | |||
padding: 10px 14px; | |||
margin: 6px 0 14px; | |||
font-size: 14px; | |||
line-height: 1.6; | |||
} | |||
.site-notice strong { color: #8a6100; margin-right: 6px; } | |||
/* ===== 维护模板提示框 ===== */ | |||
.wiki-msg { | |||
border-radius: 6px; | |||
padding: 8px 14px; | |||
margin: 10px 0; | |||
font-size: 14px; | |||
line-height: 1.6; | |||
clear: both; | |||
} | |||
.wiki-msg-stub { | |||
background: #eef3ff; | |||
border: 1px solid #c9d8f5; | |||
border-left: 4px solid #5b7cfa; | |||
} | |||
.wiki-msg-src { | |||
background: #fff8e1; | |||
border: 1px solid #f0d488; | |||
border-left: 4px solid #e0a800; | |||
} | |||
.wiki-msg-good { | |||
background: #eaf7ee; | |||
border: 1px solid #bfe3c9; | |||
border-left: 4px solid #28a745; | |||
} | |||
/* ===== 信息框在窄屏/移动端自适应 ===== */ | |||
@media (max-width: 720px) { | |||
.infotable { | |||
float: none; | |||
width: 100%; | |||
margin: 0 0 1em 0; | |||
} | |||
} | |||