gecko-dev/layout/mathml/tests/mathml.css

171 строка
2.8 KiB
CSS

/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla MathML Project.
*
* The Initial Developer of the Original Code is The University Of
* Queensland. Portions created by The University Of Queensland are
* Copyright (C) 1999 The University Of Queensland. All Rights Reserved.
*
* Contributor(s):
* Roger B. Sidje <rbs@maths.uq.edu.au>
*/
p :
{
display: block;
}
math, math[mode="inline"] {
display: inline;
/* font-family: Times; */
font-style: normal;
/* font-weight: bold; */
font-size: 14pt;
}
math[mode="display"] {
display: block;
text-align: center;
/* font-family: Arial; */
font-style: normal;
/* font-weight: bold; */
font-size: 14pt;
}
/*
mmultiscripts {
background-color: yellow;
}
*/
mtext {
color: purple;
border: 1px solid purple;
}
ms {
color: blue;
}
ms:before {
content: open-quote;
}
ms:after {
content: close-quote;
}
/*
mspace {
}
*/
/*
mrow {
border: 1px solid black;
font-style: italic;
}
*/
/*
mphantom {
}
*/
mfrac {
/* background-color: blue; */
/* font-size: smaller */
/* border: 1px solid black; */
}
msub, msup {
/* background-color: yellow; */
/* border: 1px solid black; */
/* font-size: small; */
}
/*
mn {
}
*/
mi {
color: red;
/* font-style: normal; */
/* border: 1px solid blue; */
}
mo {
/* font-style: normal; */
/* border: 1px solid black; */
/* background-color: blue; */
}
merror {
display: block;
font-family: sans-serif;
font-weight: bold;
white-space: pre;
margin: 1em;
padding: 1em;
border-width: thin;
border-style: inset;
border-color: red;
font-size: 14pt;
background-color: lightyellow;
}
mtable {
/* display: inline-table; */
display: table;
/* border-style: outset; */
/* border-color: #c0c0c0; */
border-spacing: 0;
margin-top: 0;
margin-bottom: 0;
background: transparent;
}
/* must never set padding in td, th */
mtd {
vertical-align: inherit;
background-color: inherit;
text-align: center;
/* border-style: inset; */
/* border-color: #c0c0c0; */
display: table-cell;
}
mtr {
display: table-row;
vertical-align: inherit;
background-color: inherit;
valign: baseline;
}
:-moz-math-font-style-italic {
font-style: italic;
}
:-moz-math-font-style-normal {
font-style: normal;
}
:-moz-math-font-size-smaller {
font-size: smaller;
}
:-moz-math-font-size-larger {
font-size: larger;
}