Template:Plant Update/styles.css: Difference between revisions
Fix darkmode |
Fix print layout sizing |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
background: #ffffff; | background: #ffffff; | ||
} | |||
.infobox ~ .plant-update { | |||
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; | |||
} | } | ||