diff options
author | Anika Henke <anika@selfthinker.org> | 2012-10-13 11:33:56 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-10-13 11:33:56 +0100 |
commit | 90104b138051e1fbecfc8a13f512a3794fec93c8 (patch) | |
tree | f393382f2b029a30215c5e6a8f6bda8182904898 | |
parent | 7ecda050991d21031d59eb064890acdb2ee954ae (diff) | |
download | rpg-90104b138051e1fbecfc8a13f512a3794fec93c8.tar.gz rpg-90104b138051e1fbecfc8a13f512a3794fec93c8.tar.bz2 |
beautified code blocks, also using lighter background colour (FS#2444)
-rw-r--r-- | lib/tpl/dokuwiki/css/basic.css | 6 | ||||
-rw-r--r-- | lib/tpl/dokuwiki/css/content.css | 17 |
2 files changed, 16 insertions, 7 deletions
diff --git a/lib/tpl/dokuwiki/css/basic.css b/lib/tpl/dokuwiki/css/basic.css index 539ccd715..27ca84cdf 100644 --- a/lib/tpl/dokuwiki/css/basic.css +++ b/lib/tpl/dokuwiki/css/basic.css @@ -251,13 +251,17 @@ kbd { font-size: 1em; direction: ltr; text-align: left; - background-color: __background_alt__; + background-color: __background_site__; color: __text__; + box-shadow: inset 0 0 .3em __border__; + border-radius: 2px; } pre { overflow: auto; word-wrap: normal; border: 1px solid __border__; + border-radius: 2px; + box-shadow: inset 0 0 .5em __border__; padding: .7em 1em; } diff --git a/lib/tpl/dokuwiki/css/content.css b/lib/tpl/dokuwiki/css/content.css index a714869db..437ad7b05 100644 --- a/lib/tpl/dokuwiki/css/content.css +++ b/lib/tpl/dokuwiki/css/content.css @@ -120,15 +120,15 @@ .dokuwiki dl.code dt, .dokuwiki dl.file dt { - background-color: __background_alt__; + background-color: __background_site__; /*background: -moz-linear-gradient( top, __background__ 0%, __background_alt__ 100%); see FS#2447 */ - background: -webkit-linear-gradient(top, __background__ 0%, __background_alt__ 100%); - background: -o-linear-gradient( top, __background__ 0%, __background_alt__ 100%); - background: -ms-linear-gradient( top, __background__ 0%, __background_alt__ 100%); - background: linear-gradient( top, __background__ 0%, __background_alt__ 100%); + 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%); + background: linear-gradient( top, __background_alt__ 0%, __background_site__ 100%); color: inherit; border: 1px solid __border__; - border-bottom-color: __background_alt__; + border-bottom-color: __background_site__; border-top-left-radius: .3em; border-top-right-radius: .3em; padding: .3em .6em .1em; @@ -154,6 +154,11 @@ clear: left; } +.dokuwiki dl.code pre, +.dokuwiki dl.file pre { + box-shadow: inset -4px -4px .5em -.3em __border__; +} + /*____________ JS popup ____________*/ |