模板:Version/style.css:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
.templ--version__box {
.templ--version__box {
font-size: calc(1em * 0.875);
  /* text color */
line-height: 1;
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) 100%/300% no-repeat, #004dff;
direction: ltr;
  /* background color */
font-family: sans-serif;
  color: #0000;
margin: 0 10px;
  border: none;
padding: 2px 10px;
  transform: perspective(500px) rotateY(-20deg);
    border: none;
  text-shadow: -0.08em -.01em 0 #ffffff, -0.08em .01em 2px #0004;
    outline: none;
  outline-offset: .1em;
    color: rgb(255, 255, 255);
  transition: 0.3s;
    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: "";
.templ--version__box:hover{
background: linear-gradient(
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) 0%/300% no-repeat, #004dff;
45deg,
  transform: perspective(500px) rotateY(20deg);
#ff0000,
  text-shadow: 0.08em -.01em 0 #ffffff, -0.08em .01em 2px #0004;
#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 !important;
transition: opacity 0.3s ease-in-out;
border-radius: 10px;
}
}
.templ--version__box:after {
 
    z-index: -1;
.templ--version__box:active {
content: "";
  text-shadow: none;
position: absolute;
  color: #ffffff;
width: 100%;
  box-shadow: inset 0 0 0 #0005;
height: 100%;
  transition: 0s;
background: #222;
left: 0;
top: 0;
border-radius: 10px;
}
}
.templ--version__box-title {
 
font-weight: bold;
.templ--version__box {
font-style: normal;
  font-weight: bold;
color: #ffffff;
  font-size: 12px;
}
  margin: 0;
.templ--version__box-text {
  cursor: pointer;
    background-color: #ffffff;
  padding: 3px 10px;
    color: #000000;
    padding: 0 5px;
    border-radius: 10px;
    margin-left: 5px;
    font-style: normal;
}
}