From fab6647e6d7874ff1308bbc8603bcaad936697d9 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 31 Jan 2013 01:34:09 +0100 Subject: [PATCH] Added CSS for native lists --- wcfsetup/install/files/style/global.less | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index c219b4708f..380c8435fe 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -53,6 +53,25 @@ a { } } +.nativeList, +.nativeList { + margin: 1em 0; + margin-left: 40px; + + ul, + ol { + margin-bottom: 0; + margin-top: 0; + } +} + +ul.nativeList { + list-style-type: disc; +} +ol.nativeList { + list-style-type: decimal; +} + .htmlContent { p { margin: 1em 0; @@ -70,6 +89,18 @@ a { font-weight: bold; margin: 0.5em 0; } + + ul, ol { + .nativeList; + } + + ul { + list-style-type: disc; + } + + ol { + list-style-type: decimal; + } } /* hide broken reCaptcha iframe */ -- 2.20.1