From: Marcel Werk Date: Thu, 31 Jan 2013 00:34:09 +0000 (+0100) Subject: Added CSS for native lists X-Git-Tag: 2.0.0_Beta_1~526 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fab6647e6d7874ff1308bbc8603bcaad936697d9;p=GitHub%2FWoltLab%2FWCF.git Added CSS for native lists --- 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 */