Commit 0e801130a7cc238d043b24f99426ececaa249cff
1 parent
e234e68c
Exists in
master
and in
27 other branches
Fix list style in articles
Showing
3 changed files
with
16 additions
and
28 deletions
Show diff stats
src/noosfero-spb/noosfero-spb-theme/css/article-page.css
... | ... | @@ -256,26 +256,28 @@ |
256 | 256 | /*** end of help page ***/ |
257 | 257 | |
258 | 258 | /*** article lists ***/ |
259 | - | |
260 | -.article-body ul, | |
261 | -.article-body ol{ | |
262 | - margin-bottom: 20px; | |
259 | +#content #article .article-body ul { | |
260 | + list-style-type: disc; | |
261 | + list-style-position: inside; | |
263 | 262 | } |
264 | 263 | |
265 | -.article-body li ul, | |
266 | -.article-body li ol{ | |
267 | - margin-bottom: 0px; | |
268 | - margin-left: 20px; | |
264 | +#content #article .article-body ol { | |
265 | + list-style-type: decimal; | |
266 | + list-style-position: inside; | |
269 | 267 | } |
270 | 268 | |
271 | -.article-body ul li{ | |
272 | - list-style-type: disc; | |
273 | - list-style-position: inside; | |
269 | +#content #article .article-body ul ul, | |
270 | +#content #article .article-body ol ul { | |
271 | + list-style-type: circle; | |
272 | + list-style-position: inside; | |
273 | + margin-left: 15px; | |
274 | 274 | } |
275 | 275 | |
276 | -.article-body ol li{ | |
277 | - list-style-type: decimal; | |
278 | - list-style-position: inside; | |
276 | +#content #article .article-body ol ol, | |
277 | +#content #article .article-body ul ol { | |
278 | + list-style-type: lower-latin; | |
279 | + list-style-position: inside; | |
280 | + margin-left: 15px; | |
279 | 281 | } |
280 | 282 | |
281 | 283 | /*** end of article numbered lists ***/ | ... | ... |
src/noosfero-spb/noosfero-spb-theme/css/software-pages.css
... | ... | @@ -205,19 +205,6 @@ |
205 | 205 | font-size: 15px; |
206 | 206 | } |
207 | 207 | |
208 | -.profile-homepage #article .article-body ul { | |
209 | - background-repeat: no-repeat; | |
210 | - list-style-position: inside; | |
211 | - list-style-type: disc; | |
212 | -} | |
213 | - | |
214 | -.profile-homepage #article .article-body ul li { | |
215 | - line-height: 21px; | |
216 | - text-align: left; | |
217 | - font-size: 15px; | |
218 | - list-style: inherit; | |
219 | -} | |
220 | - | |
221 | 208 | /*** end of Software Homepage ***/ |
222 | 209 | |
223 | 210 | /*** Categories and Tags block ***/ | ... | ... |