MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 23: Line 23:
   font-size: 0.95em;
   font-size: 0.95em;
   box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
   box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
   margin: 1em auto; /* center horizontally */
   margin: 1em auto;             /* center horizontally */
   white-space: nowrap; /* prevent wrapping */
  max-width: 100%;              /* never overflow container */
   max-width: 100%; /* avoid overflow */
   white-space: normal;           /* allow multi-line text */
   gap: 10px;                     /* spacing between icon and text */
}
}


.stub-image {
.stub-text {
   display: flex;
   text-align: left;
  align-items: center;
   line-height: 1.4em;
   margin-right: 10px;
}
}


.stub-image img {
.stub-image img {
   display: block;
   display: block;
   margin: 0;
   max-height: 32px;
  padding: 0;
   width: auto;
  vertical-align: middle;
   line-height: 1;
}
}


.stub-text {
  text-align: left;
  line-height: 1.4em;
  white-space: normal;
  color: #1e1f22;
}


.stub-word {
.stub-word {