| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
|
| 3 |
/* Preserve line breaks, but wrap too if browser supports it */ |
| 4 |
/* stylelint-disable-next-line selector-max-id */ |
| 5 |
#mw-scribunto-output { |
| 6 |
white-space: pre; |
| 7 |
white-space: pre-wrap; |
| 8 |
} |
| 9 |
|
| 10 |
/* stylelint-disable-next-line selector-max-id */ |
| 11 |
#mw-scribunto-input { |
| 12 |
width: 100%; |
| 13 |
border: 1px solid @border-color-subtle; |
| 14 |
overflow: auto; |
| 15 |
background: @background-color-notice-subtle; |
| 16 |
} |
| 17 |
|
| 18 |
.mw-scribunto-input { |
| 19 |
color: @color-progressive--active; |
| 20 |
font: inherit; |
| 21 |
font-weight: bold; |
| 22 |
margin-top: 0.5em; |
| 23 |
} |
| 24 |
|
| 25 |
.mw-scribunto-normalOutput { |
| 26 |
color: @color-base; |
| 27 |
} |
| 28 |
|
| 29 |
.mw-scribunto-print { |
| 30 |
color: @color-content-removed; |
| 31 |
} |
| 32 |
|
| 33 |
.mw-scribunto-error { |
| 34 |
color: @color-error; |
| 35 |
} |
| 36 |
|
| 37 |
.mw-scribunto-message { |
| 38 |
color: @color-content-added; |
| 39 |
} |
| 40 |
|
| 41 |
.mw-scribunto-clear { |
| 42 |
color: @color-error; |
| 43 |
text-align: center; |
| 44 |
margin-top: 1em; |
| 45 |
border-bottom: 1px solid @color-error; |
| 46 |
} |