/* Background tiling rules.
 *
 * Every BODY BACKGROUND in this site is left untouched in the markup. The
 * only thing set here is the repeat direction, because that is the one place
 * where a modern window changes the picture: HTML's default is repeat-in-both-
 * directions, and in 1997 a ~640-800px viewport hid that for the wide art.
 *
 * The site actually uses three kinds of background art:
 *
 *   1. Small seamless textures (parch_tile 208x100, people_tile 200x200,
 *      stills_tile 200x200, parchtop_tile 300x21, ph_top_tile 409x73).
 *      These really are meant to tile in both directions - no rule below
 *      touches them, they keep the browser default.
 *
 *   2. Vertical borders: art pinned to the left and/or right edge of a
 *      ~640px page that must keep running down the page. -> repeat-y.
 *
 *   3. One-off banners: a piece of art at the top over a flat field, where
 *      re-tiling it horizontally would repeat a headline or a figure that
 *      was only ever meant to appear once. -> no-repeat.
 *
 * Nothing is scaled and nothing is re-anchored: background-position stays at
 * the default 0 0 throughout, and background-size is never set. Deleting this
 * file (and the <link> tags) returns every page to plain browser defaults.
 */


/* --- 2. Vertical border art --------------------------------------------- */

/* Leaves down the left and right margins of a 640px column (640x224). */
body[background$="images/leafborder_tile.gif"] {
	background-repeat: repeat-y;
}

/* Mushrooms down the right margin (630x200). */
body[background$="images/believe/shroom_tile2.gif"] {
	background-repeat: repeat-y;
}

/* Parchment column down the left, olive field to the right (1100x122). */
body[background$="images/papertile.gif"] {
	background-repeat: repeat-y;
}

/* Dark red panel with ruled edges (900x200). */
body[background$="images/houdini_bottom_tile.gif"] {
	background-repeat: repeat-y;
}

/* Fairy-lore parchment column (1100x193). These pages carry no BGCOLOR, so
   the field beyond the art is given the olive the artwork itself ends in
   rather than the browser's white. */
body[background$="fl_bg.gif"] {
	background-repeat: repeat-y;
	background-color: #333300;
}


/* --- 3. Single banners --------------------------------------------------- */

/* Mossy branch with a seated figure across the top, black below (1100x800).
   Tiling this repeats the figure across the page. */
body[background$="images/ph_tile.gif"] {
	background-repeat: no-repeat;
}

/* The branch behind the main navigation bar (1200x900). */
body[background$="images/branch_tile.gif"] {
	background-repeat: no-repeat;
}

/* Left-hand menu column: branch at the top, black beneath (190x450). The
   column is taller than the art, and this page declares the olive BGCOLOR
   used elsewhere, so the black the artwork fades into is restated here. */
body[background$="images/ph_left_tile.gif"] {
	background-repeat: no-repeat;
	background-color: #000000;
}

/* Ornamental rule down the people menu (170x900). */
body[background$="images/people_menu_tile.gif"] {
	background-repeat: no-repeat;
}

/* Header strips: each is a full banner - a ruled bar, a section title, or a
   leaf spray - sitting in a frame only 16-35px tall. Vertical repeat can
   never show; horizontal repeat would duplicate the artwork. */
body[background$="images/cast_head.gif"],
body[background$="images/char_head.gif"],
body[background$="images/filmmakers_head.gif"],
body[background$="images/historytop.gif"],
body[background$="images/houdini_top_tile.gif"],
body[background$="images/leafbordertop_tile.gif"] {
	background-repeat: no-repeat;
}

/* Same, but this page declares no BGCOLOR (1100x16). */
body[background$="fl_top.gif"] {
	background-repeat: no-repeat;
	background-color: #333300;
}
