gecko-dev/layout/style/ua.css
1998-07-15 17:07:00 +00:00

353 lines
5.3 KiB
CSS

/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
HTML {
}
BODY {
background: rgb(255,255,255);
color: black;
cursor: arrow;
display: block;
font-family: serif;
font-style: normal;
font-variant: normal;
font-weight: normal;
font-size: 11pt;
line-height: 1.1;
padding: 8px;
}
// Blocks
P {
display: block;
}
ADDRESS {
display: block;
font-style: italic;
}
BLOCKQUOTE {
display: block;
margin-left: .25in;
margin-right: .25in;
}
CENTER {
display: block;
text-align: center;
}
DIV {
display: block;
}
H1 {
display: block;
font-size: 22pt;
font-weight: bold;
}
H2 {
display: block;
font-size: 16pt;
font-weight: bold;
}
H3 {
display: block;
font-size: 13pt;
font-weight: bold;
}
H4 {
display: block;
font-size: 12pt;
font-weight: bold;
}
H5 {
display: block;
font-size: 9pt;
font-weight: bold;
}
H6 {
display: block;
font-size: 8pt;
font-weight: bold;
}
LAYER {
display: block;
position: absolute;
}
LISTING {
display: block;
font-family: monospace;
font-size: small;
white-space: pre;
}
PLAINTEXT, XMP, PRE {
display: block;
font-family: monospace;
white-space: pre;
}
MULTICOL {
display: block;
}
// Tables
TABLE {
display: table;
border-style: outset;
border-color: #C0C0C0;
cell-spacing: 4px;
margin-top: 0;
margin-bottom: 0;
}
TD, TH {
vertical-align: middle;
text-align: left;
border-style: inset;
border-color: #C0C0C0;
font-family: serif;
font-style: normal;
font-variant: normal;
font-weight: normal;
font-size: 11pt;
line-height: 1.1;
display: table-cell;
cursor: arrow;
}
TH {
font-weight: bold;
text-align: center;
}
CAPTION {
text-align: center;
display: table-caption;
}
TR {
display: table-row;
}
TBODY {
display: table-row-group;
}
THEAD {
display: table-header-group;
}
TFOOT {
display: table-footer-group;
}
COL {
display: table-column;
}
COLGROUP {
display: table-column-group;
}
// Spans
A:link {
display: inline;
color: blue;
text-decoration: underline;
cursor: hand;
}
A:visited {
display: inline;
color: purple;
text-decoration: underline;
cursor: hand;
}
A:active {
display: inline;
color: lime;
text-decoration: underline;
cursor: hand;
}
A:out-of-date {
display: inline;
color: red;
text-decoration: underline;
cursor: hand;
}
A:link IMG {
display: inline;
border: 2px solid blue;
text-decoration: underline;
}
A:visited IMG {
display: inline;
border: 2px solid purple;
text-decoration: underline;
}
A:active IMG {
display: inline;
border: 2px solid lime;
text-decoration: underline;
}
A:out-of-date IMG {
display: inline;
border: 2px solid red;
text-decoration: underline;
}
B, STRONG {
display: inline;
font-weight: bolder;
}
I, CITE, EM, VAR {
display: inline;
font-style: italic;
}
TT, CODE, KBD, SAMP {
display: inline;
font-family: monospace;
}
U {
display: inline;
text-decoration: underline;
}
S, STRIKE {
display: inline;
text-decoration: line-through;
}
BLINK {
display: inline;
text-decoration: blink;
}
BIG {
display: inline;
font-size: larger;
}
SMALL {
display: inline;
font-size: smaller;
}
ABBR, ACRONYM, DEL, DFN, INS, Q, SPAN {
display: inline;
}
SUB {
display: inline;
vertical-align: sub;
font-size: smaller;
}
SUP {
display: inline;
vertical-align: super;
font-size: smaller;
}
ILAYER {
position: absolute;
display: inline;
}
NOBR {
display: inline;
white-space: nowrap;
}
// Lists
UL {
display: block;
padding-left: 40px;
list-style-type: disc;
}
OL {
display: block;
padding-left: 40px;
list-style-type: decimal;
}
OL UL, UL UL {
list-style-type: circle;
}
UL UL UL, UL OL UL, OL UL UL, OL OL UL {
list-style-type: square;
}
LI {
display: list-item;
list-style-position: inside;
}
UL LI, OL LI {
list-style-position: outside;
}
UL UL, UL OL, OL UL, OL OL {
margin-top: 0;
margin-bottom: 0;
}
DL {
display: block;
}
DT {
display: block;
margin-bottom: 0;
}
DD {
display: block;
margin-top: 0;
margin-left: 40px;
}
// Leafs
APPLET {
display: inline;
}
EMBED {
display: inline;
}
OBJECT {
display: inline;
}
HR {
display: block;
margin-top: 0;
margin-bottom: 0;
text-align: center;
}
BR {
display: inline;
color: cyan;
}
IMG {
display: inline;
}
SPACER {
display: inline;
}
WBR {
display: inline;
}
IFRAME {
display: inline;
border: 1px solid black;
}
INPUT {
vertical-align: bottom;
font-family: "XXXHACK";
font-size: 100pt;
}
SELECT {
vertical-align: bottom;
font-family: "Times New Roman";
font-size: 10pt;
}
OPTION {
font-family: "Times New Roman";
font-size: 10pt;
}
TEXTAREA {
vertical-align: bottom;
font-family: "XXXHACK";
font-size: 100pt;
}