diff options
author | Anika Henke <anika@selfthinker.org> | 2012-10-13 12:09:40 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-10-13 12:09:40 +0100 |
commit | f98e484a45d533262ff2e9f4359dc02da66a257b (patch) | |
tree | 97b4f903277fda150c15ff4f128517fdde19ffa6 | |
parent | 90104b138051e1fbecfc8a13f512a3794fec93c8 (diff) | |
download | rpg-f98e484a45d533262ff2e9f4359dc02da66a257b.tar.gz rpg-f98e484a45d533262ff2e9f4359dc02da66a257b.tar.bz2 |
RTL and IE7 fixes for code blocks
-rw-r--r-- | lib/tpl/dokuwiki/css/basic.css | 1 | ||||
-rw-r--r-- | lib/tpl/dokuwiki/css/content.css | 11 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/tpl/dokuwiki/css/basic.css b/lib/tpl/dokuwiki/css/basic.css index 27ca84cdf..8b7447239 100644 --- a/lib/tpl/dokuwiki/css/basic.css +++ b/lib/tpl/dokuwiki/css/basic.css @@ -38,7 +38,6 @@ caption, legend { font-family: Arial, sans-serif; font-weight: bold; - background-color: inherit; padding: 0; line-height: 1.2; clear: left; /* ideally 'both', but problems with toc */ diff --git a/lib/tpl/dokuwiki/css/content.css b/lib/tpl/dokuwiki/css/content.css index 437ad7b05..c23612643 100644 --- a/lib/tpl/dokuwiki/css/content.css +++ b/lib/tpl/dokuwiki/css/content.css @@ -121,7 +121,7 @@ .dokuwiki dl.code dt, .dokuwiki dl.file dt { background-color: __background_site__; - /*background: -moz-linear-gradient( top, __background__ 0%, __background_alt__ 100%); see FS#2447 */ + /* background: -moz-linear-gradient( top, __background_alt__ 0%, __background_site__ 100%); see FS#2447 */ background: -webkit-linear-gradient(top, __background_alt__ 0%, __background_site__ 100%); background: -o-linear-gradient( top, __background_alt__ 0%, __background_site__ 100%); background: -ms-linear-gradient( top, __background_alt__ 0%, __background_site__ 100%); @@ -137,8 +137,7 @@ } [dir=rtl] .dokuwiki dl.code dt, [dir=rtl] .dokuwiki dl.file dt { - margin-left: 0; - margin-right: 1em; + float: right; } .dokuwiki dl.code dt a, .dokuwiki dl.file dt a { @@ -148,10 +147,16 @@ display: block; min-height: 16px; } + .dokuwiki dl.code dd, .dokuwiki dl.file dd { margin: 0; clear: left; + min-height: 1px; /* for IE7 */ +} +[dir=rtl] .dokuwiki dl.code dd, +[dir=rtl] .dokuwiki dl.file dd { + clear: right; } .dokuwiki dl.code pre, |