Implement extension registration from an extension.json file
[mediawiki.git] / resources / src / mediawiki / mediawiki.content.json.css
blob4afccda3b5c90ef9e1c8b50ded87e7eeb15372b8
1 /*!
2 * CSS for styling HTML-formatted JSON Schema objects
4 * @file
5 * @author Munaf Assaf <massaf@wikimedia.org>
6 */
8 .mw-json {
9 border-collapse: collapse;
10 border-spacing: 0;
11 font-style: normal;
14 .mw-json th,
15 .mw-json td {
16 border: 1px solid gray;
17 font-size: 16px;
18 padding: 0.5em 1em;
21 .mw-json .value {
22 background-color: #dcfae3;
23 font-family: monospace, monospace;
24 white-space: pre-wrap;
27 .mw-json-empty {
28 background-color: #fff;
29 font-style: italic;
32 .mw-json tr {
33 margin-bottom: 0.5em;
34 background-color: #eee;
37 .mw-json th {
38 background-color: #fff;
39 font-weight: normal;
42 .mw-json caption {
43 /* For stylistic reasons, suppress the caption of the outermost table */
44 display: none;
47 .mw-json table caption {
48 color: gray;
49 display: inline-block;
50 font-size: 10px;
51 font-style: italic;
52 margin-bottom: 0.5em;
53 text-align: left;