Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / src / mediawiki.apipretty / apihelp.css
blobfdd23575c4398cbf9483663be87ddc0f91941d77
1 /* stylelint-disable selector-class-pattern */
3 .apihelp-header {
4 margin-bottom: 0.1em;
7 .apihelp-header.apihelp-module-name {
8 /*
9 * This element is explicitly set to dir="ltr" in HTML.
10 * Set explicit alignment so that CSSJanus will flip it to "right";
11 * otherwise the alignment will be automatically set to "left" according
12 * to the element's direction, and this will have an inconsistent look.
14 text-align: left;
17 div.apihelp-linktrail {
18 font-size: smaller;
21 .apihelp-block {
22 margin-top: 0.5em;
25 .apihelp-block-head {
26 font-weight: bold;
29 .apihelp-flags {
30 font-size: smaller;
31 border: 1px solid #000;
32 padding: 0.25em;
35 .apihelp-deprecated,
36 .apihelp-internal,
37 .apihelp-flag-deprecated,
38 .apihelp-flag-internal strong {
39 font-weight: bold;
40 color: #d73333;
43 .apihelp-deprecated-value {
44 text-decoration: line-through;
47 .apihelp-unknown {
48 color: #72777d;
51 .apihelp-empty {
52 color: #72777d;
55 .apihelp-help-urls ul {
56 list-style: none;
57 margin-left: 0;
60 .apihelp-parameters dt {
61 white-space: nowrap;
62 line-height: 1.5em;
65 .apihelp-parameters dt::after {
66 content: ':\A0';
69 .apihelp-parameters dd {
70 line-height: 1.5em;
73 .apihelp-parameters dd p:first-child {
74 margin-top: 0;
77 .apihelp-examples dt {
78 font-weight: normal;
79 margin-top: 1em;
82 .api-main-links {
83 text-align: center;
86 .api-main-links ul::before {
87 content: '[';
90 .api-main-links ul::after {
91 content: ']';
94 @media ( min-width: 720px ) {
95 .apihelp-flags {
96 float: right;
97 width: 20em;
100 .apihelp-parameters dl,
101 .apihelp-examples dl,
102 .apihelp-permissions dl {
103 margin-left: 2em;
106 .apihelp-parameters dt {
107 float: left;
108 clear: left;
109 min-width: 10em;
112 .apihelp-parameters dd {
113 margin: 0 0 0.5em 10em;
116 .apihelp-parameters dd.info {
117 /* Indent subsequent lines when description is wrapped */
118 /* Support: Chrome – In Firefox and Safari, we could just use `text-indent: 2em hanging;` */
119 /* https://developer.mozilla.org/en-US/docs/Web/CSS/text-indent#browser_compatibility */
120 padding-left: 2em;
121 text-indent: -2em;
122 /* Prevent floated param names from overlapping the text (T364270) */
123 /* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_display/Block_formatting_context */
124 overflow: auto;