MediaWiki:Gadget-Citizenstuff.css: Difference between revisions
MediaWiki interface page
More actions
darken mbox speedy background color |
remove margin-bottom for p/ul/ol last-child inside td |
||
| Line 14: | Line 14: | ||
margin-right: auto!important; | margin-right: auto!important; | ||
float: none!important; | float: none!important; | ||
} | |||
} | |||
/* | |||
in tables, the top part of the first p/ul/ol has its margin-top removed | |||
but it doesn't remove margin-bottom for the last one, making it look wrong | |||
(in my opinion) | |||
*/ | |||
@media screen { | |||
td > p:last-child, td > ul:last-child, td > ol:last-child { | |||
margin-bottom: 0; | |||
} | } | ||
} | } | ||