source: documentViewer/css/docuviewer.css @ 577:9251719154a3

Last change on this file since 577:9251719154a3 was 577:9251719154a3, checked in by casties, 12 years ago

toc with list of handwritten notes.

File size: 8.2 KB
Line 
1/*
2 * Documentviewer style sheet.
3 *
4 * Robert Casties 2012.
5 */
6body {
7    background-color: #ebebeb;
8    margin: 5px;
9    font-family: Verdana,Arial,sans-serif;
10    font-size: 12px;
11}
12
13a:link,
14a:visited {
15    color: black;
16    font-weight: bold;
17    text-decoration: none;
18}
19a:hover {
20    text-decoration: underline;
21}
22
23/*
24 * head
25 */
26div.page-head div.logo {
27    display: table-cell;
28    vertical-align: top;
29    padding: 5px;
30}
31div.page-head div.title-block {
32    display: table-cell;
33    vertical-align: top;
34}
35div.page-head div.title {
36    max-width: 50em;
37    background-color: white;
38        font-family: Georgia,Times,serif;
39        font-size: 14px;
40        line-height: 1.3;
41        border: 1px solid silver;
42    padding: 0.5em; 
43}
44
45ul.view-switcher {
46    padding-left: 0;
47    margin-top: 4px;
48}
49ul.view-switcher li {
50    list-style-type: none;
51    display: inline;
52    background-color: #d0d0d0;
53    margin-right: 0;
54    border-bottom: 1px solid silver;
55    border-left: 1px solid silver;
56    border-right: 1px solid silver;
57    border-radius: 0 0 5px 5px;
58    padding: 5px;
59}
60ul.view-switcher li.sel {
61    background-color: white;
62}
63
64/*
65 * body
66 */
67div.page-body {
68    display: table-row;
69}
70div.page-body div.col {
71    display: table-cell;
72    vertical-align: top;
73}
74
75/*
76 * TOC
77 */
78div.toc-container {
79    display:table-row;
80}
81
82div.toc-switcher-col {
83        display: table-cell;
84}
85div.toc-switcher {
86    display: block; /* moz only does relative with block */
87    position: relative;
88    width: 26.5px; /* for moz and webkit -- don't ask me */
89}
90div.toc-switcher ul {
91    position: absolute;
92    transform: rotate(270deg);
93    transform-origin: top left;
94    -moz-transform: rotate(270deg);
95    -moz-transform-origin: top left;
96    -webkit-transform: rotate(270deg);
97    -webkit-transform-origin: top left;
98    -o-transform: rotate(270deg);
99    -o-transform-origin: top left;
100        left: 7px;
101    top: 34em;
102    width: 40em;
103    padding: 0px;
104}
105
106div.toc-switcher li {
107    list-style-type: none;
108    display: inline;
109    background-color: #d0d0d0;
110    margin-bottom: 5px;
111    border-top: 1px solid silver;
112    border-left: 1px solid silver;
113    border-right: 1px solid silver;
114    border-radius: 5px 5px 0 0;
115    padding: 5px;
116}
117div.toc-switcher li.sel {
118    background-color: white;
119}
120
121div.tocbody {
122    display: table-cell;
123    border: 1px solid silver;
124    border-radius: 5px;
125    padding: 0.5em; 
126    background-color: white;   
127}
128
129div.tocbody h4 {
130        margin-top: 0;
131        margin-bottom: 0.5em;
132}
133div.tocbody div.ruler.top {
134        text-align: center;
135        padding-bottom: 0.5em;
136}
137div.tocbody div.ruler.bottom {
138        clear: both;
139        text-align: center;
140        padding-top: 0.5em;
141}
142
143div.tocbody.text, 
144div.tocbody.figures {
145    max-width: 20em;
146    background-color: white;
147}
148
149div.tocbody.text .toc.name, 
150div.tocbody.figures .toc.name,
151div.tocbody.concordance .toc.name {
152    float:left;
153    clear:right; 
154    margin-right: 1em;
155}
156div.tocbody.text .toc.page, 
157div.tocbody.figures .toc.page,
158div.tocbody.concordance .toc.page {
159    float:right;
160}
161
162div.tocbody table.thumbs td {
163    text-align: center;
164}
165div.tocbody table.thumbs .thumb {
166    padding: 3px;
167}
168div.tocbody table.thumbs .thumbsel {
169    padding: 2px;
170    border: 1px solid #892B06;
171}
172div.tocbody table.thumbs .thumbcap {
173    color: black;
174}
175
176div.tocbody table.concordance {
177        border-collapse: collapse;
178}
179div.tocbody table.concordance td {
180    border: 1px solid silver;
181    text-align: center;
182}
183
184/*
185 * content
186 */
187div.col.main {
188    padding-left: 5px;
189    padding-right: 5px;
190}
191div.col.main div.ruler {
192    margin-top: 4px;
193}
194div.col.main span.ruler-main {
195    background-color: #d0d0d0;
196    border-left: 1px solid silver;
197    border-top: 1px solid silver;
198    border-right: 1px solid silver;
199    border-radius: 5px 5px 0 0;
200    padding: 4px;   
201}
202div.col.main div.ruler.down span.ruler-main {
203        border-radius: 0 0 5px 5px;
204}
205
206div.col.main div.content {
207        min-width: 30em;
208    background-color: white;
209        border: 1px solid silver;
210    padding: 1em;
211}
212div.col.main div.content a:link,
213div.col.main div.content a:visited {
214    font-weight: inherit;
215    color: #892B06;
216}
217span.hit.highlight {
218    background-color: lime;
219}
220
221/*
222 * buttons
223 */
224div.col.buttons div.options {
225    background-color: white;
226        border: 1px solid silver;
227    border-radius: 5px;
228    padding: 0.5em;
229    margin-bottom: 5px; 
230}
231div.col.buttons h4 {
232    margin-top: 0;
233    margin-bottom: 0.5em;
234}
235div.col.buttons ul {
236    list-style-type: none;
237    padding-left: 0;
238    margin-top: 0;
239    margin-bottom: 0.5em;
240}
241div.col.buttons ul.list {
242        list-style-type: inherit;
243        padding-left: inherit;
244}
245div.col.buttons ul.list li {
246        margin-left: 1em;
247}
248div.options.digilib li img {
249        vertical-align: middle;
250}
251
252/*
253 * text page
254 */
255div.col.main div.content.text {
256    font-family: Junicode,Gentium,Georgia,serif;
257    font-size: 14px;
258        line-height: 1.3;
259}
260div.col.main div.content.text div.emptyPage {
261    font-family: Verdana,Arial,sans-serif;
262    font-size: 12px;
263}
264div.col.main div.content.text .bf {
265    font-weight: bold;
266}
267div.col.main div.content.text .head {
268    margin-top: 0.5em;
269    margin-bottom: 0.25em;
270}
271/* page break */
272div.col.main div.content.text span.pb span.n,
273div.col.main div.content.text span.pb span.o {
274        display: none;
275}
276/* running head */
277div.col.main div.content.text span.pb span.rhead {
278    display: block;
279    text-align: center;
280    margin-bottom: 1em;
281}
282/* note */
283div.col.main div.content.text span.note span.noteBody {
284        display: block;
285        /* float: left; */
286    margin-top: 0.5em;
287    margin-bottom: 0.5em;
288    padding: 5px;
289    border: 1px dashed silver; 
290}
291div.col.main div.content.text span.note span.noteSign {
292    display: none;
293    /* font-size: 70%;
294        vertical-align: super; */
295}
296/* handwritten */
297div.col.main div.content.text span.handwritten {
298        display: block;
299        /* float: left; */
300    margin-top: 0.5em;
301    margin-bottom: 0.5em;
302    padding: 5px;
303    border: 1px dashed silver; 
304}
305div.col.main div.content.text span.handwritten span.figureNum {
306    display: none;
307    /* font-size: 70%;
308        vertical-align: super; */
309}
310/* figure */
311div.col.main div.content.text span.figure {
312    display: block;
313    width: 200px;
314    margin-top: 0.5em;
315    margin-bottom: 0.5em;
316    padding: 5px;
317    border: 1px dashed silver;
318    /* float: right; */
319    /* text-align: center; */
320}
321div.col.main div.content.text span.figure>a,
322div.col.main div.content.text span.figure span.figureNumber,
323div.col.main div.content.text span.figure span.caption,
324div.col.main div.content.text span.figure span.description {
325    display:block;
326}
327div.col.main div.content.text span.figure span.figureNum {
328    display: none;
329}
330/*
331 * search results
332 */
333div.col.results {
334    max-width: 20em;
335    padding-right: 5px;
336}
337div.col.results div.result {
338        border: 1px solid silver;
339    border-radius: 5px;
340    padding: 0.5em;
341}
342div.col.results h4 {
343    margin-top: 0;
344    margin-bottom: 0.5em;
345}
346div.col.results div.ruler {
347        text-align: center;
348        margin-bottom: 0.5em;
349}
350div.col.results div.query {
351        margin-bottom: 0.5em;
352}
353div.col.results div.content div.hit {
354    margin-bottom: 0.5em;
355}
356div.col.results div.content div.hit span.hitLink {
357    margin-right: 0.5em;
358}
359
360/*
361 * index page
362 */
363div.index-image {
364        padding-left: 1em;
365        padding-right: 1em;
366        padding-bottom: 1em;
367        padding-top: 1em;
368}
369div.index-info {
370        padding-top: 1em;       
371}
372div.index-info h2 {
373        margin-top: 0.5em;
374        margin-bottom: 0.5em;
375}
376div.index-info td {
377        vertical-align: top;
378}
379div.index-info td.type {
380        font-weight: bold;
381}
382div.index-info td.content {
383        max-width: 30em;
384}
385
386/*
387 * image page
388 */
389div.col.main div.content.images {
390        background-color: inherit;
391        padding: 0;
392}
393div.col.main div.content.images table {
394        border-collapse: collapse; /* for tight digilib */
395}
396
397/*
398 * xml page
399 */
400div.col.main div.content.xml {
401        font-family: Monaco,Courier,monospace;
402        font-size: 12px;
403}
404div.col.main div.content.xml ul {
405    padding-left: 1em;
406}
407div.col.main div.content.xml div.pageHeaderTitle {
408        display: none;
409}
410
411/*
412 * thumbnail overview
413 */
414div.col.main div.content-thumbs {
415        border: 1px solid silver;
416    padding: 0.5em;
417}
418div.col.main table.thumbs td {
419        text-align: center;
420}
421
422/*
423 * footer
424 */
425div.footer {
426    max-width: 68em;
427        margin-top: 1em;
428        border-top: 1px solid silver;
429        margin-left: 28px;
430        margin-right: 28px;
431        text-align: center;
432}
433div.footer div.content {
434        font-size: 10px;
435        color: gray;   
436}
437div.footer div.content a:link,
438div.footer div.content a:visited {
439        color: gray;
440}
Note: See TracBrowser for help on using the repository browser.