background-color: #f9f9f9;
font-size: 94%;
text-align: center;
+ /* new block formatting context,
+ * to clear background from floating content */
+ overflow: hidden;
}
html .thumbimage {
line-height: 1.4em;
padding: 3px;
font-size: 94%;
- overflow: hidden;
- word-wrap: break-word;
/* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
text-align: left;
}
div.tleft {
margin: .5em 1.4em 1.3em 0;
}
+
+/* Hide elements that are marked as "empty" according to legacy Tidy rules,
+ * except if a client script removes the mw-hide-empty-elt class from the body
+ */
+body.mw-hide-empty-elt .mw-empty-elt {
+ display: none;
+}