MCBBS Wiki欢迎您共同参与编辑!在参与编辑之前请先阅读Wiki方针。
如果在编辑的过程中遇到了什么问题,可以去讨论板提问。
为了您能够无阻碍地参与编辑 未验证/绑定过邮箱的用户,请尽快绑定/验证。
MCBBS Wiki GitHub群组已上线!
您可以在回声洞中发表吐槽!
服务器状态监控。点击进入
本站由MCBBS用户自行搭建,与MCBBS及东银河系漫游指南(北京)科技有限公司没有从属关系。点此了解 MCBBS Wiki 不是什么>>
用户:Salt lovely/common.scss
跳到导航
跳到搜索
@mixin highlightbutton(
$fontcolor: #634266,
$backcolor: #fff2cd,
$fontsize: 1em
) {
position: relative;
display: inline-block;
// width: var(--btnw, 257px);
min-height: calc(1em + 4px);
background: $backcolor;
color: $fontcolor;
font-size: $fontsize;
transition: all 0.4s ease;
&::before,
&::after {
content: "";
position: absolute;
top: 0;
right: 0;
height: 2px;
width: 0;
background: $backcolor;
transition: all 0.25s ease;
}
&:hover {
background: $fontcolor;
color: $backcolor;
&::before,
&::after {
width: 100%;
transition: all 0.8s ease;
}
}
}
.mw-userlink {
&[title="用户:Eicy"],
&[title="用户:MashKJo"],
&[title="用户:Sheep-realms"],
&[title="用户:White i"],
&[title="用户:MidsummerEnd"],
&[title="用户:Salt lovely"],
&[title="用户:我是人1012"] {
color: rgb(221, 17, 102);
font-weight: bold;
text-shadow: 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef,
0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef,
0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef, 0 0 1px #cef,
0 0 1px #cef;
}
/*盐*/
&[title="用户:Salt lovely"] {
color: #037;
}
}
a[href*="&redlink=1"]:not([title*="讨论:"]):not([title*="用户:"]) {
font-weight: bold;
@include highlightbutton(rgb(255, 35, 108));
}
.patrollink {
font-weight: bold;
@include highlightbutton(royalblue);
}
/* 动画 */
@keyframes rotate-360 {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}