- 欢迎加入官方Discord和Telegram群组!
- 我们正在删除政治内容页面,还您一个干净的H萌娘,净化社区的同时也可以让您认真学习和讨论性知识(?
- 不知道接下来该看什么?可以去查阅本站的优质条目
- 如果您在H萌娘上发现某些内容错误/空缺,请勇于修正/添加!编辑H萌娘其实很容易!(由于遭到破坏,自动确认用户外的编辑现在会先审核 )
- 有任何意见、建议、求助都可以在 讨论版 提出!
Template:StyleToggle/style.css
跳到导航
跳到搜索
.styleToggle-transform,
.styleToggle-color,
.styleToggle-opacity,
.styleToggle-font-size,
.styleToggle-font-weight,
.styleToggle-width,
.styleToggle-font-family,
.styleToggle-display{
transition:all linear 1s;
}
.textToggleDisplay.hidden + .styleToggle-transform {
transform:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-color {
color:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-opacity {
opacity:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-font-size {
font-size:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-font-weight {
font-weight:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-width {
width:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-font-family {
font-family:inherit !important;
}
.textToggleDisplay.hidden + .styleToggle-display {
display:initial !important;
}
.styleToggleBtn {
position:relative;
display:inline-block;
height:24px;
vertical-align:bottom;
}
.styleToggleBtn label {
display: inline-block;
width: 20px;
height: 24px;
border: none;
margin: 0;
padding: 0;
overflow: hidden;
position: relative;
z-index: 2;
cursor: pointer;
opacity: 0;
}
.styleToggleBtn input {
display:none;
}
.styleToggleSwitch {
display:inline-block;
width:40px;
height:24px;
box-sizing:border-box;
border:1px solid;
border-radius:20px;
position:absolute;
left:0;
}
.styleToggleSwitch > span {
display:inline-block;
width:18px;
height:18px;
box-sizing:border-box;
margin:2px;
border:1px solid #fff;
border-radius:10px;
background-color:#fff;
}