/* Stylesheet for Gromboolia project web pages, housed on CowTown MOO
   (http://moo.cohums.ohio-state.edu). 
   Written by William Cole, bill@donutage.org 
   Last updated: 2002-08-25 */

/* Part I: Basic settings 
   Many of these settings are natural defaults, but explicit statements
   help ensure the correct starting points. */

BODY
{
	background-color: white;
	color: black;
	margin: 5% 5% 0 5%;
	line-height: normal;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-size: 1em;
	font-family: "Times New Roman", Times, serif;
}

A:link {color: blue;}
A:visited {color: purple;}
A:active {color: red;}

/* Part II: Page sections. 
   These styles simply provide formatting of basic page elements.*/   

DIV.illustration
{
	float: none;
	display: block;
	text-align: center;
}

DIV.poem
{
	margin: 0 10% 0 10%;
	text-align: left;
}    

/* Lear's short poetic lines seem to require a deeper side margins than other
   elements. However, the margin property is inconsistently supported by
   browsers */


/* Part III: Poem formatting
   Styles for the titles and bodies of Lear's poems.  The typographical
   instructions replicate features found in _The Complete Nonsense of Edward
   Lear_, ed. Jackson (Dover 1957). */

H1.title
{
	font-size: 1.25em;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 1em 0 1em 0;
}

H2.stanza_title
{
	font-size: 1em;
	text-align: center;
	font-variant: small-caps;
	margin: 1em 0 0.25em 0;
}

PRE.stanza
{
	font-family: "Times New Roman", Times, serif;
	margin: 0.5em 0 1em 0;
}

/* The application of a proportional font to the PRE element is discouraged
   by Web Design Group, but it is technically legal. This ultimately seems 
   to be the only reliable option for ensuring that poetic line breaks and
   indentation patterns are maintained in all browsers. In the worst-case 
   scenario (no CSS support), the text will appear in a monospace font, which
   is unaesthetic but acceptable. 
   
   I've chosen to apply PRE at the stanza level to allow coding of internal
   structures, such as stanza headings, and to ensure proper spacing between
   stanzas. 
   
   8/25/02: removed the "font-size: 1em;" attribute from this element due to
   an error in Netscape 4.7 (Mac) that caused consecutive stanzas to increase
   in font size. (Poems with stanza titles or other elements between the 
   stanzas did not seem to have this problem.) In any case, the correct 
   font-size should be inherited from BODY's font-size attribute anyway.   
   */

#stanza1:first-letter { font-size: 150%; }

/* Used to create enlarged initial capitals for poems. Tied to the ID
   selector "stanza1" to avoid problems in poems where the first character 
   of the poem is not the same as the first letter in the poem (namely those
   with numbered or titled stanzas or sections). There is a flaw in IE3 
   that causes first-letter styles to be applied to the whole element, but
   since IE3 is not compatible with Xpress, that is not a concern.  */

/* Part IV: Unused styles
   Style options that were considered but rejected. 
      
P.stanza
{ 
	text-align: left;
	white-space: pre;
}
--This style was intended to force paragraphs of class "stanza" to observe spacing and line breaks without using non-breaking spaces or BR tags. However, the white-space property is not supported by many versions of IE, resulting in stanzas appearing unacceptably as single paragraphs.

SPAN.line
{
	display: block;
}
--This style uses the SPAN element to tag lines of poetry as inline elements (so they could appear in a P.stanza -- but not the P.stanza above) and then uses the display property to force line breaks as if they were block elements. Potentially, this could allow a high level of descriptive detail (e.g. line numbering and line-specific formatting through stylesheets), but inconsistent support for the display property caused the same problems as above. Also, this approach would have entailed a great deal of additional coding for little clear benefit in the Gromboolia setting.

*/

