From 74008ce3cb81532a5b29e25ffa22588e12087c78 Mon Sep 17 00:00:00 2001 From: Isarra Date: Fri, 3 Aug 2018 20:59:29 +0000 Subject: [PATCH] More consistent .center and toc alignment rules with other skins Change-Id: I9005ed11bf2c70880088cfa41f7f6ebca974eb34 --- resources/screen-common.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/screen-common.less b/resources/screen-common.less index d9f7d28..2ae676a 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -422,8 +422,7 @@ ul { margin: 0.3em 0 0 1.6em; } -.center, -.center * { +.center { margin: auto; text-align: center; } @@ -464,7 +463,8 @@ ul#filetoc, display: table; .box; padding: 1.25em 1.75em; - margin: 1em 0; + margin-top: 1em; + margin-bottom: 1em; min-width: 15em; } ul#filetoc { @@ -474,6 +474,7 @@ ul#filetoc { .toc ul { margin: 1em 0 0; list-style: none; + text-align: left; } .mw-body .toc h2 { font-size: 1em;