MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 44: Line 44:
   color: #4f504c;
   color: #4f504c;
}
}
.alert-box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #e9e9e9;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.95em;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  margin: 1em auto;              /* center horizontally */
  max-width: 100%;              /* never overflow container */
  white-space: normal;          /* allow multi-line text */
  gap: 10px;                    /* spacing between icon and text */
}
.alert-text {
  text-align: left;
  line-height: 1.4em;
}
.alert-image img {
  display: block;
  max-height: 32px;
  width: auto;
}