User:Goplat/monobook.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
p.catlinks { margin: 0 !important; }

/* remove white bg (redundant in main, ugly in namespaces) */
table, legend, table.diff,
td.diff-otitle, td.diff-ntitle { background: none; }

/* stop lines from overlapping floats */
h1, h2, hr { zoom: 100%; -moz-float-edge: border-box; }

/* turn white borders into margins */
div.floatleft, table.floatleft {
  border: none; margin: 0.8em 1.9em 1.3em 0;
}
div.floatright, table.floatright {
  border: none; margin: 0.5em 0 0.8em 1.4em;
}
div.tright { border: none; margin: 0.5em 0 1.3em 1.4em; }
div.tleft { border: none; margin: 0.5em 1.4em 1.3em 0; }
#pagehistory li, #preftoc li { border: none; padding: 1px; }
#pagehistory li.selected, #preftoc li.selected { padding: 0; }