/* undohtml.css */ /* (CC) 2004 Tantek Celik. Some Rights Reserved. */ /* http://creativecommons.org/licenses/by/2.0 */ /* This style sheet is licensed under a Creative Commons License. */ /* Purpose: undo some of the default styling of common (X)HTML browsers */ /* link underlines tend to make hypertext less readable, because underlines obscure the shapes of the lower halves of words */ :link,:visited { text-decoration:none } /* no list-markers by default, since lists are used more often for semantics */ ul,ol { list-style:none } /* avoid browser default inconsistent heading font-sizes */ /* and pre/code too */ h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; } /* 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 */ ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input { margin:0; padding:0 } /* whoever thought blue linked image borders were a good idea? */ a img,:link img,:visited img { border:none; font-weight: normal; } /* more varnish stripping as necessary... */ h1 {font-size: 1.5em;} h2 {font-size: 1.4em;} h3 {font-size: 1.3em;} h4 {font-size: 1.2em;} h5 {font-size: 1.1em;} h6 {font-size: 1em;} * { margin: 0; padding: 0; font-family: helvetica, arial, geneva, verdana, sans-serif; font-size: 12px; line-height: 1.5em; } body { background-image: url(img/margen.jpg); background-repeat: no-repeat; background-attachment: fixed; } div#menu { margin-left: 120px; } div#menu ul { padding: 15px; text-align: right; } div#menu ul li { display: inline; } div#menu ul li a { font-size: 15px; padding: 10px; color: #6699CC; } div#menu ul li a:hover { font-size: 15px; padding: 10px; background-color: #6699CC; color: #fff; } div#titulo { margin-right: 150px; margin-left: 120px; background-color: #CCCC66; } div#titulo h1 { font-size: 22px; line-height: 23px; text-align: right; padding: 37px 15px 15px 15px; font-weight: normal; color: #fff; } div#destacada { margin-top: 15px; margin-right: 150px; margin-left: 120px; margin-bottom: 15px; } div#destacada h2 { float: left; width: 105px; font-weight: normal; line-height: 1em; text-align: right; clear: left; } div#destacada h3 { width: 105px; font-weight: normal; text-align: right; line-height: 1em; color: #003399; clear: left; } div#destacada h4 { width: 105px; font-weight: normal; text-align: right; line-height: 1em; color: #0066CC; clear: left; } div#destacada h5 { margin-left: 120px; margin-bottom: .5em; margin-right: 15px; line-height: 1em; color: #0066CC; } div#destacada p { margin-left: 120px; margin-bottom: .5em; margin-right: 15px; } div#destacada blockquote { margin-bottom: .5em; margin-left: 120px; margin-right: 30px; padding-left: 30px; font-style: italic; } div#destacada ul, div#destacada ol { margin-bottom: .5em; margin-left: 120px; margin-right: 15px; list-style: square; padding-left: 15px; } div#destacada ol { list-style: decimal; } div#destacada p img { width: 100%; } div#destacada a { color: #003399; } div#destacada a:hover { background-color: #003399; color: #fff; } div#destacada div.comentario { background-color: #eee; margin-left: 120px; clear: left; } div#destacada div.comentario h4 { background-color: #ddd; line-height: 1.5em; color: #444; } div#destacada form { background-color: #eee; margin-left: 120px; padding: 15px 0; } div#destacada form p { color: #444; } div#destacada form input, div#destacada form textarea{ padding: 2px; border: 1px solid #ddd; margin-right: 15px; width: 50%; } div#destacada form textarea{ width: 100%; } div#destacada form h4 { font-size: 1em; padding: 2px; } div#destacada form input.boton { width: auto; background-color: #fff; margin: 0; } div#destacada form input.boton:hover { color: #FFFFFF; background-color: #003399; } div#destacada p.ampliar { background-color: #ddd; padding: 5px; text-align: right; font-size: 10px; color: #444; } div#destacada table { border-collapse: collapse; margin: 15px; margin-left: 120px; } div#destacada table tr { } div#destacada table td, div#destacada table th { padding: 5px 10px; margin: 0; } div#destacada table th { background-color: #ddd; font-weight: normal; } div#titulares { margin-right: 150px; margin-left: 120px; margin-top: 60px; clear: left; } div#titulares ul{ margin-top: 15px; margin-left: 120px; } div#titulares ul li { } div#titulares ul li a{ color: #444; padding: 5px; padding-left: 15px; display: block; } div#titulares ul li a:hover{ background-image: url(img/index.jpg); background-repeat: no-repeat; background-position: left center; } div#derecha { width: 150px; float: right; padding: 0; } div#derecha h1 { font-size: 22px; line-height: 23px; text-align: right; padding: 37px 15px 15px 15px; font-weight: normal; color: #fff; background-color: #6699CC; } div#derecha h2 { line-height: 110%; text-align: right; padding: 30px 15px 15px 15px; font-weight: normal; color: #6699CC; } div#derecha p { padding: 30px 15px 15px 15px; color: #444; } div#derecha p a { color: #444; } div#derecha p a:hover { color: #000; } div#derecha ul { } div#derecha ul li { } div#derecha ul li a { display: block; padding: 7px 30px 7px 15px; color: #555; } div#derecha ul li a:hover { background-image: url(img/link.jpg); background-repeat: repeat-y; }