Debian Codegraph @

resources/src/mediawiki.apipretty/apihelp.css

raw symbols SCIP
1 /* stylelint-disable selector-class-pattern */
2
3 .apihelp-header {
4 margin-bottom: 0.1em;
5 }
6
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.
13 */
14 text-align: left;
15 }
16
17 div.apihelp-linktrail {
18 font-size: smaller;
19 }
20
21 .apihelp-block {
22 margin-top: 0.5em;
23 }
24
25 .apihelp-block-head {
26 font-weight: bold;
27 }
28
29 .apihelp-flags {
30 font-size: smaller;
31 border: 1px solid #000;
32 padding: 0.25em;
33 }
34
35 .apihelp-deprecated,
36 .apihelp-internal,
37 .apihelp-flag-deprecated,
38 .apihelp-flag-internal strong {
39 font-weight: bold;
40 color: #d73333;
41 }
42
43 .apihelp-deprecated-value {
44 text-decoration: line-through;
45 }
46
47 .apihelp-unknown {
48 color: #72777d;
49 }
50
51 .apihelp-empty {
52 color: #72777d;
53 }
54
55 .apihelp-help-urls ul {
56 list-style: none;
57 margin-left: 0;
58 }
59
60 .apihelp-parameters dt {
61 white-space: nowrap;
62 line-height: 1.5em;
63 }
64
65 .apihelp-parameters dt::after {
66 content: ':\A0';
67 }
68
69 .apihelp-parameters dd {
70 line-height: 1.5em;
71 }
72
73 .apihelp-parameters dd p:first-child {
74 margin-top: 0;
75 }
76
77 .apihelp-examples dt {
78 font-weight: normal;
79 margin-top: 1em;
80 }
81
82 .api-main-links {
83 text-align: center;
84 }
85
86 .api-main-links ul::before {
87 content: '[';
88 }
89
90 .api-main-links ul::after {
91 content: ']';
92 }
93
94 @media ( min-width: 720px ) {
95 .apihelp-flags {
96 float: right;
97 width: 20em;
98 }
99
100 .apihelp-parameters dl,
101 .apihelp-examples dl,
102 .apihelp-permissions dl {
103 margin-left: 2em;
104 }
105
106 .apihelp-parameters dt {
107 float: left;
108 clear: left;
109 min-width: 10em;
110 }
111
112 .apihelp-parameters dd {
113 margin: 0 0 0.5em 10em;
114 }
115
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;
125 }
126 }