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

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
标签:手工回退
Kangkk​(留言 | 贡献)
无编辑摘要
 
(未显示同一用户的10个中间版本)
第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, #e91e63;
direction: ltr;
  /* background color */
font-family: sans-serif;
  color: #0000;
margin: 0 5px 0 1px;
  border: none;
padding: 2px 10px;
  transform: perspective(500px) rotateY(-20deg) !important;
    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 !important;
    background: #111;
  margin: 0 5px;
    cursor: pointer;
  font-weight: bold;
    position: relative;
  font-size: 12px;
    z-index: 0;
  line-height: 12px;
    border-radius: 10px;
  cursor: pointer;
    user-select: none;
  padding: 3px 10px;
    -webkit-user-select: none;
    touch-action: manipulation;
}
}
.templ--version__box:before {
 
    content: "";
.templ--version__box:hover,
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
.templ--version__box:focus {
    position: absolute;
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) 0%/300% no-repeat, #f44336;
    top: -2px;
  transform: perspective(500px) rotateY(20deg) !important;
    left: -2px;
  text-shadow: 0.08em -.01em 0 #ffffff, -0.08em .01em 2px #0004;
    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;
.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 {
background-color: red;
color: white;
padding: 0 5px 0 5px;
}
.templ--version__box-text {
background-color: #036;
color: white;
padding: 0 5px 0 5px;
}
}

2026年11月9日 (一) 13:25的最新版本

.templ--version__box {
  /* text color */
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) 100%/300% no-repeat, #e91e63;
  /* background color */
  color: #0000;
  border: none;
  transform: perspective(500px) rotateY(-20deg) !important;
  text-shadow: -0.08em -.01em 0 #ffffff, -0.08em .01em 2px #0004;
  outline-offset: .1em;
  transition: 0.3s !important;
  margin: 0 5px;
  font-weight: bold;
  font-size: 12px;
  line-height: 12px;
  cursor: pointer;
  padding: 3px 10px;
}

.templ--version__box:hover,
.templ--version__box:focus {
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) 0%/300% no-repeat, #f44336;
  transform: perspective(500px) rotateY(20deg) !important;
  text-shadow: 0.08em -.01em 0 #ffffff, -0.08em .01em 2px #0004;
}

.templ--version__box:active {
  text-shadow: none;
  color: #ffffff;
  box-shadow: inset 0 0 0 #0005;
  transition: 0s;
}