- 欢迎来到THBWiki!如果您是第一次来到这里,请点击右上角注册一个帐户
- 有任何意见、建议、求助、反馈都可以在 讨论板 提出
- THBWiki以专业性和准确性为目标,如果你发现了任何确定的错误或疏漏,可在登录后直接进行改正
模板:简单对话/styles.css
< 模板:简单对话
Jump to navigation
Jump to search
/* 简单对话表 */
.dialogue-card {
max-width: 700px;
padding: 10px;
display: flex;
}
.dialogue-card.player {
flex-direction: row-reverse;
}
.dialogue-card.player .dialogue-content{
float:right;
}
.dialogue-body {
padding-right: 10px;
}
.dialogue-avatar {
padding-right: 10px;
padding-bottom: 10px;
}
.dialogue-avatar.reverse{
transform: scalex(-1);
padding-right: 0px;
padding-left: 10px;
}
.dialogue-avatar img {
width: 50px;
height: 50px;
border-radius: 50%;
border: 2px solid #ffffff;
object-fit: cover;
object-position: top;
}
.dialogue-avatar .noavatar {
width: 50px;
height: 50px;
border-radius: 50%;
border: 2px solid #ffffff;
text-align: center;
line-height: 45px;
}
.dialogue-char,
.dialogue-narrator {
font-weight: bold;
margin-top: 0.5em;
}
.dialogue-char .dialogue-tag {
font-size: 12px;
font-weight: normal;
margin: 4px;
padding: 1px 2px;
border-radius: 6px;
border: solid 1px #fff;
}
.dialogue-content {
margin-top: 5px;
}
.dialogue-content,
.dialogue-status,
.dialogue-text {
display: inline-block;
padding: 0.4em 0.8em;
border-radius: 0.4em;
}
.dialogue-card.player .dialogue-char{
text-align: right;
}
.dialogue-content p,
.dialogue-status p,
.dialogue-text p {
padding: 0;
margin: 0;
}
.dialogue-status {
font-size: 12px;
font-style: italic;
}
.dialogue-text {
font-size: 12px;
font-weight: bold;
}
[创建] 模板文档