/* undohtml.css
 *
 * Purpose: undo some of the default styling of common (X)HTML browsers
 *
 * (CC) 2004 Tantek Celik. Some Rights Reserved.
 * http://creativecommons.org/licenses/by/2.0
 * This style sheet is licensed under a Creative Commons License.
 *
 * NOTE: I have made some changes to this sheet, as discussed in E. Meyer's
 *       weblog. To find the original CSS, plus a really good CSS-thread, go
 *       to:
 * 	 http://www.meyerweb.com/eric/thoughts/2004/09/15/emreallyem-undoing-htmlcss/
 *
 *	 J. Javier Maestro <jjmaestro@computer.org>
 */


/* Set base font attributes */
html, body {
  font: 14px/1.5em "trebuchet ms", Tahoma, Arial, Helvetica, sans-serif;
  color: black;
}

/* Sort out font sizes */
*     { font-size: 100%;   }
h1    { font-size: 2.00em; }
h2    { font-size: 1.75em; }
h3    { font-size: 1.50em; }
h4    { font-size: 1.20em; }
h5    { font-size: 1.10em; }
h6    { font-size: 1.00em; }
pre, 
code, 
tt    { font-size: 0.9em; }
small { font-size: 0.85em; }
big   { font-size: 1.15em; }
sup   { font-size: smaller; vertical-align: 0.5em; line-height: 1px; }




/* Reset margin/padding values */
/* remove the inconsistent (among browsers) default ul,ol padding or margin  */
/* the default spacing on headings does not match nor align with 
   normal interline spacing at all, so let's get rid of it. */
/* zero out the spacing around pre, form, body, html, p, blockquote as well */
/* form elements are oddly inconsistent, and not quite CSS emulatable. */
/*  nonetheless strip their margin and padding as well */
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, li, dd, dt, img,
blockquote, q, table, thead, tbody, tfoot, caption, th, tr, td, a, form,
input, textarea, fieldset, pre, code
{ margin: 0; padding: 0; }


/* Harmonize links, kill borders on img links */
a { text-decoration: underline; }

a:link, a:visited { color: #00f; }
/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration: none; }

a:hover  { color: #33f; }
a:active { color: #fff; }
a img, :link img, :visited img { border: none; }


/* Remove browser-default table borders */
table { border-collapse: collapse; }


/* Remove automatic top/bottom margins on nested lists */
ul ul, ul ol, ul dir, ul menu, ul dl,
ol ul, ol ol, ol dir, ol menu, ol dl,
dir ul, dir ol, dir dir, dir menu, dir dl,
menu ul, menu ol, menu dir, menu menu, menu dl,
dl ul, dl ol, dl dir, dl menu, dl dl
{ margin-top: 0; margin-bottom: 0; }


/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style: none; }


/* de-italicize address */
address { font-style: normal; }

