Commit 3954ba703362f0ef7ec1b7eb051673a7a06bf337
Exists in
master
and in
48 other branches
Merge branch 'decimal_lists_fix' into 'master'
Decimal lists fix Correção para a issue #472 A solução se baseou em criar regras específicas para o estilo dos artigos, onde as tags de <ol> passam a ter o list-style enumerado, e tags <ul> list-style com bullets. Foi ainda levado em conta a possibilidade das listas ficarem aninhadas. See merge request !102
Showing
1 changed file
with
25 additions
and
0 deletions
Show diff stats
src/noosfero-spb/noosfero-spb-theme/css/article-page.css
@@ -254,3 +254,28 @@ | @@ -254,3 +254,28 @@ | ||
254 | } | 254 | } |
255 | 255 | ||
256 | /*** end of help page ***/ | 256 | /*** end of help page ***/ |
257 | + | ||
258 | +/*** article lists ***/ | ||
259 | + | ||
260 | +.article-body ul, | ||
261 | +.article-body ol{ | ||
262 | + margin-bottom: 20px; | ||
263 | +} | ||
264 | + | ||
265 | +.article-body li ul, | ||
266 | +.article-body li ol{ | ||
267 | + margin-bottom: 0px; | ||
268 | + margin-left: 20px; | ||
269 | +} | ||
270 | + | ||
271 | +.article-body ul li{ | ||
272 | + list-style-type: disc; | ||
273 | + list-style-position: inside; | ||
274 | +} | ||
275 | + | ||
276 | +.article-body ol li{ | ||
277 | + list-style-type: decimal; | ||
278 | + list-style-position: inside; | ||
279 | +} | ||
280 | + | ||
281 | +/*** end of article numbered lists ***/ |