._addText {
content: "{{T:Doc|content={{High-risk|info=此样式表为{{tl|原神}}等系列模板的重要组成结构,操作不当会导致大量内容显示异常。}}此CSS样式表用于对[[Template:原神/可控角色]]的“鼠标移入放大图标”效果提供复杂样式,由于该样式在单一模板的使用量庞大,修改需要谨慎。}}";
}
/* “原大头” */
.ydt {
display: inline-block;
padding-left: 20px;
line-height: 20px;
position: relative;
}
.ydt > span > a {
position: absolute;
display: block;
left: 0;
top: 50%;
transform: translate(0, -10px);
width: 20px;
height: 20px;
transition: all .2s ease;
}
.ydt > span > a.new {
display: none;
}
.ydt:hover > span > a {
transform: translate(-5px, -10px) scale(3);
z-index: 1;
}
.ydt:hover > span > a > img {
background: rgba(255,255,255,.75);
box-shadow: 0 0 4px 1px rgba(0,0,0,.15), 1px 1px 3px 0 rgba(0,0,0,.25), inset 0 0 5px 0 rgba(0, 0, 0, .15);
padding: 1px;
transition: box-shadow .2s, background .2s;
}
.ydt > span > a > img {
width: 17.5px;
height: 17.5px;
position: absolute;
left: 0;
bottom: 0;
right: 0;
top: 0;
margin: auto;
border-radius: 50%;
}
.ydt .ca {
font-family: KaiTi, 楷体, cursive;
font-weight: bold;
font-size: 1.2em;
opacity: 0.9;
}
/* [[Category:在模板名字空间下的CSS页面]] */