mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-01 18:37:10 +03:00
dc937fe9ba
Implement <br> properly by adding BOX_BR; fix box tree normalisation bugs. svn path=/import/netsurf/; revision=791
95 lines
3.5 KiB
Plaintext
95 lines
3.5 KiB
Plaintext
address, blockquote, body, center, dd, div,
|
|
dl, dt, fieldset, form,
|
|
h1, h2, h3, h4, h5, h6, html,
|
|
ol, p, ul,
|
|
hr, menu, pre { display: block }
|
|
/* a, abbr, acronym, b, code,
|
|
em, i, q, s, strong, u, font, span,
|
|
var { display: inline } */
|
|
li { display: /* list-item */ block }
|
|
head, noframes { display: none }
|
|
table { display: table }
|
|
tr { display: table-row }
|
|
thead { display: table-header-group }
|
|
tbody { display: table-row-group }
|
|
tfoot { display: table-footer-group }
|
|
col { display: table-column }
|
|
colgroup { display: table-column-group }
|
|
td, th { display: table-cell }
|
|
caption { display: table-caption }
|
|
img { color: #888; }
|
|
|
|
h1 { font-size: xx-large; font-weight: bold; margin: 0.58em 0; }
|
|
h2 { font-size: x-large; margin: 0.69em 0; }
|
|
h3 { font-size: large; font-weight: bold; margin: 0.83em 0; }
|
|
h4 { font-size: medium; font-weight: bold; margin: 1em 0; }
|
|
h5 { font-size: medium; font-style: italic; margin: 1em 0; }
|
|
h6 { font-size: medium; font-style: italic; margin: 1em 0; }
|
|
b, strong { font-weight: bold; }
|
|
i, cite, dfn, em, var, address { font-style: italic; }
|
|
u { text-decoration: underline; }
|
|
s { text-decoration: line-through; }
|
|
ins { color: green; }
|
|
del { color: red; text-decoration: line-through; }
|
|
a:link { color: #00f; text-decoration: underline; }
|
|
th { font-weight: bold; }
|
|
td { text-align: left; }
|
|
|
|
body { margin: 5px; }
|
|
p { margin-top: 1em; margin-bottom: 1em; }
|
|
|
|
/* kludge until this gets implemented */
|
|
dl, ul, ol { padding-left: 0.5em; }
|
|
li, dd { padding-left: 1em; margin-bottom: 0.3em; }
|
|
|
|
blockquote { margin: 1em; }
|
|
hr { background-color: #000; height: 1px; }
|
|
|
|
center { text-align: center; }
|
|
center * { margin-left: auto; margin-right: auto; }
|
|
small { font-size: smaller; }
|
|
big { font-size: larger; }
|
|
input { background-color: #fff; color: #000; width: 10em;
|
|
height: 1.5em; text-align: left; border-width: 1px;
|
|
border-color: #000; border-style: solid; }
|
|
select { background-color: #ddd; color: #000; width: 10em;
|
|
height: 1.5em; text-align: left; border-width: medium;
|
|
border-color: #aaa #eee #eee #aaa; border-style: inset; }
|
|
textarea { background-color: #fff; color: #000; text-align: left;
|
|
border-width: 1px; border-color: #000; border-style: solid; }
|
|
input[type=button], input[type=reset], input[type=submit], button {
|
|
background-color: #ddd; color: #000; width: auto;
|
|
border-width: medium; border-color: #eee #aaa #aaa #eee;
|
|
border-style: outset; height: auto; text-align: center;}
|
|
input[type=image] { background-color: #ddd; color: #000; width: auto;
|
|
height: auto; }
|
|
input[type=checkbox], input[type=radio] { background-color: transparent;
|
|
width: 22px; height: 22px; }
|
|
|
|
[align=left] { text-align: left; }
|
|
[align=center] { text-align: center; }
|
|
[align=right] { text-align: right; }
|
|
img[align=left], table[align=left] { float: left; }
|
|
img[align=right], table[align=right] { float: right; text-align: left; }
|
|
|
|
br[clear=all] { clear: both; }
|
|
br[clear=left] { clear: left; }
|
|
br[clear=right] { clear: right; }
|
|
|
|
font[size="1"] { font-size: x-small; }
|
|
font[size="2"] { font-size: small; }
|
|
font[size="3"] { font-size: medium; }
|
|
font[size="4"] { font-size: large; }
|
|
font[size="5"] { font-size: x-large; }
|
|
font[size="6"] { font-size: xx-large; }
|
|
font[size="7"] { font-size: xx-large; }
|
|
font[size="-1"] { font-size: smaller; }
|
|
font[size="+1"] { font-size: larger; }
|
|
|
|
td[nowrap], th[nowrap] { white-space: nowrap; }
|
|
|
|
code, kbd, pre, samp, tt { font-family: monospace; }
|
|
abbr, acronym { font-variant: small-caps; }
|
|
|
|
pre { white-space: pre; }
|