moving some code around

This commit is contained in:
Athou
2013-06-02 19:44:25 +02:00
parent a3cc4ee269
commit 4ba2f5dbd9
3 changed files with 10 additions and 6 deletions

View File

@@ -65,10 +65,10 @@ public class FeedUtils {
"sub", "sup", "table", "tbody", "td", "tfoot", "th",
"thead", "tr", "u", "ul");
whitelist.addAttributes("div", "dir");
whitelist.addAttributes("pre", "dir");
whitelist.addAttributes("code", "dir");
whitelist.addAttributes("table", "dir");
whitelist.addAttributes("div", "dir");
whitelist.addAttributes("pre", "dir");
whitelist.addAttributes("code", "dir");
whitelist.addAttributes("table", "dir");
whitelist.addAttributes("a", "href", "title");
whitelist.addAttributes("blockquote", "cite");
whitelist.addAttributes("col", "span", "width");

View File

@@ -15,10 +15,15 @@
padding-left: 25px;
}
.rtl .entry-header, .rtl .entry-body-content, .rtl.entry-name {
.rtl .entry-header,.rtl .entry-body-content,.rtl.entry-name {
direction: rtl;
}
.rtl ul,.rtl ol {
padding: 0;
margin: 0 25px 10px 0px;
}
#feed-accordion .entry {
border-bottom: 1px solid #CCCCCC;
}

View File

@@ -144,7 +144,6 @@ h3 small{font-size:14px;}
h4 small{font-size:14px;}
.page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eeeeee;}
ul,ol{padding:0;margin:0 0 10px 25px;}
.rtl ul, .rtl ol{padding:0;margin:0 25px 10px 0px;}
ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
li{line-height:20px;}
ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}