MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,072: Line 1,072:
}
}
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/
h3 ~ pre, h4 ~ pre{
h3 ~ pre{
background:#0f0;
max-height:100px;
}
pre ~ h3, pre ~ h4{
background:#f00;
max-height:100px;
}
h3 + pre, h4 + pre{
background:#0f0;
max-height:100px;
}
pre + h3, pre + h4{
background:#f00;
max-height:100px;
max-height:100px;
}
}