/**
 * $RCSfile: Text.css,v $ $Revision: 1.7 $ $Date: 2007/03/26 03:06:43 $
 *
 * Copyright 2007 Olaf Havnes. All Rights Reserved.
 * http://www.havnes.com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

/**
 * Style a box containing lots of text.
 *
 * @author      Olaf Havnes
 * @version     $Revision: 1.7 $ $Date: 2007/03/26 03:06:43 $
 */


/* A serifed font for reading*/
*.textBox
{
    font-family: Georgia, serif;
    font-size: 0.95em;
    clear: both;
}


/* Turn the headers back */
*.textBox h1, *.textBox h2, *.textBox h3
{
    font-family: verdana, sans-serif;
    font-size: 2.0em;
    font-weight: bold;
    text-transform: uppercase;
}



/* Build a section marker */
*.textBox hr
{
    width: 3.0em;
    height: 1px;

    margin: 1.5em auto 2.0em auto;
    padding: 0;

    position: relative;
    left: -2.0em;

    border: 0;
    color: #000000;
    background-color: #000001;
}


/* Hilight the first line in a new section - except for quotes */
*.textBox p:first-line
{
    font-variant: small-caps;
    font-weight: bold;
}

*.textBox p.snippet:first-line, *.textBox p.quote:first-line, *.textBox p + p:first-line, *.textBox ul + p:first-line
{
    font-variant: normal;
    font-weight: normal;
}

*.textBox p.snippet + p:first-line
{
    font-variant: small-caps;
    font-weight: bold;
}


/* Tighten up the list */
*.textBox ul
{
    padding-left: 1.5em;
    padding-right: 1.0em;
}

*.textBox li
{
    list-style-type: disc;
    padding-bottom: 0.25em;
}


/* Align across the top */
*.textBox *:first-child
{
    padding-top: 0;
    margin-top: 0;
}


*.textBox a
{
    color: #551010;
    background-color: #f0f0e0;
}

*.textBox a:hover
{
    color: #000000;
    background-color: #ffffff;
}
