Difference between revisions of "MediaWiki:Common.css"

no edit summary
Line 2,136: Line 2,136:
.person-portrait {
.person-portrait {
margin: 2rem 0;
margin: 2rem 0;
}
/* ============= Template:Person details ============= */
.smart-template {
  display: flex;
  box-sizing: border-box;
  margin: 0 auto;
}
.smart-template p {
    margin-top: 0;
    margin-bottom: 0;
}
.smart-template-left {
  box-sizing: border-box;
  width: 30%;
  margin-bottom: 5px;
  padding: 5px;
  background-color: #e6e7e8;
  text-align: right;
  font-weight: bold;
}
.smart-template:last-child .smart-template-left:nth-last-child(2) {
  border-radius: 0 0 0 8px;
}
.smart-template-right {
  box-sizing: border-box;
  width: 70%;
  margin-bottom: 5px;
  padding: 5px;
  background-color: #f2f2f2;
}
.smart-template:last-child .smart-template-right:last-child {
  border-radius: 0 0 8px 0;
}
}