|
| 1 | +@import url("v4-lab-colors.css"); |
| 2 | + |
| 3 | +/* Global Body Style */ |
| 4 | +body { |
| 5 | + background-color: var(--background-color); |
| 6 | + color: var(--text-color); |
| 7 | +} |
| 8 | + |
| 9 | +.MJX_LiveRegion_Show { |
| 10 | + font-size: 150%; |
| 11 | +/* box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.1), |
| 12 | + 0 0 .5px 1.5px hsla(230, 13%, 9%, 0.075), |
| 13 | + 5px 8px 10px hsla(230, 13%, 9%, 0.09) ! important;*/ |
| 14 | +} |
| 15 | +h1 { |
| 16 | + margin-left: 1.5em; |
| 17 | + margin-top: .25em; |
| 18 | +} |
| 19 | +body { |
| 20 | + min-height: 50em; |
| 21 | +} |
| 22 | +#layout { |
| 23 | + padding-left: .5em; |
| 24 | + display: table; |
| 25 | + width: 100%; |
| 26 | + box-sizing: border-box; |
| 27 | + min-height: 20em; |
| 28 | +} |
| 29 | +#layout > div { |
| 30 | + display: table-row; |
| 31 | +} |
| 32 | +#layout > div > div { |
| 33 | + display: table-cell; |
| 34 | + vertical-align: top; |
| 35 | +} |
| 36 | +#layout > div > div:last-child { |
| 37 | + width: 18.5em; |
| 38 | + max-width: 18.5em; |
| 39 | +} |
| 40 | + |
| 41 | +#main { |
| 42 | + display: inline-block; |
| 43 | +} |
| 44 | +#input { |
| 45 | + width: 100%; |
| 46 | + box-sizing: border-box; |
| 47 | + border: 2px solid var(--border-color); |
| 48 | + background-color: var(--box-background); |
| 49 | + color: var(--text-color); |
| 50 | + border-radius: 6px; |
| 51 | + padding: 2px 4px; |
| 52 | +} |
| 53 | +#buttons { |
| 54 | + text-align: right; |
| 55 | + margin-top: 3px; |
| 56 | + margin-bottom: 1em; |
| 57 | +} |
| 58 | +.output { |
| 59 | + border: 2px solid var(--border-color); |
| 60 | + background-color: var(--box-background); |
| 61 | + border-radius: 6px; |
| 62 | + padding: 10px; |
| 63 | + width: 100%; |
| 64 | + max-width: 45em; |
| 65 | + overflow: auto; |
| 66 | + box-sizing: border-box; |
| 67 | + font-size: 150%; |
| 68 | +} |
| 69 | +#mathml { |
| 70 | + margin-top: 1.1em; |
| 71 | + font-size: 90%; |
| 72 | + width: 0; |
| 73 | +} |
| 74 | + |
| 75 | +#controls { |
| 76 | + padding-left: 1em; |
| 77 | + font-size: 80%; |
| 78 | +} |
| 79 | +#controls > div, |
| 80 | +#controls details > div { |
| 81 | + margin-bottom: .5em; |
| 82 | + white-space: nowrap; |
| 83 | +} |
| 84 | +#controls details details { |
| 85 | + margin-left: 1em; |
| 86 | +} |
| 87 | +summary + * { |
| 88 | + margin-top: .5em; |
| 89 | +} |
| 90 | +#controls > hr { |
| 91 | + border: none; |
| 92 | + border-top: 2px dotted; |
| 93 | + margin: .7em 1em .7em 0; |
| 94 | +} |
| 95 | +#mml-package, |
| 96 | +#tex-package, |
| 97 | +#text-package { |
| 98 | + column-count: 2; |
| 99 | + white-space: normal ! important; |
| 100 | +} |
| 101 | +#mml-package > span > span, |
| 102 | +#tex-package > span > span, |
| 103 | +#text-package > span > span { |
| 104 | + display: inline-block; |
| 105 | + width: 9em; |
| 106 | + white-space: nowrap; |
| 107 | +} |
| 108 | +#mml-package label, |
| 109 | +#tex-package label, |
| 110 | +#text-package label { |
| 111 | + padding-left: 5px; |
| 112 | +} |
| 113 | + |
| 114 | +#output-details label:first-child, |
| 115 | +#texinput-details label:first-child { |
| 116 | + display: inline-block; |
| 117 | + min-width: 7em; |
| 118 | + text-align: right; |
| 119 | +} |
| 120 | + |
| 121 | +input[disabled] + label { |
| 122 | + color: var(--text-disabled); |
| 123 | +} |
0 commit comments