Web inteface: nicer system error page, and introduced a bug (OK, a photo of a bug :-)
[openxpki.git] / trunk / clients / perl / OpenXPKI-Client-HTML-Mason / htdocs / css / sinorcaish-screen.css
blob915cc97739b637ca9941f1186d6448f44603b6e7
1 /************************************************************************
2 * *
3 * Sinorcaish Screen-based Style Sheet *
4 * Copyright (C) 2004-06, John Zaitseff *
5 * *
6 ************************************************************************/
8 /* Author: John Zaitseff <J.Zaitseff@zap.org.au>
9 Version: 1.2
11 $Id: sinorcaish-screen.css 164 2006-01-10 04:01:17Z john $
13 This file provides the Sinorcaish style sheet for screen-based user
14 agents (ie, for ordinary Web browsers). This file conforms to the
15 Cascading Style Sheets 2.1 specification.
17 The design of Sinorcaish is influenced by Sinorca (available from the
18 Open Source Web Design site, http://www.oswd.org/), which in turn was
19 based on the Acronis company web site (http://www.acronis.com/). You
20 can find more information about this design from its home page on the
21 ZAP Group web site, http://www.zap.org.au/documents/styles/sinorcaish/.
23 This file may be redistributed and/or modified on the condition that
24 the original copyright notice is retained.
28 /********** Global Styles **********/
30 /* The global font size is set to 90% as */
31 /* most browsers' normal font size is too */
32 /* large, at least when using Verdana */
34 body {
35 font-family: Verdana, "Bitstream Vera Sans", "Lucida Sans", Arial, Helvetica, sans-serif;
36 font-size: 90%; /* Allow IE/Win to resize the document */
37 color: black;
38 background: #F0F0F0;
39 margin: 0;
40 padding: 0;
41 border: none;
44 .hidden { /* Used for content that should be displayed */
45 /* by non-stylesheet-aware browsers */
46 display: none !important;
49 .notprinted { /* Used for content that should not be */
50 } /* printed to paper */
53 /* Headings */
55 h1, /* Headings (H1-H6) should only be used in */
56 h2, /* the main content area */
57 h3 {
58 font-weight: bold;
59 text-align: left;
60 margin: 1.5em 0 0 0;
61 padding: 0;
64 h4,
65 h5,
66 h6 {
67 font-weight: bold;
68 text-align: left;
69 margin: 1.25em 0 0 0;
70 padding: 0;
73 h1 { font-size: 175% }
74 h2 { font-size: 145% }
75 h3 { font-size: 120% }
76 h4 { font-size: 105% }
77 h5 { font-size: 80% }
78 h6 { font-size: 65% }
81 /* Anchors */
83 a:link {
84 text-decoration: none;
85 color: #0066CC;
86 background: transparent;
89 a:visited {
90 text-decoration: none;
91 color: #003399;
92 background: transparent;
95 a:hover,
96 a:active {
97 text-decoration: underline;
101 /* Inline elements and classes */
103 /* This style sheet assumes B, BIG, EM, I, */
104 /* SMALL, STRONG, SUB and SUP are defined */
105 /* by the browser as per the HTML4 sample */
106 /* style sheet. */
107 code,
108 kbd,
109 pre, /* Note: PRE is a block element */
110 samp,
111 tt {
112 font-family: "Courier New", Courier, monospace;
113 font-size: 115%; /* Courier tends to be a little too small */
114 line-height: 1.0; /* Otherwise lines tend to spread out */
117 kbd,
118 code.markup, /* HTML/CSS markup */
119 span.markup, /* Alternative form for HTML/CSS markup */
120 .title { /* Title in floating boxes / left sidebar */
121 font-weight: bolder;
124 abbr,
125 acronym {
126 font: inherit; /* Don't use small-caps, etc. */
129 .tooltip {
130 cursor: help;
131 border-bottom: 1px dotted #CCCCCC;
134 abbr[title],
135 acronym[title] {
136 cursor: help;
137 border-bottom: 1px dotted #CCCCCC;
140 cite,
141 dfn,
142 var,
143 .fn, /* Filename */
144 .url, /* Uniform Resource Locator */
145 .email { /* E-mail address */
146 font-style: italic;
149 .program, /* Command-line name of a computer program */
150 .window, /* Window or dialog box name */
151 .menu, /* Menu item in a computer program */
152 .gui, /* Generic GUI element in a computer program */
153 .key { /* Keypress in a computer program */
154 font-weight: bolder;
157 .clearboxes { /* Clear navboxes and floatboxes */
158 clear: right;
161 .unicode {
162 font-family: "Arial Unicode MS", "Lucida Sans Unicode", Verdana, "Bitstream Vera Sans", "Lucida Sans", Arial, Helvetica, sans-serif;
166 /* Block-inline elements */
168 img {
169 vertical-align: baseline;
170 margin: 0;
171 padding: 0;
172 border: none;
175 img.left { /* Left-floating images */
176 margin: 0.75em 1.5em 0.75em 0;
177 float: left;
180 img.right { /* Right-floating images */
181 margin: 0.75em 0 0.75em 1.5em;
182 float: right;
185 img.icon16[src] { /* For 16x16 file-type icons */
186 vertical-align: -10%; /* IE/Win cannot handle negative percentages */
189 del,
190 del * { /* Required for Mozilla */
191 text-decoration: line-through;
194 ins,
195 ins * { /* Required for Mozilla */
196 text-decoration: underline;
200 /* Block elements */
203 margin: 1em 0;
204 padding: 0;
207 blockquote { /* Should only be used in main content area, */
208 /* floating boxes or left sidebar. */
209 margin: 1em 2.5em;
210 padding: 0;
213 pre { /* Should only be used in main content area */
214 /* and floating boxes. */
215 line-height: 1.2;
216 margin: 1em 2.5em;
217 padding: 0;
220 pre code,
221 pre kbd,
222 pre samp,
223 pre tt {
224 font-size: 100%; /* PRE is already enlarged above */
225 line-height: 1.2; /* Use same value as for PRE above */
228 hr {
229 color: #999999;
230 background: transparent;
231 height: 1px; /* Required for IE/Win */
232 margin: 1em 0;
233 padding: 0;
234 border-color: #999999;
235 border-width: 1px;
236 border-style: none none solid none;
239 hr.lighter { /* Warning: not printed out on paper */
240 color: #F0F0F0;
241 background: transparent;
242 border-color: #F0F0F0;
246 /* Lists */
248 ol {
249 list-style: decimal outside;
250 margin: 1em 0;
251 padding: 0 0 0 2.5em;
254 ol.alpha {
255 list-style-type: lower-alpha;
258 ol.number {
259 list-style-type: decimal;
262 ul {
263 list-style: square outside;
264 margin: 1em 0;
265 padding: 0 0 0 2.5em;
268 ol ol,
269 ol ul,
270 ul ol,
271 ul ul {
272 margin-top: 0;
273 margin-bottom: 0;
276 ol ul, /* Override possible browser styles */
277 ol ol ul,
278 ol ul ul,
279 ul ul,
280 ul ol ul,
281 ul ul ul {
282 list-style: square outside;
285 li {
286 margin: 0;
287 padding: 0;
290 dl {
291 margin: 1em 0;
292 padding: 0;
295 dt {
296 font: inherit; /* Don't make the text bold by default */
297 margin: 1em 0 0.25em 0;
298 padding: 0;
301 dd {
302 margin: 0 0 1em 2.5em;
303 padding: 0;
307 /* Tables */
308 /* Tables should never be used for visual */
309 /* formatting: that is the role of CSS! */
311 th,td { padding-right: 1em;
312 text-align: left; }
314 table.simple {
315 color: inherit;
316 background: inherit; /* Don't make tables transparent */
317 border-collapse: collapse;
318 border-spacing: 0;
319 empty-cells: show;
320 margin: 0.5em 2.5em;
321 padding: 0;
322 border: 1px solid #999999;
325 table.simple caption {
326 text-align: center;
327 caption-side: top;
328 margin: 0 2.5em 0.75em;
329 padding: 0;
330 border: none;
333 table.simple td,
334 table.simple th {
335 text-align: center;
336 vertical-align: middle;
337 margin: 0;
338 padding: 0.25em 0.5em;
339 border: 1px solid #999999;
342 table.simple th,
343 table.simple td.highlight,
344 table.simple th.highlight {
345 font-weight: bold;
346 color: inherit;
347 background: #F0F0F0;
350 table.simple td.lighter,
351 table.simple th.lighter {
352 color: inherit;
353 background: #F8F8F8;
356 table.simple td.left,
357 table.simple th.left {
358 text-align: left;
361 table.simple td.center,
362 table.simple th.center {
363 text-align: center;
366 table.simple td.right,
367 table.simple th.right {
368 text-align: right;
372 /* The following HTML elements should NOT be used in documents using this
373 style sheet:
375 address - use the #footer style instead
376 q - use &ldquo; and &rdquo; instead
380 /********** Styles for Main Content **********/
382 #main {
383 text-align: justify;
384 line-height: 1.5;
385 color: black;
386 background: white;
387 margin: 0 0 0 12.5em;
388 padding: 0.25em 1.5em 0.5em 1em;
389 border-left: 1px solid #999999;
392 #main h1 { /* Should be used once, following navhead */
393 color: #999999;
394 background: transparent;
395 margin: 0 0 0.5em 0;
398 #main .highlight { /* Highlight box (for warnings, etc) */
399 color: inherit;
400 background: #F0F0F0;
401 margin: 1em 0;
402 padding: 1em 2.5em;
403 border: 1px solid #999999;
406 #main .totop { /* For "Top ^" lines in FAQs, etc */
407 font-size: 90%;
408 text-align: right;
409 margin: -0.75em 0 1em 0;
410 padding: 0 0 0.25em 0;
411 border-bottom: 1px solid #F0F0F0;
414 #main table.simple td.highlight, /* Else "#main .highlight" will override */
415 #main table.simple th.highlight {
416 margin: 0;
417 padding: 0.25em 0.5em;
421 /* Other styles related to the main content */
423 #mainlink { /* "Skip to main content" link */
424 display: none !important;
427 #navhead { /* "Path to this page" information */
428 /* Warning: not printed out on paper */
429 font-size: 90%;
432 #navhead hr {
433 display: none;
436 #endmain {
437 visibility: hidden;
438 clear: both; /* Doesn't always work under IE/Win */
442 /********** Styles for Floating Boxes **********/
444 /* "navbox" is used to provide intra/inter- */
445 /* page links; it is NOT printed out on */
446 /* paper. "floatbox" is used to provide */
447 /* floating boxes that may appear anywhere */
448 /* in the main content; they ARE printed. */
449 .floatbox,
450 .navbox {
451 overflow: visible;
452 font-size: 95%;
453 line-height: 1.25;
454 margin: 0 0 0.75em 1.5em;
455 padding: 0.5em 1em;
456 border: 1px solid #999999;
457 float: right;
458 clear: right;
461 .floatbox {
462 color: black;
463 background: #F0F0F0;
464 width: 35%;
467 .navbox {
468 text-align: left;
469 color: black;
470 background: white;
471 width: 12.5em;
474 .floatbox hr, /* Used for non-stylesheet-aware browsers */
475 .navbox hr {
476 display: none !important;
479 .floatbox p,
480 .navbox p {
481 margin: 0.75em 0;
482 padding: 0;
485 .floatbox ol,
486 .floatbox ul {
487 margin: 0.75em 0;
488 padding: 0 0 0 1.5em;
491 .navbox ol,
492 .navbox ul {
493 margin: 0.5em 0;
494 padding: 0 0 0 1.5em;
497 .floatbox blockquote {
498 margin: 0.75em 1.5em;
499 padding: 0;
502 .floatbox pre {
503 font-size: 95%;
504 margin: 0.75em 1.5em;
505 padding: 0;
508 .floatbox dt {
509 margin: 0.75em 0;
510 padding: 0;
513 .floatbox dt {
514 margin: 0.75em 0 0.25em 0;
515 padding: 0;
518 .floatbox dd {
519 margin: 0 0 0.75em 1.5em;
520 padding: 0;
523 #main .floatbox .highlight {
524 color: inherit;
525 background: white;
526 margin: 0.75em 0;
527 padding: 0.75em 1.5em;
530 #main .floatbox table.simple {
531 margin: 0.75em 0;
534 #main .floatbox table.simple th,
535 #main .floatbox table.simple td.highlight,
536 #main .floatbox table.simple th.highlight {
537 color: inherit;
538 background: white;
539 margin: 0;
540 padding: 0.25em 0.5em;
544 /********** Styles for Header **********/
546 /* In this style sheet, headers are composed */
547 /* of three parts: left, right and subheader */
548 /* Left part is ideally an image. */
550 #header { /* Warning: not printed out on paper */
551 color: #003399;
552 background: #8CA8E6;
555 #header a:link,
556 #header a:visited {
557 color: #003399;
558 background: transparent;
561 #header .highlight,
562 #header a.highlight:link,
563 #header a.highlight:visited {
564 color: white;
565 background: transparent;
568 /* Left part of header (ideally an image but may be a link) */
570 #header div.left {
571 float: left;
572 clear: left;
575 #header div.left img {
576 display: block; /* Otherwise IMG is an inline, causing gaps */
579 #header div.left,
580 #header div.left a:link,
581 #header div.left a:visited {
582 font-size: 200%;
583 font-weight: bold;
584 text-decoration: none;
585 color: white;
586 background: transparent;
589 #header div.left p {
590 margin: 0 0 0 0.25em;
591 padding: 0;
594 #header div.left .alt {
595 color: #FF9800;
596 background: transparent;
599 /* Right part of header is for external/global links, search, etc */
601 #header div.right {
602 font-size: 90%;
603 text-align: right;
604 margin: 0;
605 padding: 0.5em 1.67em 0 1em;
606 float: right;
607 clear: right;
610 #header div.right a:link,
611 #header div.right a:visited {
612 margin: 0;
613 padding: 0 0.5em;
616 #header div.right form {
617 margin: 0;
618 padding: 0.25em 0 0 0;
621 #header div.right form input {
622 font-size: 95%;
623 vertical-align: middle;
626 /* Subheader for global links */
628 #header div.subheader {
629 color: white;
630 background: #003399;
631 margin: 0;
632 padding: 0.25em 1.5em 0.5em 0.5em; /* For IE/Win */
633 clear: both;
636 #header > div.subheader {
637 padding: 0.5em 1.5em 0.5em 0.5em; /* For all other browsers */
640 #header div.subheader a:link,
641 #header div.subheader a:visited {
642 font-weight: bolder;
643 color: white;
644 background: transparent;
645 margin: 0;
646 padding: 0 0.5em;
649 #header div.subheader .highlight,
650 #header div.subheader a.highlight:link,
651 #header div.subheader a.highlight:visited {
652 color: #FDA05E;
653 background: transparent;
657 /********** Styles for Left Sidebar **********/
659 #sidebar { /* Warning: not printed out on paper */
660 width: 12.5em;
661 border-right: 1px solid #999999;
662 float: left;
663 clear: both;
666 #sidebar div {
667 font-size: 95%;
668 text-align: left;
669 margin: 0;
670 padding: 0.5em 1em;
671 border-bottom: 1px solid #999999;
674 #sidebar div.lighter {
675 color: inherit;
676 background: white;
679 #sidebar p {
680 margin: 0.5em 0;
683 #sidebar .title a:link,
684 #sidebar .title a:visited {
685 color: black;
686 background: transparent;
689 #sidebar ul {
690 list-style: none outside;
691 margin: 0.5em 0;
692 padding: 0;
695 #sidebar ul li {
696 margin: 0;
697 padding: 0.125em 0;
700 #sidebar ul li.highlight {
701 color: inherit;
702 background: white;
703 margin-left: -1em;
704 margin-right: -1em;
705 padding-left: 1em;
706 border-top: 1px solid #999999;
707 border-bottom: 1px solid #999999;
710 #sidebar ul li.highlight a:link,
711 #sidebar ul li.highlight a:visited {
712 color: black;
713 background: transparent;
717 /********** Styles for Footer **********/
719 #footer {
720 font-size: 90%;
721 text-align: left;
722 color: white;
723 background: #6381DC;
724 margin: 0;
725 padding: 0.5em 1.67em 0.5em 15.25em;
726 clear: both;
729 #footer a:link,
730 #footer a:visited {
731 text-decoration: underline;
732 color: white;
733 background: transparent;
736 #footer hr {
737 display: none !important;
740 /* End of the Sinorcaish style sheet */