@namespace url("http://www.w3.org/2002/06/xhtml2");

/*  A sample style sheet for XHTML 2

    This style sheet describes the sample rendering of proposed XHTML 2
    elements.

    Editor: Masayasu Ishikawa <mimasa@w3.org>
    Revision: $Id: xhtml2.css,v 1.3 2002/08/07 06:23:14 mimasa Exp $
*/

/* new elements */

section, nl, h, line
                { display: block }
section, nl, h, line
                { unicode-bidi: embed }
nl              { margin: 1.33em 0 }

h {
	font-size: 2em;
	margin: .67em 0 ;
	color: blue;
}

section h {
	font-size: 1.5em;
	margin: .83em 0;
	color: black;
}

section section h {
	font-size: 1.17em;
	margin: 1em 0;
}

section section section h, p, blockquote, ul, ol, dl {
	margin: 1.33em 0;
}

section section section section h {
	font-size: .83em;
	line-height: 1.17em;
	margin: 1.67em 0;
}

section section section section section h {
	font-size: .67em;
	margin: 2.33em 0;
}

h {
	font-weight: bolder;
}

@media print {
/*   @page         { margin: 10%; } */
  h             { page-break-after: avoid; page-break-inside: avoid }
}

@media aural {
	h {
		voice-family: paul, male;
		stress: 20;
		richness: 90;
		pitch: x-low;
		pitch-range: 90;
	}
	
	section h {
		pitch: x-low;
		pitch-range: 80;
	}
	
	section section h {
		pitch: low;
		pitch-range: 70;
	}
	
	section section section h {
		pitch: medium;
		pitch-range: 60;
	}
	
	section section section section h {
		pitch: medium;
		pitch-range: 50;
	}
	
	section section section section section h {
		pitch: medium;
		pitch-range: 40;
	}
}

/* inherited elements */

html, body, div, p, hr, h1, h2, h3, h4, h5, h6,
address, blockquote, pre, ol, ul, dl, dt, dd
                { display: block }
li              { display: list-item }
head, script    { display: none }
table           { display: table }
tr              { display: table-row }
thead           { display: table-header-group }
tbody           { display: table-row-group }
tfoot           { display: table-footer-group }
col             { display: table-column }
colgroup        { display: table-column-group }
td, th          { display: table-cell }
caption         { display: table-caption }
th              { font-weight: bolder; text-align: center }
caption         { text-align: center }
body            { padding: 8px; line-height: 1.12em }
h1              { font-size: 200%; margin: .67em 0 }
h2              { font-size: 150%; margin: .83em 0 }
h3              { font-size: 117%; margin: 1em 0 }
h4, p, blockquote, ol, ul, dl
                { margin: 1.33em 0 }
h5              { font-size: 83%; line-height: 1.17em; margin: 1.67em 0 }
h6              { font-size: 67%; margin: 2.33em 0 }
h1, h2, h3, h4, h5, h6
                { font-family: sans-serif; font-weight: bolder }
strong          { font-weight: bolder }
blockquote      { margin-left: 40px; margin-right: 40px }
cite, em, var, address
                { font-style: italic }
pre code, kbd, samp
                { font-family: monospace }
pre             { white-space: pre }
sub, sup        { font-size: smaller }
sub             { vertical-align: sub }
sup             { vertical-align: super }
del             { text-decoration: line-through }
hr              { border: 1px inset }
ol, ul, dd      { margin-left: 40px }
ol              { list-style-type: decimal }
ol ul, ul ol, ul ul, ol ol
                { margin-top: 0; margin-bottom: 0 }
ins             { text-decoration: underline }
br:before       { content: "\A" }

/*
abbr, acronym   { font-variant: small-caps; letter-spacing: 0.1em }
*/
*[href]         { text-decoration: underline; color: blue; }
:focus          { outline: thin dotted invert }

/* Hover effects should be default */

*[href]:visited { color: #b7f } /* A little lighter than traditionally */
*[href]:hover   { color: red }

/* begin bidirectionality settings (do not change) */
bdo[dir="ltr"]  { direction: ltr; unicode-bidi: bidi-override }
bdo[dir="rtl"]  { direction: rtl; unicode-bidi: bidi-override }

*[dir="ltr"]    { direction: ltr; unicode-bidi: embed }
*[dir="rtl"]    { direction: rtl; unicode-bidi: embed }

/* block-level elements */
body, div, p, center, hr, h1, h2, h3, h4, h5, h6,
address, blockquote, pre, ol, ul, li, dl, dt, dd,
noscript, table, thead, tbody, tfoot, tr, td, th,
col, colgroup, caption, object
                { unicode-bidi: embed }
/* end bidi settings */

/* @page         { margin: 10% } */
@media print {
  h1, h2, h3, h4, h5, h6
                { page-break-after: avoid; page-break-inside: avoid }
  blockquote, pre
                { page-break-inside: avoid }
  ul, ol, dl    { page-break-before: avoid }
}

@media aural {
  h1, h2, h3, h4, h5, h6
                { voice-family: paul, male; stress: 20; richness: 90 }
  h1            { pitch: x-low; pitch-range: 90 }
  h2            { pitch: x-low; pitch-range: 80 }
  h3            { pitch: low; pitch-range: 70 }
  h4            { pitch: medium; pitch-range: 60 }
  h5            { pitch: medium; pitch-range: 50 }
  h6            { pitch: medium; pitch-range: 40 }
  li, dt, dd    { pitch: medium; richness: 60 }
  dt            { stress: 80 }
  pre, code     { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
  em            { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
  strong        { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
  dfn           { pitch: high; pitch-range: 60; stress: 60 }
  :link         { voice-family: harry, male }
  :visited      { voice-family: betty, female }
  :active       { voice-family: betty, female; pitch-range: 80; pitch: x-high }
}

/* EXPERIMENTAL: Opera-specific extension */
*[href] {
       -set-link-source: attr(href);
       -use-link-source: current;
}

/* end xhtml2.css */
