Template:TOC center/styles.css

/* */ .toccenter { clear: both; text-align: center; width: 100%; box-sizing: border-box; padding: 0.5em; } .toccenter > * { margin-left: auto; margin-right: auto; }