Template:Pie chart/styles.css
Jump to navigation
Jump to search
.pie-chart-wrapper {
float: right;
clear: right;
margin: 0 0 1em 1em;
width: auto;
}
.PieChartTemplate {
display: inline-block;
vertical-align: top;
}
.thumbcaption {
text-align: left;
}
/* Ensure text wraps around the chart */
.mw-content-ltr .pie-chart-wrapper {
clear: right;
}
/* For better responsiveness */
@media (max-width: 600px) {
.pie-chart-wrapper {
float: none;
margin: 1em auto;
text-align: center;
}
}