From 0e801130a7cc238d043b24f99426ececaa249cff Mon Sep 17 00:00:00 2001 From: Melissa Wen Date: Tue, 12 Jan 2016 18:43:39 -0200 Subject: [PATCH] Fix list style in articles --- src/noosfero-spb/noosfero-spb-theme/css/article-page.css | 30 ++++++++++++++++-------------- src/noosfero-spb/noosfero-spb-theme/css/software-pages.css | 13 ------------- src/noosfero-spb/noosfero-spb-theme/style.css | 1 - 3 files changed, 16 insertions(+), 28 deletions(-) diff --git a/src/noosfero-spb/noosfero-spb-theme/css/article-page.css b/src/noosfero-spb/noosfero-spb-theme/css/article-page.css index 08107e3..d33826d 100644 --- a/src/noosfero-spb/noosfero-spb-theme/css/article-page.css +++ b/src/noosfero-spb/noosfero-spb-theme/css/article-page.css @@ -256,26 +256,28 @@ /*** end of help page ***/ /*** article lists ***/ - -.article-body ul, -.article-body ol{ - margin-bottom: 20px; +#content #article .article-body ul { + list-style-type: disc; + list-style-position: inside; } -.article-body li ul, -.article-body li ol{ - margin-bottom: 0px; - margin-left: 20px; +#content #article .article-body ol { + list-style-type: decimal; + list-style-position: inside; } -.article-body ul li{ - list-style-type: disc; - list-style-position: inside; +#content #article .article-body ul ul, +#content #article .article-body ol ul { + list-style-type: circle; + list-style-position: inside; + margin-left: 15px; } -.article-body ol li{ - list-style-type: decimal; - list-style-position: inside; +#content #article .article-body ol ol, +#content #article .article-body ul ol { + list-style-type: lower-latin; + list-style-position: inside; + margin-left: 15px; } /*** end of article numbered lists ***/ diff --git a/src/noosfero-spb/noosfero-spb-theme/css/software-pages.css b/src/noosfero-spb/noosfero-spb-theme/css/software-pages.css index 2081f45..31608a7 100644 --- a/src/noosfero-spb/noosfero-spb-theme/css/software-pages.css +++ b/src/noosfero-spb/noosfero-spb-theme/css/software-pages.css @@ -205,19 +205,6 @@ font-size: 15px; } -.profile-homepage #article .article-body ul { - background-repeat: no-repeat; - list-style-position: inside; - list-style-type: disc; -} - -.profile-homepage #article .article-body ul li { - line-height: 21px; - text-align: left; - font-size: 15px; - list-style: inherit; -} - /*** end of Software Homepage ***/ /*** Categories and Tags block ***/ diff --git a/src/noosfero-spb/noosfero-spb-theme/style.css b/src/noosfero-spb/noosfero-spb-theme/style.css index f9b4018..d5915a2 100644 --- a/src/noosfero-spb/noosfero-spb-theme/style.css +++ b/src/noosfero-spb/noosfero-spb-theme/style.css @@ -90,7 +90,6 @@ * { margin: 0; padding: 0; - list-style: none; vertical-align: baseline; } -- libgit2 0.21.2