模板:公告列表:修订间差异
(创建页面,内容为“<div style="width:100%;overflow:hidden"><span style="float:left;width:36px;height:22px;line-height:22px;background-color:#{{#switch:{{{1}}}|公告=b96f3f|专题=4b69b9|攻略=526398|新手=449bca|科普=294184|视频=444444|角色=ab5356|推图=75a26a|同人=989898|福利=913c3d|526398}};border-radius: 2px;color: #fff;text-align: center;margin:4px 0px;margin-right:10px;font-size:12px">{{{2|}}}</span><span style="float:left;width:calc(100% - 46px…”) |
无编辑摘要 |
||
(未显示同一用户的7个中间版本) | |||
第1行: | 第1行: | ||
<div | <includeonly> | ||
<div class="waicengbox"> | |||
<div class="gonggaotubiao">{{{1|}}}</div> | |||
<div class="wenzibufen"> | |||
<a href="{{{3|}}}"> | |||
<div>{{{2|}}}</div></a> | |||
</div> | |||
</div> | |||
<div class="gonggaotubiao">公告</div> | |||
{{#css: | |||
.gonggaotubiao { | |||
width: .44rem; | |||
height: .2rem; | |||
font-size: .14rem; | |||
line-height: .2rem; | |||
text-align: center; | |||
font-weight: bold; | |||
white-space: nowrap; | |||
background: url(https://i.17173cdn.com/g8bz6k/zzz/4/40/postsicon.png); | |||
color: #bfdb5a; | |||
} | |||
.waicengbox { | |||
background-color: transparent; | |||
color: #fff; | |||
border: 1px solid transparent; | |||
} | |||
.wenzibufen { | |||
float: left; | |||
width: calc(100% - 46px); | |||
height: 22px; | |||
line-height: 22px; | |||
margin: 4px 0px; | |||
overflow: hidden; | |||
white-space: nowrap; | |||
text-overflow: ellipsis; | |||
} | |||
/* 哪来的样式 */ | |||
.so-content-in pre, .so-content-in code, .so-content-in .mw-code{ | |||
background-color: transparent !important; | |||
color: #fff !important; | |||
border: 1px solid transparent !important; | |||
} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
{{公告列表|公告|公1告|公2告}} | |||
{{公告列表|公告|公1告|公2告}} | |||
{{公告列表|公告|公1告|公2告}} |