MediaWiki:Common.css: Difference between revisions

Auto-deploy CSS update
Auto-deploy CSS update
Line 293: Line 293:
.rp-lead img {
.rp-lead img {
     display: block;
     display: block;
     width: 100%;
     /* Landscape heroes fill the column, which is the look we want. Most of the
      corpus is not landscape yet (27 landscape, 90 square, 83 portrait), and
      at full column width a 2:3 portrait renders about 1140px tall — it buries
      the intro instead of introducing it. Capping the height keeps a landscape
      hero untouched (a 3:2 at this width is ~507px) while a portrait one
      becomes a tall centered figure rather than a wall. Height, not a crop:
      nothing is cut off a watch photograph. */
    max-height: 520px;
    width: auto;
    max-width: 100%;
     height: auto;
     height: auto;
    margin: 0 auto;
     border: 1px solid #d4e0d8;
     border: 1px solid #d4e0d8;
     border-radius: 8px;
     border-radius: 8px;