diff --git a/macdac/static/css/style.css b/macdac/static/css/style.css index b4a2ea1..7392e94 100644 --- a/macdac/static/css/style.css +++ b/macdac/static/css/style.css @@ -128,26 +128,6 @@ footer { padding: 1px 25px 1px 50px; background: url("/static/img/news-element-odd-bg.gif") repeat -33% 33% #e7e7e7; } - /* Humane lists */ - #news-element article ul li { - behavior:expression( !this.before && this.parentNode && this.parentNode.nodeName == 'UL' ? this.before = this.innerHTML = '— ' + this.innerHTML : '' ); - text-indent:expression( this.parentNode && this.parentNode.nodeName == 'UL' ? '-1.3em' : 0 ); - margin: 0.5em 0; - } - #news-element article ul > li:before { - content: '\2014\a0'; - } - #news-element article ul, - #news-element article ol { - margin: 0 0 1.2em 2.6em; - padding: 0; - } - #news-element article ul { - list-style-type: none; - } - #news-element article ol { - list-style-type: decimal; - } #after-element { padding: 25px 25px 25px 50px; } @@ -241,6 +221,32 @@ footer { font-size: 1.2em; margin-bottom: 0; } +/* Humane lists */ +#news-element article ul li, +#news-list article ul li { + behavior: expression(!this.before && this.parentNode && this.parentNode.nodeName == 'UL' ? this.before = this.innerHTML = '— ' + this.innerHTML : ''); + text-indent: expression(this.parentNode && this.parentNode.nodeName == 'UL' ? '-1.3em' : 0); + margin: 0.5em 0; +} +#news-element article ul > li:before, +#news-list article ul > li:before { + content: '\2014\a0'; +} +#news-element article ul, +#news-element article ol, +#news-list article ul, +#news-list article ol { + margin: 0 0 1.2em 2.6em; + padding: 0; +} +#news-element article ul, +#news-list article ul { + list-style-type: none; +} +#news-element article ol, +#news-list article ol { + list-style-type: decimal; +} #sources { padding-bottom: 2em; }