Merge "Don't silently fail if API result fails to encode"
[lhc/web/wiklou.git] / resources / src / mediawiki.special.search.styles.css
1 /* Special:Search */
2
3 /*
4 * Fixes sister projects box moving down the extract
5 * of the first result (T18886).
6 * It only happens when the window is small and
7 * This changes slightly the layout for big screens
8 * where there was space for the extracts and the
9 * sister projects and thus it showed like in any
10 * other browser.
11 *
12 * This will only affect IE 7 and lower
13 */
14 .searchresult {
15 display: inline !ie;
16 }
17
18 .searchresults {
19 margin: 1em 0 1em 0.4em;
20 }
21
22 /* needs extra specificity to override `.mw-body p` selector */
23 .mw-body .mw-search-nonefound {
24 margin: 0;
25 }
26
27 .searchdidyoumean em,
28 .searchmatch {
29 font-weight: bold;
30 }
31
32 .mw-search-results {
33 margin: 0;
34 max-width: 38em;
35 }
36
37 .mw-search-visualclear {
38 clear: both;
39 }
40
41 .mw-search-results li {
42 padding-bottom: 1.2em;
43 list-style: none;
44 list-style-image: none;
45 }
46
47 .mw-search-results li a {
48 font-size: 108%;
49 }
50
51 .mw-search-result-data {
52 color: #008000;
53 font-size: 97%;
54 }
55
56 .mw-search-profile-tabs {
57 background-color: #f8f9fa;
58 margin-top: 1em;
59 border: 1px solid #c8ccd1;
60 border-radius: 2px;
61 }
62
63 .search-types {
64 float: left;
65 padding-left: 0.25em;
66 }
67
68 .search-types ul {
69 margin: 0;
70 padding: 0;
71 list-style: none;
72 }
73
74 .search-types li {
75 float: left;
76 margin: 0;
77 padding: 0;
78 }
79
80 .search-types a {
81 display: block;
82 padding: 0.5em;
83 }
84
85 .search-types .current a {
86 color: #222;
87 cursor: default;
88 }
89
90 .search-types .current a:hover {
91 text-decoration: none;
92 }
93
94 .results-info {
95 float: right;
96 padding: 0.5em;
97 padding-right: 0.75em;
98 color: #54595d;
99 font-size: 95%;
100 }
101
102 #mw-search-top-table div.oo-ui-actionFieldLayout {
103 float: left;
104 width: 100%;
105 }
106
107 /* Advanced options menu */
108 /* ===================== */
109
110 #mw-searchoptions {
111 /* Support: Firefox, needs `clear: both` on `fieldset` when zoom level > 100%, see T176499 */
112 clear: both;
113 padding: 0.5em 0.75em 0.75em 0.75em;
114 background-color: #f8f9fa;
115 margin: -1px 0 0;
116 border: 1px solid #c8ccd1;
117 border-radius: 0 0 2px 2px;
118 }
119
120 #mw-searchoptions legend {
121 display: none;
122 }
123
124 #mw-searchoptions h4 {
125 padding: 0;
126 margin: 0;
127 float: left;
128 }
129
130 #mw-searchoptions table {
131 float: left;
132 margin-right: 3em;
133 border-collapse: collapse;
134 }
135
136 #mw-searchoptions table td {
137 padding: 0 1em 0 0;
138 white-space: nowrap;
139 }
140
141 #mw-searchoptions .divider {
142 clear: both;
143 border-bottom: 1px solid #eaecf0;
144 padding-top: 0.5em;
145 margin-bottom: 0.5em;
146 }
147
148 #mw-search-menu {
149 padding-left: 6em;
150 font-size: 85%;
151 }
152
153 #mw-search-interwiki {
154 float: right;
155 width: 18em;
156 border: 1px solid #a2a9b1;
157 margin-top: 2ex;
158 }
159
160 .searchalttitle,
161 #mw-search-interwiki li {
162 font-size: 95%;
163 }
164
165 .mw-search-interwiki-more {
166 float: right;
167 font-size: 90%;
168 }
169
170 #mw-search-interwiki-caption {
171 text-align: center;
172 font-weight: bold;
173 font-size: 95%;
174 }
175
176 .mw-search-interwiki-project {
177 font-size: 97%;
178 text-align: left;
179 padding: 0.15em 0.15em 0.2em 0.2em;
180 background-color: #eaecf0;
181 border-top: 1px solid #c8ccd1;
182 }
183
184 .searchdidyoumean {
185 font-size: 127%;
186 margin-top: 0.8em;
187 /* Note that this color won't affect the link, as desired. */
188 color: #d33;
189 }