diff options
author | Anika Henke <anika@selfthinker.org> | 2011-10-03 23:16:16 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2011-10-03 23:16:16 +0100 |
commit | 6a9cea3ef7851df6752803b11bec57932df671e0 (patch) | |
tree | 6bd3c584943df7a4f13d017a4b503fb448b81edd /css | |
parent | cfe4d18b80fe91b04d8df350c60b2d7ebf6086e2 (diff) | |
download | rpg-6a9cea3ef7851df6752803b11bec57932df671e0.tar.gz rpg-6a9cea3ef7851df6752803b11bec57932df671e0.tar.bz2 |
small fixes: search box, structure in IE, gradient in Chrome
Diffstat (limited to 'css')
-rwxr-xr-x | css/basic.css | 19 | ||||
-rwxr-xr-x | css/design.css | 17 | ||||
-rwxr-xr-x | css/structure.css | 6 |
3 files changed, 18 insertions, 24 deletions
diff --git a/css/basic.css b/css/basic.css index 3c7e6dc74..ef4e3b272 100755 --- a/css/basic.css +++ b/css/basic.css @@ -13,17 +13,20 @@ html { overflow-y: scroll; } html, body { + /* @todo: style.ini */ background-color: #fbfaf9; - background: -moz-linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); + color: __text__; + background-image: -moz-linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); /* do we want to support old browsers? - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(1em,#eee), color-stop(4em,#fbfaf9)); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(1em,#eee), color-stop(4em,#fbfaf9)); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#fbfaf9',GradientType=0 ); */ - background: -webkit-linear-gradient(top, #ddd 0%, #eee 1em, #fbfaf9 4em); - background: -o-linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); - background: -ms-linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); - background: linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); - color: __text__; + background-image: -webkit-linear-gradient(top, #ddd 0%, #eee 1em, #fbfaf9 4em); + background-image: -o-linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); + background-image: -ms-linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); + background-image: linear-gradient( top, #ddd 0%, #eee 1em, #fbfaf9 4em); + background-size: 1px 10em; + background-repeat: repeat-x; margin: 0; padding: 0; } @@ -282,7 +285,9 @@ option { font-style: normal; font-weight: normal; } background: -webkit-linear-gradient(top, #ffffff 0%,#f4f4f4 30%,#eeeeee 99%,#cccccc 99%); background: -o-linear-gradient(top, #ffffff 0%,#f4f4f4 30%,#eeeeee 99%,#cccccc 99%); background: -ms-linear-gradient(top, #ffffff 0%,#f4f4f4 30%,#eeeeee 99%,#cccccc 99%); + /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=0 ); + */ background: linear-gradient(top, #ffffff 0%,#f4f4f4 30%,#eeeeee 99%,#cccccc 99%); border: 1px solid #ccc; border-radius: 2px; diff --git a/css/design.css b/css/design.css index bde14b613..8def2faa9 100755 --- a/css/design.css +++ b/css/design.css @@ -17,7 +17,7 @@ #dokuwiki__header .headings, #dokuwiki__header .tools { margin-bottom: 1em; - width: 50%; + width: 49%; } #dokuwiki__header h1 img { float: left; @@ -106,7 +106,7 @@ #dokuwiki__pagetools { position: absolute; - right: -34px; + right: -33px; top: 1em; font-size: 90%; } @@ -120,7 +120,7 @@ right: 0; width: 32px; overflow: hidden; - border: 1px solid __border__; + border: 1px solid __background_alt__; border-radius: 2px; text-align: right; margin: 0; @@ -208,14 +208,9 @@ padding-right: 22px; } #dokuwiki__sitetools form.search input.button { -/* - border-bottom-left-radius: 0; - border-top-left-radius: 0; - padding: 0.5em 0.75em; -*/ background: transparent url(images/search.png) no-repeat 0 0; border-width: 0; - width: 14px; + width: 19px; height: 14px; text-indent: -99999px; margin-left: -20px; @@ -292,9 +287,9 @@ .dokuwiki .pageId { position: absolute; top: -1.5em; - right: .5em; + right: 1em; font-size: 0.875em; - border: solid __border__; + border: solid __background_alt__; border-width: 1px 1px 0; background-color: __background__; color: __text_alt__; diff --git a/css/structure.css b/css/structure.css index ba56d0b89..7de4401d7 100755 --- a/css/structure.css +++ b/css/structure.css @@ -23,16 +23,10 @@ body { #dokuwiki__header .headings { float: left; } - #IE6 #dokuwiki__header .headings { - width: 50%; - } #dokuwiki__header .tools { float: right; text-align: right; } - #IE6 #dokuwiki__header .tools { - width: 50%; - } #dokuwiki__site .wrapper { position: relative; |