Merge "installer: Remove TODO per discussion in Ia9f0cd7d0117f67d2017e"
[lhc/web/wiklou.git] / resources / src / mediawiki.content.json.less
1 /*!
2 * CSS for styling HTML-formatted JSON Schema objects
3 *
4 * @file
5 * @author Munaf Assaf <massaf@wikimedia.org>
6 */
7
8 .mw-json {
9 border-collapse: collapse;
10 border-spacing: 0;
11 font-style: normal;
12 }
13
14 .mw-json th,
15 .mw-json td {
16 border: 1px solid #72777d;
17 font-size: 16px;
18 padding: 0.5em 1em;
19 }
20
21 /* stylelint-disable-next-line selector-class-pattern */
22 .mw-json .value,
23 .mw-json-single-value {
24 background-color: #dcfae3;
25 font-family: monospace, monospace;
26 white-space: pre-wrap;
27 }
28
29 .mw-json-single-value {
30 background-color: #eaecf0;
31 }
32
33 .mw-json-empty {
34 background-color: #fff;
35 font-style: italic;
36 }
37
38 .mw-json tr {
39 background-color: #eaecf0;
40 margin-bottom: 0.5em;
41 }
42
43 .mw-json th {
44 background-color: #fff;
45 font-weight: normal;
46 }
47
48 .mw-json caption {
49 /* For stylistic reasons, suppress the caption of the outermost table */
50 display: none;
51 }
52
53 .mw-json table caption {
54 color: #72777d;
55 display: inline-block;
56 font-size: 10px;
57 font-style: italic;
58 margin-bottom: 0.5em;
59 text-align: left;
60 }