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

来自康健生活
Kangkk​(留言 | 贡献)
创建页面,内容为“.templ--version__box { font-size: calc(1em * 0.875); line-height: 1; direction: ltr; background: blue; border-radius: 2px; font-family: sans-serif; margin: 0 5px 0 1px; } .templ--version__box-title { background-color: red; color: white; padding: 0 5px 0 5px; } .templ--version__box-text { background-color: blue; color: white; padding: 0 5px 0 5px; }”
 
Kangkk​(留言 | 贡献)
无编辑摘要
 
(未显示同一用户的15个中间版本)
第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 */
background: blue;
  color: #0000;
border-radius: 2px;
  border: none;
font-family: sans-serif;
  transform: perspective(500px) rotateY(-20deg) !important;
margin: 0 5px 0 1px;
  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-title {
 
background-color: red;
.templ--version__box:hover,
color: white;
.templ--version__box:focus {
padding: 0 5px 0 5px;
  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-text {
 
background-color: blue;
.templ--version__box:active {
color: white;
  text-shadow: none;
padding: 0 5px 0 5px;
  color: #ffffff;
  box-shadow: inset 0 0 0 #0005;
  transition: 0s;
}
}