File:  [LON-CAPA] / loncom / MathML / mathml.css
Revision 1.2: download - view: text, annotated - select for diffs
Thu Jan 30 22:14:42 2003 UTC (21 years, 11 months ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, conference_2003, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
- got rid of the 1cm border when a document is xml

/*
 * 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>
 */

body {
  background-color: white;
}

blockquote, dl {background-color: #FFFFEE}

doc{display: block; }

p {
display: block;
}

math, math[mode="inline"] {
  display: inline;
  font-family: Symbol, Times;
  font-style: normal;
/*   font-weight: bold; */
/*   font-size: 40pt; */
}

math[mode="display"] {
  display: block;
  margin-top: 0.75ex;
  padding-top: 0.75ex;
  margin-bottom: 0.75ex;
  padding-bottom: 0.75ex;
  margin-left: 25%;
  margin-right: 25%;
  text-align: center;
  font-family: Symbol, Times;
  font-style: normal;
  border: none;
  background-color: #F0F4FF;
/*   font-weight: bold; */
/*   font-size: 12pt; */
}

/* math[mode="display"] * {background-color: #EEEEFF} */


math[mode="display"] > mtable {
  text-color: blue;
}

*[fontstyle="normal"] {
  font-style: normal;
}

*[fontstyle="italic"] {
  font-style: italic;
}

*[fontweight="normal"] {
  font-weight: normal;
}

*[fontweight="bold"] {
  font-weight: bold;
}

/*
mmultiscripts {
   background-color: yellow;
}
*/

mtext {
   color: purple;
 /*  border: 1px solid purple; */
}

/*
mstyle {
   background-color: yellow;
   border: 1px solid black;
}
*/

ms {
   color: blue;
}

ms:before {
  content: open-quote;
}

ms:after {
  content: close-quote;
}

/*
mspace {
}
*/

/*
msqrt {
  border: 1px solid red;
}
*/

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: smaller; 
}


mn {
/*  border: 1px solid black; */
}


mi {
  color: red;
/*  font-style: normal; */
/*  border: 1px solid blue; */
/*  background-color: yellow; */
}


mo {
/*  font-style: normal; */
/*  border: 1px solid black; */
/*  background-color: blue; */
}


/*
munder, mover, munderover {
  background-color: yellow;
  border: 1px solid black;
}
*/

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: middle;
  background-color: inherit;
}

mi {
  font-style: italic;
}

mstyle[fontstyle="normal"] mi {
  font-style: normal;
}

:-moz-math-font-style-normal {
  font-style: normal;
}

/*
:-moz-math-font-style-italic {
  font-style: italic;
}
*/

:-moz-math-font-size-smaller {
  font-size: smaller;
}

:-moz-math-font-size-larger {
  font-size: larger;
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>