25ab2d0e7b24f6d9c65dd0a37207d5d089eeeb8d
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.apihelp.css
1 .apihelp-header {
2 clear: both;
3 margin-bottom: 0.1em;
4 }
5
6 .apihelp-header.apihelp-module-name {
7 /*
8 * This element is explicitly set to dir="ltr" in HTML.
9 * Set explicit alignment so that CSSJanus will flip it to "right";
10 * otherwise the alignment will be automatically set to "left" according
11 * to the element's direction, and this will have an inconsistent look.
12 */
13 text-align: left;
14 }
15
16 div.apihelp-linktrail {
17 font-size: smaller;
18 }
19
20 .apihelp-block {
21 margin-top: 0.5em;
22 }
23
24 .apihelp-block-head {
25 font-weight: bold;
26 }
27
28 .apihelp-flags {
29 font-size: smaller;
30 float: right;
31 border: 1px solid #000;
32 padding: 0.25em;
33 width: 20em;
34 }
35
36 .apihelp-deprecated, .apihelp-flag-deprecated,
37 .apihelp-flag-internal strong {
38 font-weight: bold;
39 color: #f00;
40 }
41
42 .apihelp-unknown {
43 color: #888;
44 }
45
46 .apihelp-empty {
47 color: #888;
48 }
49
50 .apihelp-help-urls ul {
51 list-style-image: none;
52 list-style-type: none;
53 margin-left: 0;
54 }
55
56 .apihelp-parameters dl,
57 .apihelp-examples dl,
58 .apihelp-permissions dl {
59 margin-left: 2em;
60 }
61
62 .apihelp-parameters dt {
63 float: left;
64 clear: left;
65 min-width: 10em;
66 white-space: nowrap;
67 line-height: 1.5em;
68 }
69
70 .apihelp-parameters dt:after {
71 content: ':\A0';
72 }
73
74 .apihelp-parameters dd {
75 margin: 0 0 0.5em 10em;
76 line-height: 1.5em;
77 }
78
79 .apihelp-parameters dd p:first-child {
80 margin-top: 0;
81 }
82
83 .apihelp-parameters dd.info {
84 margin-left: 12em;
85 text-indent: -2em;
86 }
87
88 .apihelp-examples dt {
89 font-weight: normal;
90 }
91
92 .api-main-links {
93 text-align: center;
94 }
95 .api-main-links ul:before {
96 content: '[';
97 }
98 .api-main-links ul:after {
99 content: ']';
100 }