Template:FreedImg/sandbox/styles.css
< Template:FreedImg | sandbox
.wst-freedimg {
max-width: 100%;
text-align: center;
margin: 0.40em auto 0.5em auto;
/* avoid splitting image and caption across page breaks */
page-break-inside: avoid;
break-inside: avoid;
}
.wst-freedimg img[src*="wikipedia"],
.wst-freedimg img[src*="wikisource"],
.wst-freedimg img[src*="score"],
.wst-freedimg img[src*="math"] {
width: 100%;
height: auto;
}
.wst-freedimg-caption {
display: block;
font-size: 94%;
line-height: normal;
padding: 0.25em 1px 0.75px 1px; /* was padding-top: 0.75px; */
text-indent: 0;
}
.wst-freedimg-missing {
display: block;
border: 1px solid grey;
font-size: 83%;
font-style: italic;
}
/**
* The following rules are for rotation testing only.
*/
.rotp90, .rot90 {
transform: rotate(90deg);
}
.rot180 {
transform: rotate(180deg);
}
.rotn90, .rot270 {
transform: rotate(-90deg);
}
/* @end */