blob: 9e20264fe8841bd07ca77c2b3fc8547c6742f30f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*!
* CSS for styling HTML-formatted JSON Schema objects
*
* @file
* @author Munaf Assaf <massaf@wikimedia.org>
*/
.mw-json {
border-collapse: collapse;
border-spacing: 0;
font-style: normal;
}
.mw-json th,
.mw-json td {
border: 1px solid gray;
font-size: 16px;
padding: 0.5em 1em;
}
.mw-json .value,
.mw-json-single-value {
background-color: #dcfae3;
font-family: monospace, monospace;
white-space: pre-wrap;
}
.mw-json-single-value {
background-color: #eee;
}
.mw-json-empty {
background-color: #fff;
font-style: italic;
}
.mw-json tr {
margin-bottom: 0.5em;
background-color: #eee;
}
.mw-json th {
background-color: #fff;
font-weight: normal;
}
.mw-json caption {
/* For stylistic reasons, suppress the caption of the outermost table */
display: none;
}
.mw-json table caption {
color: gray;
display: inline-block;
font-size: 10px;
font-style: italic;
margin-bottom: 0.5em;
text-align: left;
}
|