/* * A CSS stylesheet for XHTML 1.0 *Strict DTD* * * A basic (default) CSS for XXE and eclipseos2 project * * Changed from xhtml.css a bit (some bugs fixed and made more * comparable with Mozila defaults). * * Since XXE needs all elements to be defined explictly (but * browsers can interpret this definition in the other way) * we make a separate (more narrow) CSS for browser and just paste * it at the end of the file to simplify the synchronization of * updates. * */ html, head, body, div, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, address, hr, pre, blockquote { display: block; } title { display: none; } /* base, meta, link, style, script, noscript { display: tree; } */ object, param, map, area, form, label, input, select, optgroup, option, textarea, fieldset, legend, button { display: tree; } /* * By default these elements are displayed inline: * * a, * span, * bdo, * br, * em, strong, * dfn, * code, * samp, * kbd, * var, * cite, * abbr, acronym, * q, * sub, sup, * tt, i, b, * big, small, * img */ /* * Title styles */ h1, h2, h3, h4, h5, h6 { font-weight: bold; } h1 { font-size: 2em; margin-top: 1.33ex; margin-bottom: 1.33ex; } h2 { font-size: 1.5em; margin-top: 1.33ex; margin-bottom: 1.33ex; } h3 { font-size: 1.17em; margin-top: 1.33ex; margin-bottom: 1.33ex; } h4, h5, h6 { font-size: 1em; margin-top: 1.33ex; margin-bottom: 1.33ex; } /* * Table style */ table { display: table; border: 1px outset gray; /* border-spacing: 0; */ margin-top: 1.33ex; margin-bottom: 1.33ex; } caption { display: table-caption; font-style: italic; text-align: center; margin-left: 2ex; margin-right: 2ex; margin-top: 2px; margin-bottom: 2px; } colgroup { display: table-column-group; } col { display: table-column; } thead, tbody, tfoot { display: table-row-group; text-align: eval(attr(align)); } tr { display: table-row; text-align: eval(attr(align)); } td, th { display: table-cell; text-align: eval(attr(align)); vertical-align: eval(attr(valign)); row-span: eval(attr(rowspan)); column-span: eval(attr(colspan)); border: 1px inset gray; padding: 2px; } th { font-weight: bold; } /* * Block styles */ p { margin-top: 1.33ex; margin-bottom: 1.33ex; } ul { margin-left: 2ex; margin-top: 1.33ex; margin-bottom: 1.33ex; } ul > li { margin-left: 2.5ex; } ul > li:before { display: marker; content: disc; } ul > li ul > li:before { display: marker; content: square; } ul > li ul > li ul > li:before { display: marker; content: icon(diamond); } ul > li ul > li ul > li ul > li:before { display: marker; content: circle; } ol { margin-left: 2ex; margin-top: 1.33ex; margin-bottom: 1.33ex; } ol > li { margin-left: 6ex; } ol > li:before { display: marker; content: counter(n, decimal); font-weight: bold; } ol[style~=lower-alpha] > li:before { display: marker; content: counter(n, lower-alpha); } ol[style~=upper-alpha] > li:before { display: marker; content: counter(n, upper-alpha); } ol[style~=lower-roman] > li:before { display: marker; content: counter(n, lower-roman); } ol[style~=upper-roman] > li:before { display: marker; content: counter(n, upper-roman); } ol ul, ul ol, ul ul, ol ol { margin-top: 0; margin-bottom: 0; } dl { /* margin-left: 2ex;*/ margin-top: 1.33ex; /* margin-bottom: 1.33ex;*/ } dt { font-weight: bold; } dd { margin-left: 4ex; margin-bottom: 1.33ex; } pre { white-space: pre; font-family: monospace; font-size: 1em; margin-top: 1.33ex; margin-bottom: 1.33ex; } blockquote { margin-left: 40px; margin-right: 40px; margin-top: 1.33ex; margin-bottom: 1.33ex; } address { font-style: italic; } hr { content: icon(invisible) icon(invisible); border: 2px inset gray; } /* Wrap