MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针

如果在编辑的过程中遇到了什么问题,可以去讨论板提问。

为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证

MCBBS Wiki GitHub群组已上线!

您可以在回声洞中发表吐槽!

服务器状态监控。点击进入

本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>

用户:Salt lovely/沙盒/投票箱/style.css:修订间差异

跳到导航 跳到搜索
(样式拆分)
 
(编辑“用户:Salt_lovely/沙盒/投票箱/style.css” // 维基盐编辑器)
/* 不展示的部分 */
.salt-vote-container .salt-vote-color,
.salt-vote-container .salt-vote-descdescribe {
display: none;
}
}
.salt-vote-container .salt-vote-options li {
display: flexblock;
margin: 02px 0 2px0 0;
border-left: 4px solid var(--vote-color, #ab8749);
}
.salt-vote-container .salt-vote-options li.has-desc {
cursor: pointer;
}
.salt-vote-container .salt-vote-options li,
.salt-vote-container .salt-vote-options .salt-vote-option-content,
.salt-vote-container .salt-vote-options .salt-vote-desc {
position: relative;
width: 100%;
}
/* 选项主体部分 */
.salt-vote-container .salt-vote-options .salt-vote-option-content {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0 0 2px 0;
}
.salt-vote-container .salt-vote-options li::before {
padding: 0.5rem 1rem;
text-align: center;
border-left: 4px solid var(--vote-color, #ab8749);
font-size: 1rem;
}
.salt-vote-container .salt-vote-options li .salt-vote-voter a:hover::before {
opacity: 0.2;
}
/* 选项描述样式 */
.salt-vote-container .salt-vote-options .salt-vote-desc {
height: 0;
padding: 0.5rem 1rem;
margin: -1rem 0 0 0;
opacity: 0;
pointer-events: none;
overflow: hidden;
transition: all 0.2s ease;
box-sizing: border-box;
}
.salt-vote-container .salt-vote-options .salt-vote-desc.show {
height: var(--height, auto);
max-height: 90wh;
margin: 0 0 0 0;
opacity: 1;
pointer-events: auto;
}