沙盒:修订间差异
来自卡厄思梦境WIKI
小无编辑摘要 |
小无编辑摘要 |
||
| 第1行: | 第1行: | ||
<div style="position: relative; width: 100%; height: 584px; margin: 0 auto; overflow: hidden;"> | <div style="position: relative; width: 100%; height: 584px; margin: 0 auto; overflow: hidden;"> | ||
<div style="position: absolute; top: 0px; left: 0px;">[[File:bg_character_info.png|link=]]</div> | <div style="position: absolute; top: 0px; left: 0px;">[[File:bg_character_info.png|link=]]</div> | ||
<div style="position: absolute; bottom: | <div style="position: absolute; bottom: 10px; right: -100px;">[[File:portrait_character_class_1064.png|900px|link=]]</div> | ||
<div style="position: absolute; top: 100px; left: 32px; color: white; font-weight: bold; font-size:24px; text-shadow: 2px 2px 5px #000000;">Kayron</div> | <div style="position: absolute; top: 100px; left: 32px; color: white; font-weight: bold; font-size:24px; text-shadow: 2px 2px 5px #000000;">Kayron</div> | ||
<div style="position: absolute; top: 120px; left: 30px; color: white; font-weight: bold; font-size:68px; text-shadow: 2px 2px 5px #000000;">凯隆</div> | <div style="position: absolute; top: 120px; left: 30px; color: white; font-weight: bold; font-size:68px; text-shadow: 2px 2px 5px #000000;">凯隆</div> | ||
| 第8行: | 第8行: | ||
<div style="position: absolute; top: 210px; left: 30px;">[[File:icon_CV.png|25px|link=]]</div> | <div style="position: absolute; top: 210px; left: 30px;">[[File:icon_CV.png|25px|link=]]</div> | ||
<div style="position: absolute; top: 213px; left: 57px; color: #666666">待补充(韩)、待补充(日)、待补充(英)、待补充(中)</div> | <div style="position: absolute; top: 213px; left: 57px; color: #666666">待补充(韩)、待补充(日)、待补充(英)、待补充(中)</div> | ||
<div style="position: absolute; top: | <div style="position: absolute; top: 230px; left: 30px;"> | ||
{| class="wikitable" style="width: 500px;" | {| class="wikitable" style="width: 500px;" | ||
|- | |- | ||
| 第19行: | 第19行: | ||
|待补充 | |待补充 | ||
|- | |- | ||
!异能 | |||
|待补充 | |||
!所属势力 | |||
|style="font-size:12px"|待补充<br>待补充 | |||
|- | |||
|colspan=4| | |||
|} | |} | ||
</div> | </div> | ||
</div> | </div> | ||
{{#css: | {{#css: | ||
.wikitable { | table.wikitable, | ||
background-color: rgba(0, 0, 0, 0. | .mw-parser-output table.wikitable { | ||
background-color: rgba(0, 0, 0, 0.5) !important; /* 添加!important增加优先级 */ | |||
border-collapse: collapse; | border-collapse: collapse; | ||
margin: 1em 0; | margin: 1em 0; | ||
} | } | ||
.wikitable th, | |||
.wikitable td { | table.wikitable th, | ||
padding: 3px; /* 单元格内边距为3px */ | table.wikitable td, | ||
border: | .mw-parser-output table.wikitable th, | ||
color: white; /* 文字颜色为白色 */ | .mw-parser-output table.wikitable td { | ||
text-align: center; /* 文字居中对齐 */ | padding: 3px !important; /* 单元格内边距为3px */ | ||
border: 2px solid rgba(200, 200, 200, 0.5) !important; /* 灰白色半透明边框 */ | |||
color: white !important; /* 文字颜色为白色 */ | |||
text-align: center !important; /* 文字居中对齐 */ | |||
} | } | ||
.wikitable th { | |||
background-color: rgba(30, 30, 30, 0. | table.wikitable th, | ||
.mw-parser-output table.wikitable th { | |||
background-color: rgba(30, 30, 30, 0.5) !important; /* 表头稍深一点的背景色 */ | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.wikitable caption { | |||
color: white; /* 表格标题也设为白色 */ | table.wikitable caption, | ||
.mw-parser-output table.wikitable caption { | |||
color: white !important; /* 表格标题也设为白色 */ | |||
text-align: center; | text-align: center; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
}} | }} | ||
