/* Semionow Mihail's (SM) document formatting stylesheet.
   Style Sheet for HTML.

           21
    0.90 20---22
           VII

   Defines a form for an HTML 2.0 Level 1 elements.
 */

/*/General/*/

*
 {Display: inline;
  Visibility: visible;
  Font-weight: inherit;
  Font: inherit;
  Text-decoration: inherit;
  Text-transform: inherit;
  White-space: inherit;
  Color: inherit;
  Letter-spacing: inherit;
  Word-spacing: inherit;}
 /*This block is needed to reset the form of unknown or more modern
   elements defined in a future versions of Hypertext Markup Language to
   as they were not present, e.g. ignore them. It allows us to emulate
   an HTML 2.0 User Agent's behaviour.*/
Body
 {Display: block;
  Font-size: 10pt; /*This is a common font size in a books which I will
   also use to display a hypertext*/
  Font-family: sans-serif; /*At such size every letter would be rendered
   with pretty small resolution and serifs, even when occupiing a single
   pixel, will get too large and only waste the readability. Thus every
   Web-site predefines a non-serif font is to be used. I will use it
   too.*/
  Margin: 1em;
  Color: black;
  Background-color: silver;
  Text-indent: 1.5em; /*After several measurements I consider the
   Russian typographies were appending at the first line 1 em- and 1
   en-spaces.
  Text-Align: left; /*Please do not justify without hyphenation*/
  White-space: normal;
  Letter-spacing: normal;
  Word-spacing: normal;}

/*/Head/*/

Title
 {Display: none;}

/*/Text Markup/*/

B, STRONG
 {Font-weight: bolder;}
I, EM
 {Font-style: italic;}
VAR, CITE
 {Font-style: oblique;}
TT, CODE, SAMP, KBD
 {Font-family: monospace;}

/*/Line breaks/*/

Br
 {Content: "\D\A";
  White-space: pre;}

/*/Link Markup/*/

A:Link
 {Text-decoration: underline;
  Color: blue;}
A:Visited
 {Text-decoration: underline;
  Color: maroon;}
A:Hover
 {Text-decoration: none;}
A:Active
 {Color: lime;}

/*/Images/*/

Img
 {Border: none;}
Body>Img
 {Border-width: medium;
  Border-style: groove;
  Border-color: white;}
A[href] Img
 {Border-width: thin;
  Border-style: solid;}
A:Link Img
 {Border-color: blue;}
A:Visited Img
 {Border-color: maroon;}
A:Active Img
 {Border-color: lime;}

/*/Paragraphs/*/

P
 {Display: block;
  Margin: 0;}

/*/Headings, Titles, Sections/*/

HR
 {Display: block;
  Margin-left: 1em;
  Margin-right: 80%;
  Padding: 0;
  Border-width: thin;
  Border-style: solid;
  Border-color: black;}
H1, H2, H3, H4, H5, H6
 {Display: block;
  Text-indent: 0;
  Margin-top: 1em;}
H1, H2, H3
 {Margin-bottom: 1em;}
H4, H5, H6
 {Margin-bottom: 0;}
H1, H2, H3, H4, H5
 {Font-weight: bold;}
H1
 {Font-size: 16pt;
  Text-align: center;
  Font-family: serif;}
H2, H4
 {Text-transform: uppercase;}
H6
 {Font-size: 8pt;}

/*/Text flows/*/

Pre, XMP, Listing, PlainText
 {Font-family: monospace;
  Text-Indent: 0;
  White-space: pre;}
Listing, Pre[Width=132]
 {Font-size: 8pt;}

/*/Lists/*/

DL
 {Display: block;
  Margin: 0;}
DL DT
 {Display: block;
  Text-indent: 0;
  Font-weight: bold;}
DL DD
 {Display: block;
  Margin: 0;} /*Attribute "Compact" is not applicable now*/
UL LI, OL LI, Dir LI, Menu LI
 {Display: block;
  Margin: 0;}
UL LI:Before, Menu LI:Before, Dir LI:Before
 {Content: "\2014\2002";}
OL
 {Counter-reset: i 0;}
OL LI
 {Counter-increment: i 1;}
OL LI:Before
 {Content: Counter(i) "\2002";}

/*/Document Body/*/

BlockQuote
 {Margin-left: 4em;
  Margin-right: 4em;}
Address
 {Font-style: oblique;
  Text-indent: 0;}

/* To do:
   -- Make multilevel lists,
   -- Define "Compact" Definition List style,
 */
