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, 3 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_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

    1: /*
    2:  * The contents of this file are subject to the Mozilla Public
    3:  * License Version 1.1 (the "License"); you may not use this file
    4:  * except in compliance with the License. You may obtain a copy of
    5:  * the License at http://www.mozilla.org/MPL/
    6:  *
    7:  * Software distributed under the License is distributed on an "AS
    8:  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    9:  * implied. See the License for the specific language governing
   10:  * rights and limitations under the License.
   11:  *
   12:  * The Original Code is Mozilla MathML Project.
   13:  *
   14:  * The Initial Developer of the Original Code is The University Of
   15:  * Queensland.  Portions created by The University Of Queensland are
   16:  * Copyright (C) 1999 The University Of Queensland.  All Rights Reserved.
   17:  *
   18:  * Contributor(s):
   19:  *   Roger B. Sidje <rbs@maths.uq.edu.au>
   20:  */
   21: 
   22: body {
   23:   background-color: white;
   24: }
   25: 
   26: blockquote, dl {background-color: #FFFFEE}
   27: 
   28: doc{display: block; }
   29: 
   30: p {
   31: display: block;
   32: }
   33: 
   34: math, math[mode="inline"] {
   35:   display: inline;
   36:   font-family: Symbol, Times;
   37:   font-style: normal;
   38: /*   font-weight: bold; */
   39: /*   font-size: 40pt; */
   40: }
   41: 
   42: math[mode="display"] {
   43:   display: block;
   44:   margin-top: 0.75ex;
   45:   padding-top: 0.75ex;
   46:   margin-bottom: 0.75ex;
   47:   padding-bottom: 0.75ex;
   48:   margin-left: 25%;
   49:   margin-right: 25%;
   50:   text-align: center;
   51:   font-family: Symbol, Times;
   52:   font-style: normal;
   53:   border: none;
   54:   background-color: #F0F4FF;
   55: /*   font-weight: bold; */
   56: /*   font-size: 12pt; */
   57: }
   58: 
   59: /* math[mode="display"] * {background-color: #EEEEFF} */
   60: 
   61: 
   62: math[mode="display"] > mtable {
   63:   text-color: blue;
   64: }
   65: 
   66: *[fontstyle="normal"] {
   67:   font-style: normal;
   68: }
   69: 
   70: *[fontstyle="italic"] {
   71:   font-style: italic;
   72: }
   73: 
   74: *[fontweight="normal"] {
   75:   font-weight: normal;
   76: }
   77: 
   78: *[fontweight="bold"] {
   79:   font-weight: bold;
   80: }
   81: 
   82: /*
   83: mmultiscripts {
   84:    background-color: yellow;
   85: }
   86: */
   87: 
   88: mtext {
   89:    color: purple;
   90:  /*  border: 1px solid purple; */
   91: }
   92: 
   93: /*
   94: mstyle {
   95:    background-color: yellow;
   96:    border: 1px solid black;
   97: }
   98: */
   99: 
  100: ms {
  101:    color: blue;
  102: }
  103: 
  104: ms:before {
  105:   content: open-quote;
  106: }
  107: 
  108: ms:after {
  109:   content: close-quote;
  110: }
  111: 
  112: /*
  113: mspace {
  114: }
  115: */
  116: 
  117: /*
  118: msqrt {
  119:   border: 1px solid red;
  120: }
  121: */
  122: 
  123: mrow {
  124: /*  border: 1px solid black; */
  125: /*  font-style: italic; */
  126: }
  127: 
  128: /*
  129: mphantom {
  130: }
  131: */
  132: 
  133: mfrac {
  134: /*  background-color: blue; */
  135: /*  font-size: smaller */
  136: /*  border: 1px solid black; */
  137: }
  138: 
  139: msub, msup {
  140: /*  background-color: yellow; */
  141: /*  border: 1px solid black; */
  142:   font-size: smaller; 
  143: }
  144: 
  145: 
  146: mn {
  147: /*  border: 1px solid black; */
  148: }
  149: 
  150: 
  151: mi {
  152:   color: red;
  153: /*  font-style: normal; */
  154: /*  border: 1px solid blue; */
  155: /*  background-color: yellow; */
  156: }
  157: 
  158: 
  159: mo {
  160: /*  font-style: normal; */
  161: /*  border: 1px solid black; */
  162: /*  background-color: blue; */
  163: }
  164: 
  165: 
  166: /*
  167: munder, mover, munderover {
  168:   background-color: yellow;
  169:   border: 1px solid black;
  170: }
  171: */
  172: 
  173: merror {
  174:   display: block;
  175:   font-family: sans-serif;
  176:   font-weight: bold;
  177:   white-space: pre;
  178:   margin: 1em;
  179:   padding: 1em;
  180:   border-width: thin;
  181:   border-style: inset;
  182:   border-color: red;
  183:   font-size: 14pt;
  184:   background-color: lightyellow;
  185: }
  186: 
  187: 
  188: mtable {
  189: /*  display: inline-table; */
  190:   display: table;
  191: /* border-style: outset; */
  192: /*  border-color: #c0c0c0; */
  193:   border-spacing: 0; 
  194:   margin-top: 0;
  195:   margin-bottom: 0;
  196:   background: transparent;
  197: }
  198: 
  199: /* must never set padding in td, th */
  200: mtd {
  201:   vertical-align: inherit;  
  202:   background-color: inherit;
  203:   text-align: center;
  204: /* border-style: inset; */
  205: /*  border-color: #c0c0c0; */
  206:   display: table-cell;
  207: }
  208: 
  209: mtr {
  210:   display: table-row;
  211:   vertical-align: middle;
  212:   background-color: inherit;
  213: }
  214: 
  215: mi {
  216:   font-style: italic;
  217: }
  218: 
  219: mstyle[fontstyle="normal"] mi {
  220:   font-style: normal;
  221: }
  222: 
  223: :-moz-math-font-style-normal {
  224:   font-style: normal;
  225: }
  226: 
  227: /*
  228: :-moz-math-font-style-italic {
  229:   font-style: italic;
  230: }
  231: */
  232: 
  233: :-moz-math-font-size-smaller {
  234:   font-size: smaller;
  235: }
  236: 
  237: :-moz-math-font-size-larger {
  238:   font-size: larger;
  239: }

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