模板:InfoCard/styles.css:修订间差异

PexEric
PexEric留言 | 贡献 (创建页面,内容为“.card { box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); transition: 0.3s; } .card:hover { box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); } .container { padding: 2px 16px; } .round { border-radius: 5px; } .round img { border-radius: 5px 5px 0 0; }”)
 
PexEric
PexEric留言 | 贡献
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
.card {
.infocard {
   box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  flex: 1;
   transition: 0.3s;
  border:1px solid #ccc;
   box-shadow:0 1px 1px rgba( 0, 0, 0, 0.15 );
  border-radius:2px;
  padding: 1em;
   transition: 0.25s;
  padding: 0.25rem;
  overflow: auto;
}
}
.card:hover {
.infocard:hover {
   box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
   box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
}
.container {
.infocard-container {
   padding: 2px 16px;
   padding: 2px 16px;
}
}
.round {
.infocard-round {
   border-radius: 5px;
   border-radius: 5px;
}
}
.round img {
.infocard-round img {
   border-radius: 5px 5px 0 0;
   border-radius: 5px 5px 0 0;
}
.infocard-title {
  font-size: 1.2em;
  font-weight: bold;
}
}