Template:Infobox Backrooms:修订间差异
外观
创建页面,内容为“<div class="sd-container" style="width: 100%; max-width: 400px; margin: 1em 0; font-family: sans-serif;"> <!-- 上半部分:标题 + 菱形 --> <div class="sd-top" style="position: relative; background: linear-gradient(90deg, #5a4a1a 0%, #f4c430 40%, #f4c430 60%, #5a4a1a 100%); padding: 12px 16px; min-height: 60px; border-radius: 4px 4px 0 0;"> <!-- 左侧文字 --> <div style="position: relative; z-index: 2;">…” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<div | <div style="background: #1a1a2e; color: #e0e0e0; margin: 1em 0; position: relative; overflow: hidden; min-height: 120px; border-radius: 4px;"> | ||
<!-- 顶部条 --> | |||
<div style="background: linear-gradient(90deg, #4a4a4a 0%, #f5c518 40%, #f5c518 100%); padding: 10px 16px; position: relative; z-index: 2;"> | |||
<div style="font-size: 1.5em; font-weight: bold; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.6);">生存难度:</div> | |||
<div style="font-size: 1.2em; color: #fff; font-style: italic;">等级 {{{等级|?}}}</div> | |||
<!-- 斜线装饰 --> | |||
<div style="position: absolute; right: 90px; top: -10px; bottom: -10px; width: 40px; background: #1a1a2e; transform: skewX(-35deg);"></div> | |||
<div style="position: absolute; right: 55px; top: -10px; bottom: -10px; width: 40px; background: #1a1a2e; transform: skewX(-35deg);"></div> | |||
</div> | |||
<!-- 菱形图标 --> | |||
<div style="position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; background: #f5c518; transform: rotate(45deg); box-shadow: -3px 3px 10px rgba(0,0,0,0.4); z-index: 1;"> | |||
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg);"> | |||
<div style="width: 55px; height: 55px; border: 4px solid #1a1a2e; display: flex; align-items: center; justify-content: center; font-size: 2em; font-weight: bold; color: #1a1a2e; font-family: serif;">{{{等级|?}}}</div> | |||
</div> | </div> | ||
</div> | |||
<!-- 描述 --> | |||
<div style="padding: 20px 180px 20px 24px; line-height: 1.8; font-size: 1.1em;"> | |||
{{{描述|◆ 信息未提供}}} | |||
</div> | |||
</div> | </div> | ||