模板:Version/style.css:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第17行: | 第17行: | ||
-webkit-user-select: none; | -webkit-user-select: none; | ||
touch-action: manipulation; | touch-action: manipulation; | ||
} | |||
.templ--version__box:before { | |||
content: ""; | |||
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000); | |||
position: absolute; | |||
top: -2px; | |||
left: -2px; | |||
background-size: 400%; | |||
z-index: -1; | |||
filter: blur(5px); | |||
width: calc(100% + 4px); | |||
height: calc(100% + 4px); | |||
animation: glowing-button-85 20s linear infinite; | |||
transition: opacity 0.3s ease-in-out; | |||
border-radius: 10px; | |||
} | |||
.templ--version__box:after { | |||
z-index: -1; | |||
content: ""; | |||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
background: #222; | |||
left: 0; | |||
top: 0; | |||
border-radius: 10px; | |||
} | } | ||
.templ--version__box-title { | .templ--version__box-title { | ||
2026年11月8日 (日) 15:22的版本
.templ--version__box {
font-size: calc(1em * 0.875);
line-height: 1;
direction: ltr;
font-family: sans-serif;
margin: 0 5px 0 1px;
padding: 2px 10px;
border: none;
outline: none;
color: rgb(255, 255, 255);
background: #111;
cursor: pointer;
position: relative;
z-index: 0;
border-radius: 10px;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.templ--version__box:before {
content: "";
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;
top: -2px;
left: -2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowing-button-85 20s linear infinite;
transition: opacity 0.3s ease-in-out;
border-radius: 10px;
}
.templ--version__box:after {
z-index: -1;
content: "";
position: absolute;
width: 100%;
height: 100%;
background: #222;
left: 0;
top: 0;
border-radius: 10px;
}
.templ--version__box-title {
background-color: red;
color: white;
padding: 0 5px 0 5px;
}
.templ--version__box-text {
background-color: #036;
color: white;
padding: 0 5px 0 5px;
}
No categories