Template:ICCard/styles.css: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
   border: 1px solid #a7d7f9;
   border: 1px solid #a7d7f9;
   background: #f8fcff;
   background: #f8fcff;
  margin: 0 0 14px 0;
  margin: 0 0 6px 0;
   box-sizing: border-box;
   box-sizing: border-box;
}
}
Line 99: Line 99:
.ic-card-list li {
.ic-card-list li {
   margin: 0.3em 0;
   margin: 0.3em 0;
}
/* Featured blocks (agent / incident) */
.ic-feature {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
}
.ic-feature__media {
  flex: 0 0 auto;
  max-width: 140px;
}
.ic-feature__body {
  flex: 1;
}
.ic-feature__meta {
  font-size: 90%;
}
.ic-feature__body p {
  margin-top: 0.4em;
  margin-bottom: 0;
}
.ic-card__body > :first-child {
  margin-top: 0;
}
.ic-card__body > :last-child {
  margin-bottom: 0;
}
.ic-card__body p {
  margin: 0.5em 0;
}
.ic-card__body ul,
.ic-card__body ol {
  margin: 0.5em 0 0.5em 1.2em;
}
}