2004-07-23 20:16:51 +04:00
|
|
|
/*
|
|
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
|
|
*/
|
2004-08-01 17:08:19 +04:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
/* Elements ordered as in the HTML 4.01 specification. */
|
|
|
|
|
|
|
|
html { display: block; }
|
|
|
|
|
|
|
|
head { display: none; }
|
|
|
|
|
2005-01-11 00:35:34 +03:00
|
|
|
body { display: block; padding: 5px; }
|
2004-07-23 20:16:51 +04:00
|
|
|
|
|
|
|
div { display: block; }
|
|
|
|
div[align=left] > * { margin-right: auto; }
|
|
|
|
div[align=center] > * { margin-left: auto; margin-right: auto; }
|
|
|
|
div[align=right] > * { margin-left: auto; }
|
|
|
|
|
|
|
|
h1 { display: block; font-size: xx-large; font-weight: bold; margin: 0.58em 0; }
|
|
|
|
h2 { display: block; font-size: x-large; margin: 0.69em 0; }
|
|
|
|
h3 { display: block; font-size: large; font-weight: bold; margin: 0.83em 0; }
|
|
|
|
h4 { display: block; font-size: medium; font-weight: bold; margin: 1em 0; }
|
|
|
|
h5 { display: block; font-size: medium; font-style: italic; margin: 1em 0; }
|
|
|
|
h6 { display: block; font-size: medium; font-style: italic; margin: 1em 0; }
|
|
|
|
|
|
|
|
address { display: block; font-style: italic; }
|
|
|
|
|
|
|
|
em { font-style: italic; }
|
|
|
|
strong { font-weight: bold; }
|
|
|
|
dfn { font-style: italic; text-decoration: underline; }
|
|
|
|
code { font-family: monospace; }
|
|
|
|
samp { font-family: monospace; }
|
|
|
|
kbd { font-family: monospace; font-weight: bold; }
|
|
|
|
var { font-style: italic; }
|
|
|
|
cite { font-weight: bold; }
|
|
|
|
abbr { font-variant: small-caps; }
|
|
|
|
acronym { font-variant: small-caps; }
|
|
|
|
|
|
|
|
blockquote { display: block; margin: 1em; }
|
|
|
|
|
|
|
|
q { font-style: italic; }
|
|
|
|
|
|
|
|
sub { vertical-align: sub; font-size: 0.8em; }
|
|
|
|
sup { vertical-align: super; font-size: 0.8em; }
|
|
|
|
|
|
|
|
p { display: block; margin-top: 1em; margin-bottom: 1em; }
|
|
|
|
|
|
|
|
br[clear=left] { clear: left; }
|
|
|
|
br[clear=right] { clear: right; }
|
|
|
|
br[clear=all] { clear: both; }
|
|
|
|
|
|
|
|
pre { display: block; font-family: monospace; white-space: pre; }
|
|
|
|
|
|
|
|
ins { color: green; text-decoration: underline; }
|
2004-01-26 04:24:32 +03:00
|
|
|
del { color: red; text-decoration: line-through; }
|
2004-07-23 20:16:51 +04:00
|
|
|
|
|
|
|
ul { display: block; padding-left: 0.5em; }
|
|
|
|
ol { display: block; padding-left: 0.5em; }
|
|
|
|
li { display: block; padding-left: 1em; margin-bottom: 0.3em; }
|
|
|
|
|
|
|
|
dl { display: block; padding-left: 0.5em; }
|
|
|
|
dt { display: block; font-weight: bold; }
|
|
|
|
dd { display: block; padding-left: 1em; margin-bottom: 0.3em; }
|
|
|
|
|
|
|
|
dir { display: block; padding-left: 0.5em; }
|
|
|
|
menu { display: block; padding-left: 0.5em; }
|
|
|
|
|
|
|
|
table { display: table; }
|
|
|
|
table[align=left] { float: left; }
|
|
|
|
table[align=center] { margin-left: auto; margin-right: auto; text-align: left; }
|
|
|
|
table[align=right] { float: right; text-align: left; }
|
|
|
|
|
|
|
|
caption { display: table-caption; }
|
|
|
|
|
2005-01-11 00:35:34 +03:00
|
|
|
thead { display: table-header-group; vertical-align: middle; }
|
|
|
|
tfoot { display: table-footer-group; vertical-align: middle; }
|
|
|
|
tbody { display: table-row-group; vertical-align: middle; }
|
2004-07-23 20:16:51 +04:00
|
|
|
|
|
|
|
colgroup { display: table-column-group; }
|
|
|
|
col { display: table-column; }
|
|
|
|
|
2005-01-11 00:35:34 +03:00
|
|
|
tr { display: table-row; vertical-align: middle; }
|
2005-01-13 03:11:41 +03:00
|
|
|
th { display: table-cell; font-weight: bold; vertical-align: inherit; }
|
|
|
|
td { display: table-cell; text-align: left; vertical-align: inherit; }
|
2004-07-23 20:16:51 +04:00
|
|
|
th[nowrap], td[nowrap] { white-space: nowrap; }
|
|
|
|
|
2005-01-11 00:43:57 +03:00
|
|
|
col[valign=top], colgroup[valign=top], tbody[valign=top], td[valign=top], tfoot[valign=top], th[valign=top], thead[valign=top], tr[valign=top] { vertical-align: top; }
|
|
|
|
col[valign=middle], colgroup[valign=middle], tbody[valign=middle], td[valign=middle], tfoot[valign=middle], th[valign=middle], thead[valign=middle], tr[valign=middle] { vertical-align: middle; }
|
|
|
|
col[valign=bottom], colgroup[valign=bottom], tbody[valign=bottom], td[valign=bottom], tfoot[valign=bottom], th[valign=bottom], thead[valign=bottom], tr[valign=bottom] { vertical-align: bottom; }
|
|
|
|
|
2005-01-11 17:20:54 +03:00
|
|
|
tr[align=left] > td, tr[align=left] > th { text-align: left; }
|
|
|
|
tr[align=center] > td, tr[align=center] > th { text-align: center; }
|
|
|
|
tr[align=right] > td, tr[align=right] > th { text-align: right; }
|
2005-01-11 00:43:57 +03:00
|
|
|
|
2003-10-18 03:59:23 +04:00
|
|
|
a:link { color: #00f; text-decoration: underline; }
|
2002-10-15 15:09:56 +04:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
img { color: #888; }
|
|
|
|
img[align=left] { float: left; }
|
|
|
|
img[align=right] { float: right; }
|
2004-02-20 03:42:36 +03:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
object[align=left] { float: left; }
|
|
|
|
object[align=right] { float: right; }
|
2004-02-02 04:38:54 +03:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
applet[align=left] { float: left; }
|
|
|
|
applet[align=right] { float: right; }
|
2003-01-06 03:02:52 +03:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
center { display: block; text-align: center; }
|
|
|
|
center > * { margin-left: auto; margin-right: auto; }
|
2004-07-25 05:27:16 +04:00
|
|
|
center > * > * { margin-left: auto; margin-right: auto; }
|
2004-07-23 20:16:51 +04:00
|
|
|
|
|
|
|
tt { font-family: monospace; }
|
|
|
|
i { font-style: italic; }
|
|
|
|
b { font-weight: bold; }
|
2003-09-20 03:36:17 +04:00
|
|
|
big { font-size: larger; }
|
2004-07-23 20:16:51 +04:00
|
|
|
small { font-size: smaller; }
|
|
|
|
strike, s { text-decoration: line-through; }
|
|
|
|
u { text-decoration: underline; }
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
|
|
hr { display: block; background-color: #000; height: 1px; }
|
|
|
|
hr[align=left] { margin-right: auto; }
|
|
|
|
hr[align=center] { margin-left: auto; margin-right: auto; }
|
|
|
|
hr[align=right] { margin-left: auto; }
|
|
|
|
|
|
|
|
noframes { display: none; }
|
|
|
|
|
|
|
|
iframe[align=left] { float: left; }
|
|
|
|
iframe[align=right] { float: right; }
|
|
|
|
|
|
|
|
form { display: block; }
|
2004-08-01 17:08:19 +04:00
|
|
|
form > * { margin-left: inherit; margin-right: inherit; }
|
2004-07-23 20:16:51 +04:00
|
|
|
|
2004-03-26 01:29:33 +03:00
|
|
|
input { background-color: #fff; color: #000; width: 10em;
|
2004-04-02 22:13:23 +04:00
|
|
|
height: 1.5em; text-align: left; border-width: 1px;
|
2004-08-01 17:08:19 +04:00
|
|
|
border-color: #000; border-style: solid; overflow: hidden;
|
|
|
|
padding: 0 2px; }
|
2004-03-24 13:26:48 +03:00
|
|
|
input[type=button], input[type=reset], input[type=submit], button {
|
2004-10-20 02:31:25 +04:00
|
|
|
background-color: #d9d9d9; color: #000; width: auto;
|
|
|
|
border-width: medium; border-color: #d9d9d9;
|
2004-03-24 13:26:48 +03:00
|
|
|
border-style: outset; height: auto; text-align: center;}
|
2004-11-23 21:32:28 +03:00
|
|
|
input[type=image] { background-color: transparent; color: #000; width: auto;
|
2003-09-28 21:37:43 +04:00
|
|
|
height: auto; }
|
|
|
|
input[type=checkbox], input[type=radio] { background-color: transparent;
|
2004-04-22 01:37:32 +04:00
|
|
|
padding: 0 0.1em; border: 0; width: 1em; height: 1em; }
|
2004-10-20 02:31:25 +04:00
|
|
|
input[type=file] { background-color: #d9d9d9; color: #000;
|
|
|
|
border-width: medium; border-color: #d9d9d9;
|
2004-05-04 02:05:40 +04:00
|
|
|
border-style: inset; width: 10em; height: 1.5em;
|
|
|
|
font-style: italic; }
|
2004-07-23 20:16:51 +04:00
|
|
|
input[align=left] { float: left; }
|
|
|
|
input[align=right] { float: right; }
|
2003-09-28 21:37:43 +04:00
|
|
|
|
2004-10-20 02:31:25 +04:00
|
|
|
select { background-color: #d9d9d9; color: #000; width: 10em;
|
2004-07-23 20:16:51 +04:00
|
|
|
height: 1.5em; text-align: left; border-width: medium;
|
2004-10-20 02:31:25 +04:00
|
|
|
border-color: #d9d9d9; border-style: inset;
|
2004-08-01 17:08:19 +04:00
|
|
|
overflow: hidden; padding: 0 2px; }
|
2003-09-27 03:22:00 +04:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
textarea { background-color: #fff; color: #000; text-align: left;
|
2004-08-01 17:08:19 +04:00
|
|
|
border-width: 1px; border-color: #000; border-style: solid;
|
|
|
|
overflow: scroll; padding: 0 2px; }
|
2003-10-10 22:47:04 +04:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
fieldset { display: block; border: thin solid #888; }
|
2004-01-29 00:48:10 +03:00
|
|
|
|
2004-01-29 02:49:56 +03:00
|
|
|
|
2004-07-23 20:16:51 +04:00
|
|
|
[align=left] { text-align: left; }
|
|
|
|
[align=center] { text-align: center; }
|
|
|
|
[align=right] { text-align: right; }
|