# HG changeset patch # User casties # Date 1345136989 -7200 # Node ID 4b43a57ad9b3155e9a4df51c32add55bedfed487 # Parent 37d122560028dc5429940a156acfc81fa624b556 more nicer diff -r 37d122560028 -r 4b43a57ad9b3 css/docuviewer.css --- a/css/docuviewer.css Wed Aug 15 16:59:45 2012 +0200 +++ b/css/docuviewer.css Thu Aug 16 19:09:49 2012 +0200 @@ -126,9 +126,14 @@ margin-top: 0; margin-bottom: 0.5em; } -div.tocbody div.ruler { +div.tocbody div.ruler.top { text-align: center; - margin-bottom: 0.5em; + padding-bottom: 0.5em; +} +div.tocbody div.ruler.bottom { + clear: both; + text-align: center; + padding-top: 0.5em; } div.tocbody.text, @@ -196,9 +201,6 @@ div.col.main div.content { min-width: 30em; background-color: white; - font-family: Junicode,Gentium,Georgia,serif; - font-size: 14px; - line-height: 1.3; border: 1px solid silver; padding: 1em; } @@ -231,16 +233,41 @@ margin-top: 0; margin-bottom: 0.5em; } - div.options.digilib li img { vertical-align: middle; } /* + * text page + */ +div.col.main div.content.text { + font-family: Junicode,Gentium,Georgia,serif; + font-size: 14px; + line-height: 1.3; +} + +/* * search results */ div.col.results { max-width: 20em; + padding-right: 5px; +} +div.col.results div.result { + border: 1px solid silver; + border-radius: 5px; + padding: 0.5em; +} +div.col.results h4 { + margin-top: 0; + margin-bottom: 0.5em; +} +div.col.results div.ruler { + text-align: center; + margin-bottom: 0.5em; +} +div.col.results div.query { + margin-bottom: 0.5em; } /* @@ -259,6 +286,9 @@ margin-top: 0.5em; margin-bottom: 0.5em; } +div.index-info td { + vertical-align: top; +} div.index-info td.type { font-weight: bold; } @@ -278,19 +308,33 @@ /* * image page */ -div.col.main div.content-images { - border: 1px solid silver; +div.col.main div.content.images { + background-color: inherit; + padding: 0; } -div.col.main div.content-images table { +div.col.main div.content.images table { border-collapse: collapse; /* for tight digilib */ } /* + * xml page + */ +div.col.main div.content.xml { + font-family: Monaco,Courier,monospace; + font-size: 12px; +} +div.col.main div.content.xml div.pageHeaderTitle { + display: none; +} + + + +/* * thumbnail overview */ div.col.main div.content-thumbs { border: 1px solid silver; - padding: 1em; + padding: 0.5em; } div.col.main table.thumbs td { text-align: center; diff -r 37d122560028 -r 4b43a57ad9b3 zpt/layer_text_search.zpt --- a/zpt/layer_text_search.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/layer_text_search.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -16,7 +16,7 @@