Template:Headline:修订间差异

imported>我局得事你
无编辑摘要
imported>我局得事你
无编辑摘要
第1行: 第1行:
{{#css:
{{#css:
.esu-headline {
box-sizing: border-box;
width: 100%;
position: relative;
}
.esu-headline * {
box-sizing: border-box;
}
.esu-headline-text {
.esu-headline-text {
text-align: center;
text-align: center;
color: red;
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px rgb(204, 204, 255);
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px rgb(204, 204, 255);
font-family: Yunlin Sans, Hiragino Sans GB, 等线, 黑体, sans-serif;
font-family: Yunlin Sans, Hiragino Sans GB, 等线, 黑体, sans-serif;
第34行: 第25行:
}
}
}}
}}
<div class="esu-headline">
<div style="position: relative; color :{{{color|red}}};">
<center>
<center>
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<span style="outline: {{{border|5px}}} solid red; margin: {{{border|5px}}};">{{{image}}}</span>
<span style="outline: {{{border|5px}}} solid;">{{{image}}}</span>
}}
}}
</center>
</center>
第56行: 第47行:
=== <code>overlay</code> ===
=== <code>overlay</code> ===
文字是否覆盖图片,填写<code>no</code>可关闭
文字是否覆盖图片,填写<code>no</code>可关闭
=== <code>color</code> ===
文字和邊框的顏色,默认为<code>red</code>


== 示例 ==
== 示例 ==
第90行: 第83行:
|image=[[File:奶子精.png|1000px|忽悠大革命]]
|image=[[File:奶子精.png|1000px|忽悠大革命]]
|'''用鲜血和生命保卫大忽悠'''
|'''用鲜血和生命保卫大忽悠'''
|color=blue
}}
}}
</pre>
</pre>
第95行: 第89行:
|image=[[File:奶子精.png|1000px|忽悠大革命]]
|image=[[File:奶子精.png|1000px|忽悠大革命]]
|'''用鲜血和生命保卫大忽悠'''
|'''用鲜血和生命保卫大忽悠'''
|color=blue
}}
}}


[[Category:格式模板]]
[[Category:格式模板]]
</noinclude>
</noinclude>