gecko-dev/layout/style/ua.css

372 строки
5.4 KiB
CSS
Исходник Обычный вид История

1998-04-14 00:24:54 +04:00
/*
* 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.
*/
1998-07-13 23:49:53 +04:00
HTML {
}
1998-04-14 00:24:54 +04:00
BODY {
background: rgb(255,255,255); // XXX this needs to go away
1998-04-26 07:47:06 +04:00
cursor: arrow;
1998-07-13 23:49:53 +04:00
display: block;
1998-07-31 09:58:13 +04:00
line-height: 1.1; // XXX should this come from pres context?
1998-07-13 23:49:53 +04:00
padding: 8px;
}
1998-04-14 00:24:54 +04:00
1998-07-13 23:49:53 +04:00
// Blocks
1998-04-14 00:24:54 +04:00
1998-07-13 23:49:53 +04:00
P {
1998-04-14 00:24:54 +04:00
display: block;
}
ADDRESS {
display: block;
font-style: italic;
}
BLOCKQUOTE {
display: block;
margin-left: .25in;
margin-right: .25in;
}
CENTER {
display: block;
text-align: center;
margin-bottom: 0;
margin-top: 0;
1998-04-14 00:24:54 +04:00
}
DIV {
display: block;
}
H1 {
display: block;
font-size: x-large;
1998-04-14 00:24:54 +04:00
font-weight: bold;
}
H2 {
display: block;
font-size: large;
1998-04-14 00:24:54 +04:00
font-weight: bold;
}
H3 {
display: block;
font-size: medium;
1998-04-14 00:24:54 +04:00
font-weight: bold;
}
H4 {
display: block;
font-size: small;
1998-04-14 00:24:54 +04:00
font-weight: bold;
}
H5 {
display: block;
font-size: x-small;
1998-04-14 00:24:54 +04:00
font-weight: bold;
}
H6 {
display: block;
font-size: xx-small;
1998-04-14 00:24:54 +04:00
font-weight: bold;
}
LAYER {
display: block;
position: absolute;
}
1998-04-14 00:24:54 +04:00
LISTING {
display: block;
font-family: monospace;
font-size: small;
white-space: pre;
}
PLAINTEXT, XMP, PRE {
1998-07-13 23:49:53 +04:00
display: block;
1998-04-14 00:24:54 +04:00
font-family: monospace;
white-space: pre;
}
1998-07-13 23:49:53 +04:00
MULTICOL {
display: block;
}
// Tables
1998-04-14 00:24:54 +04:00
TABLE {
display: table;
1998-04-14 00:24:54 +04:00
border-style: outset;
border-color: #C0C0C0;
cell-spacing: 2px;
cell-padding: 2px;
margin-top: 0;
margin-bottom: 0;
1998-04-14 00:24:54 +04:00
}
TD, TH {
1998-04-14 00:24:54 +04:00
vertical-align: middle;
text-align: left;
1998-04-14 00:24:54 +04:00
border-style: inset;
border-color: #C0C0C0;
line-height: 1.1;
display: table-cell;
cursor: arrow;
1998-04-14 00:24:54 +04:00
}
TH {
font-weight: bold;
text-align: center;
1998-04-14 00:24:54 +04:00
}
1998-04-25 22:41:41 +04:00
CAPTION {
text-align: center;
display: table-caption;
1998-04-25 22:41:41 +04:00
}
1998-07-13 23:49:53 +04:00
TR {
display: table-row;
1998-05-20 20:28:19 +04:00
}
1998-07-13 23:49:53 +04:00
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
1998-04-25 22:41:41 +04:00
1998-07-13 23:49:53 +04:00
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;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 23:49:53 +04:00
}
A:visited IMG {
display: inline;
border: 2px solid purple;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 23:49:53 +04:00
}
A:active IMG {
display: inline;
border: 2px solid lime;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 23:49:53 +04:00
}
A:out-of-date IMG {
display: inline;
border: 2px solid red;
font-family: sans-serif;
font-size: 8.5pt;
text-decoration: none;
1998-07-13 23:49:53 +04:00
}
1998-04-14 00:24:54 +04:00
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 {
1998-04-14 00:24:54 +04:00
display: inline;
}
SUB {
display: inline;
vertical-align: sub;
1998-06-29 20:10:41 +04:00
font-size: smaller;
1998-04-14 00:24:54 +04:00
}
SUP {
display: inline;
vertical-align: super;
1998-06-29 20:10:41 +04:00
font-size: smaller;
1998-04-14 00:24:54 +04:00
}
ILAYER {
position: absolute;
display: inline;
}
1998-07-13 23:49:53 +04:00
NOBR {
display: inline;
white-space: nowrap;
}
// Lists
UL {
display: block;
1998-07-13 23:49:53 +04:00
padding-left: 40px;
list-style-type: disc;
}
OL {
display: block;
1998-07-13 23:49:53 +04:00
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
EMBED {
display: inline;
}
1998-07-13 23:49:53 +04:00
HR {
display: block;
1998-07-15 21:07:00 +04:00
margin-top: 0;
margin-bottom: 0;
text-align: center;
1998-07-13 23:49:53 +04:00
}
BR {
display: inline;
vertical-align: bottom;
1998-07-13 23:49:53 +04:00
color: cyan;
}
IMG {
display: inline;
font-family: sans-serif;
font-size: 8.5pt;
1998-07-13 23:49:53 +04:00
}
SPACER {
display: inline;
}
WBR {
display: inline;
}
IFRAME {
display: inline;
border: 2px solid black;
1998-07-13 23:49:53 +04:00
}
INPUT {
vertical-align: bottom;
}
SELECT {
vertical-align: bottom;
}
OPTION {
}
TEXTAREA {
vertical-align: bottom;
}
// Misc
APPLET {
display: inline;
}
AREA {
display: none;
}
HEAD {
display: none;
}
MAP {
display: none;
}
META {
display: none;
}
OBJECT {
display: inline;
}
1998-09-04 02:23:22 +04:00
SCRIPT {
display: none;
}
STYLE {
display: none;
}
TITLE {
display: none;
}