1 /************************************************************************
3 * Sinorcaish Screen-based Style Sheet *
4 * Copyright (C) 2004-06, John Zaitseff *
6 ************************************************************************/
8 /* Author: John Zaitseff <J.Zaitseff@zap.org.au>
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 */
35 font-family: Verdana
, "Bitstream Vera Sans", "Lucida Sans", Arial
, Helvetica
, sans-serif
;
36 font-size: 90%; /* Allow IE/Win to resize the document */
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 */
55 h1
, /* Headings (H1-H6) should only be used in */
56 h2
, /* the main content area */
73 h1
{ font-size: 175% }
74 h2
{ font-size: 145% }
75 h3
{ font-size: 120% }
76 h4
{ font-size: 105% }
84 text-decoration: none
;
86 background: transparent
;
90 text-decoration: none
;
92 background: transparent
;
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 */
109 pre
, /* Note: PRE is a block element */
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 */
118 code
.markup
, /* HTML/CSS markup */
119 span
.markup
, /* Alternative form for HTML/CSS markup */
120 .title { /* Title in floating boxes / left sidebar */
126 font: inherit
; /* Don't use small-caps, etc. */
131 border-bottom: 1px dotted
#CCCCCC;
137 border-bottom: 1px dotted
#CCCCCC;
144 .url
, /* Uniform Resource Locator */
145 .email { /* E-mail address */
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 */
157 .clearboxes { /* Clear navboxes and floatboxes */
162 font-family: "Arial Unicode MS", "Lucida Sans Unicode", Verdana
, "Bitstream Vera Sans", "Lucida Sans", Arial
, Helvetica
, sans-serif
;
166 /* Block-inline elements */
169 vertical-align: baseline
;
175 img
.left
{ /* Left-floating images */
176 margin: 0.75em 1.5em 0.75em 0;
180 img
.right
{ /* Right-floating images */
181 margin: 0.75em 0 0.75em 1.5em;
185 img
.icon16
[src
] { /* For 16x16 file-type icons */
186 vertical-align: -10%; /* IE/Win cannot handle negative percentages */
190 del
* { /* Required for Mozilla */
191 text-decoration: line-through
;
195 ins
* { /* Required for Mozilla */
196 text-decoration: underline
;
207 blockquote
{ /* Should only be used in main content area, */
208 /* floating boxes or left sidebar. */
213 pre
{ /* Should only be used in main content area */
214 /* and floating boxes. */
224 font-size: 100%; /* PRE is already enlarged above */
225 line-height: 1.2; /* Use same value as for PRE above */
230 background: transparent
;
231 height: 1px; /* Required for IE/Win */
234 border-color: #999999;
236 border-style: none none solid none
;
239 hr
.lighter
{ /* Warning: not printed out on paper */
241 background: transparent
;
242 border-color: #F0F0F0;
249 list-style: decimal outside
;
251 padding: 0 0 0 2.5em;
255 list-style-type: lower-alpha
;
259 list-style-type: decimal
;
263 list-style: square outside
;
265 padding: 0 0 0 2.5em;
276 ol ul
, /* Override possible browser styles */
282 list-style: square outside
;
296 font: inherit
; /* Don't make the text bold by default */
297 margin: 1em 0 0.25em 0;
302 margin: 0 0 1em 2.5em;
308 /* Tables should never be used for visual */
309 /* formatting: that is the role of CSS! */
311 th
,td
{ padding-right: 1em;
316 background: inherit
; /* Don't make tables transparent */
317 border-collapse: collapse
;
322 border: 1px solid
#999999;
325 table
.simple caption
{
328 margin: 0 2.5em 0.75em;
336 vertical-align: middle
;
338 padding: 0.25em 0.5em;
339 border: 1px solid
#999999;
343 table
.simple td
.highlight
,
344 table
.simple th
.highlight
{
350 table
.simple td
.lighter
,
351 table
.simple th
.lighter
{
356 table
.simple td
.left
,
357 table
.simple th
.left
{
361 table
.simple td
.center
,
362 table
.simple th
.center
{
366 table
.simple td
.right
,
367 table
.simple th
.right
{
372 /* The following HTML elements should NOT be used in documents using this
375 address - use the #footer style instead
376 q - use “ and ” instead
380 /********** Styles for Main Content **********/
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 */
394 background: transparent
;
398 #main .highlight
{ /* Highlight box (for warnings, etc) */
403 border: 1px solid
#999999;
406 #main .totop
{ /* For "Top ^" lines in FAQs, etc */
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
{
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 */
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. */
454 margin: 0 0 0.75em 1.5em;
456 border: 1px solid
#999999;
474 .floatbox hr
, /* Used for non-stylesheet-aware browsers */
476 display: none
!important
;
488 padding: 0 0 0 1.5em;
494 padding: 0 0 0 1.5em;
497 .floatbox blockquote {
498 margin: 0.75em 1.5em;
504 margin: 0.75em 1.5em;
514 margin: 0.75em 0 0.25em 0;
519 margin: 0 0 0.75em 1.5em;
523 #main .floatbox
.highlight
{
527 padding: 0.75em 1.5em;
530 #main .floatbox table
.simple
{
534 #main .floatbox table
.simple th
,
535 #main .floatbox table
.simple td
.highlight
,
536 #main .floatbox table
.simple th
.highlight
{
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 */
558 background: transparent
;
562 #header a
.highlight:link
,
563 #header a
.highlight:visited
{
565 background: transparent
;
568 /* Left part of header (ideally an image but may be a link) */
575 #header div
.left img
{
576 display: block
; /* Otherwise IMG is an inline, causing gaps */
580 #header div
.left
a:link
,
581 #header div
.left
a:visited
{
584 text-decoration: none
;
586 background: transparent
;
590 margin: 0 0 0 0.25em;
594 #header div
.left
.alt
{
596 background: transparent
;
599 /* Right part of header is for external/global links, search, etc */
605 padding: 0.5em 1.67em 0 1em;
610 #header div
.right
a:link
,
611 #header div
.right
a:visited
{
616 #header div
.right form
{
618 padding: 0.25em 0 0 0;
621 #header div
.right form input
{
623 vertical-align: middle
;
626 /* Subheader for global links */
628 #header div
.subheader
{
632 padding: 0.25em 1.5em 0.5em 0.5em; /* For IE/Win */
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
{
644 background: transparent
;
649 #header div
.subheader
.highlight
,
650 #header div
.subheader a
.highlight:link
,
651 #header div
.subheader a
.highlight:visited
{
653 background: transparent
;
657 /********** Styles for Left Sidebar **********/
659 #sidebar { /* Warning: not printed out on paper */
661 border-right: 1px solid
#999999;
671 border-bottom: 1px solid
#999999;
674 #sidebar div
.lighter
{
683 #sidebar .title
a:link
,
684 #sidebar .title
a:visited
{
686 background: transparent
;
690 list-style: none outside
;
700 #sidebar ul li
.highlight
{
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
{
713 background: transparent
;
717 /********** Styles for Footer **********/
725 padding: 0.5em 1.67em 0.5em 15.25em;
731 text-decoration: underline
;
733 background: transparent
;
737 display: none
!important
;
740 /* End of the Sinorcaish style sheet */