diff css/docuviewer.css @ 540:4b43a57ad9b3

more nicer
author casties
date Thu, 16 Aug 2012 19:09:49 +0200
parents 37d122560028
children dbaa7dce60a5
line wrap: on
line diff
--- 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;