|
|
| (未显示同一用户的11个中间版本) |
| 第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;
| |
| }
| |
| @keyframes glowing-button-85 {
| |
| 0% { | |
| background-position: 0 0;
| |
| }
| |
| 50% {
| |
| background-position: 400% 0;
| |
| } | |
| 100% {
| |
| background-position: 0 0;
| |
| }
| |
| } | | } |