netsurf/!NetSurf/Resources/CSS,f79
Michael Drake 9bf9d64089 [project @ 2004-03-25 22:29:33 by tlsa]
Give text input and text area form items a RISC OS style

svn path=/import/netsurf/; revision=668
2004-03-25 22:29:33 +00:00

92 lines
3.3 KiB
Plaintext

address, blockquote, body, br, 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 { 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; }
h2 { font-size: x-large; }
h3 { font-size: large; font-weight: bold; }
h4 { font-size: medium; font-weight: bold; }
h5 { font-size: medium; font-style: italic; }
h6 { font-size: medium; font-style: italic; }
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; }
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; }
hr { background-color: #000; height: 1px; }
center { text-align: center; }
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; }