Template:Plant Update/styles.css: Difference between revisions

Fix it next to the infobox (maybe?)
Fix print layout sizing
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
.infobox ~ .plant-update {
.infobox ~ .plant-update {
   width: calc(100% - 21em);
   width: calc(100% - 21em);
}
@media print {
  .infobox ~ .plant-update {
    width: calc(100% - 25em);
  }
}
.plant-update-image {
  float: left;
  clear: left;
  margin: 0 1em 0.5em 0;
  max-width: 200px;
}
.plant-update-image img {
  display: block;
  width: 100%;
  height: auto;
}
}