source: documentViewer/css/docuviewer.css @ 535:510bae2b593b

Last change on this file since 535:510bae2b593b was 535:510bae2b593b, checked in by casties, 12 years ago

more fixes, e.g. IE support. first version of index page.

File size: 4.1 KB
Line 
1
2body {
3    background-color: #ebebeb;
4    margin: 5px;
5    font-family: Verdana,Arial,sans-serif;
6    font-size: 12px;
7}
8
9a:link,
10a:visited {
11    color: black;
12    font-weight: bold;
13    text-decoration: none;
14}
15a:hover {
16    text-decoration: underline;
17}
18
19/*
20 * head
21 */
22div.page-head div.logo {
23    display: table-cell;
24    vertical-align: top;
25    padding: 5px;
26}
27div.page-head div.title-block {
28    display: table-cell;
29    vertical-align: top;
30}
31div.page-head div.title {
32    max-width: 50em;
33    background-color: white;
34        font-family: Georgia,Times,serif;
35        font-size: 14px;
36        line-height: 1.3;
37        border: 1px solid silver;
38    padding: 0.5em; 
39}
40
41ul.view-switcher {
42    padding-left: 0;
43    margin-top: 4px;
44}
45ul.view-switcher li {
46    list-style-type: none;
47    display: inline;
48    background-color: #d0d0d0;
49    margin-right: 0;
50    border-bottom: 1px solid silver;
51    border-left: 1px solid silver;
52    border-right: 1px solid silver;
53    border-radius: 0 0 5px 5px;
54    padding: 5px;
55}
56ul.view-switcher li.sel {
57    background-color: white;
58}
59
60div.page-body {
61    display: table-row;
62}
63div.page-body div.col {
64    display: table-cell;
65    vertical-align: top;
66}
67
68/*
69 * TOC
70 */
71div.toc-container {
72    display:table-row;
73}
74
75div.toc-switcher-col {
76        display: table-cell;
77}
78div.toc-switcher {
79    display: block; /* moz only does relative with block */
80    position: relative;
81    width: 26.5px; /* for moz and webkit -- don't ask me */
82}
83div.toc-switcher ul {
84    position: absolute;
85    transform: rotate(270deg);
86    transform-origin: top left;
87    -moz-transform: rotate(270deg);
88    -moz-transform-origin: top left;
89    -webkit-transform: rotate(270deg);
90    -webkit-transform-origin: top left;
91    -o-transform: rotate(270deg);
92    -o-transform-origin: top left;
93        left: 7px;
94    top: 32em;
95    width: 40em;
96    padding: 0px;
97}
98
99div.toc-switcher li {
100    list-style-type: none;
101    display: inline;
102    background-color: #d0d0d0;
103    margin-bottom: 5px;
104    border-top: 1px solid silver;
105    border-left: 1px solid silver;
106    border-right: 1px solid silver;
107    border-radius: 5px 5px 0 0;
108    padding: 5px;
109}
110div.toc-switcher li.sel {
111    background-color: white;
112}
113
114div.tocbody {
115    display: table-cell;
116    border: 1px solid silver;
117    padding: 0.5em; 
118    background-color: white;   
119}
120
121div.tocbody.text, 
122div.tocbody.figures {
123    max-width: 20em;
124    background-color: white;
125}
126
127div.tocbody.text .toc, 
128div.tocbody.figures .toc,
129div.tocbody.concordance .toc {
130    float:left;
131    clear:right; 
132}
133div.tocbody.text .toc.float.right, 
134div.tocbody.figures .toc.float.right,
135div.tocbody.concordance .toc.float.right {
136    float:right;
137}
138
139div.tocbody table.thumbs td {
140    text-align: center;
141}
142div.tocbody table.thumbs .thumb {
143    padding: 3px;
144}
145div.tocbody table.thumbs .thumbsel {
146    padding: 2px;
147    border: 1px solid #892B06;
148}
149div.tocbody table.thumbs .thumbcap {
150    color: black;
151}
152
153/*
154 * content
155 */
156div.col.main {
157    padding-left: 5px;
158    padding-right: 5px;
159}
160div.col.main div.ruler {
161    margin-top: 4px;
162}
163div.col.main span.ruler-main {
164    background-color: #d0d0d0;
165    border-left: 1px solid silver;
166    border-top: 1px solid silver;
167    border-right: 1px solid silver;
168    border-radius: 5px 5px 0 0;
169    padding: 4px;   
170}
171
172div.col.main div.content {
173        min-width: 30em;
174    background-color: white;
175    font-family: Junicode,Gentium,Georgia,serif;
176    font-size: 14px;
177        line-height: 1.3;
178        border: 1px solid silver;
179    padding: 1em;
180}
181div.col.main div.content a:link,
182div.col.main div.content a:visited {
183    font-weight: inherit;
184    color: #892B06;
185}
186span.hit.highlight {
187    background-color: lime;
188}
189
190/*
191 * buttons
192 */
193div.col.buttons div.options {
194    background-color: white;
195        border: 1px solid silver;
196    border-radius: 5px;
197    padding: 0.5em;
198    margin-bottom: 5px; 
199}
200div.col.buttons h4 {
201    margin-top: 0;
202    margin-bottom: 0;
203}
204div.col.buttons ul {
205    list-style-type: none;
206    padding-left: 0;
207    margin-top: 0.5em;
208    margin-bottom: 0.5em;
209}
210
211/*
212 * search results
213 */
214div.col.results {
215    max-width: 20em;
216}
217
218/*
219 * index page
220 */
221div.index-image {
222        float: left;
223        padding-left: 1em;
224        padding-right: 1em;
225        padding-bottom: 1em;
226}
227div.index-info td.type {
228        font-weight: bold;
229}
Note: See TracBrowser for help on using the repository browser.