Merge "Improve documentation of foreign-structured-upload-form-label-own-work-message...
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.search.css
1 /* Special:Search */
2
3 /*
4 * Fixes sister projects box moving down the extract
5 * of the first result (bug #16886).
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 .searchresults {
18 margin: 1em 0 1em .4em;
19 }
20 /* needs extra specificity to override `.mw-body p` selector */
21 .mw-body p.mw-search-nonefound {
22 margin: 0;
23 }
24 .mw-search-interwiki-header {
25 font-weight: bold;
26 }
27 .mw-search-nonefound + .mw-search-interwiki-header {
28 margin-top: 0;
29 }
30 div.searchresult {
31 font-size: 95%;
32 width: 38em;
33 }
34 .mw-search-results {
35 margin-left: 0;
36 float: left;
37 }
38 .mw-search-results li {
39 padding-bottom: 1.2em;
40 list-style: none;
41 list-style-image: none;
42 }
43 .mw-search-results li a {
44 font-size: 108%;
45 }
46 .mw-search-result-data {
47 color: green;
48 font-size: 97%;
49 }
50 .mw-search-profile-tabs {
51 background-color: #f3f3f3;
52 margin-top: 1em;
53 border: 1px solid silver;
54 }
55 .mw-search-profile-tabs div.search-types {
56 float: left;
57 padding-left: 0.25em;
58 }
59 .mw-search-profile-tabs div.search-types ul {
60 margin: 0;
61 padding: 0;
62 list-style: none;
63 }
64 .mw-search-profile-tabs div.search-types ul li {
65 float: left;
66 margin: 0;
67 padding: 0;
68 }
69 .mw-search-profile-tabs div.search-types ul li a {
70 display: block;
71 padding: 0.5em;
72 }
73 .mw-search-profile-tabs div.search-types ul li.current a {
74 color: #333333;
75 cursor: default;
76 }
77 .mw-search-profile-tabs div.search-types ul li.current a:hover {
78 text-decoration: none;
79 }
80 #mw-search-top-table div.results-info {
81 float: right;
82 padding: 0.5em;
83 padding-right: 0.75em;
84 color: #666;
85 font-size: 95%;
86 }
87
88 fieldset#mw-searchoptions {
89 margin: 0;
90 padding: 0.5em 0.75em 0.75em 0.75em;
91 border: none;
92 background-color: #f9f9f9;
93 border: 1px solid silver;
94 border-top-width: 0;
95 }
96 fieldset#mw-searchoptions legend {
97 display: none;
98 }
99 fieldset#mw-searchoptions h4 {
100 padding: 0;
101 margin: 0;
102 float: left;
103 }
104 fieldset#mw-searchoptions div#mw-search-togglebox {
105 float: right;
106 }
107 fieldset#mw-searchoptions div#mw-search-togglebox label {
108 margin-right: 0.25em;
109 }
110 fieldset#mw-searchoptions div#mw-search-togglebox input {
111 margin-left: 0.25em;
112 }
113 fieldset#mw-searchoptions table {
114 float: left;
115 margin-right: 3em;
116 border-collapse: collapse;
117 }
118 fieldset#mw-searchoptions table td {
119 padding: 0 1em 0 0;
120 white-space: nowrap;
121 }
122 fieldset#mw-searchoptions div.divider {
123 clear: both;
124 border-bottom: 1px solid #DDDDDD;
125 padding-top: 0.5em;
126 margin-bottom: 0.5em;
127 }
128 td#mw-search-menu {
129 padding-left:6em;
130 font-size:85%;
131 }
132 div#mw-search-interwiki {
133 float: right;
134 width: 18em;
135 border: 1px solid #AAAAAA;
136 margin-top: 2ex;
137 }
138 div#mw-search-interwiki li {
139 font-size: 95%;
140 }
141 .mw-search-interwiki-more {
142 float: right;
143 font-size: 90%;
144 }
145 div#mw-search-interwiki-caption {
146 text-align: center;
147 font-weight: bold;
148 font-size: 95%;
149 }
150 .mw-search-interwiki-project {
151 font-size: 97%;
152 text-align: left;
153 padding: 0.15em 0.15em 0.2em 0.2em;
154 background-color: #ececec;
155 border-top: 1px solid #BBBBBB;
156 }
157 span.searchalttitle {
158 font-size: 95%;
159 }
160 div.searchdidyoumean {
161 font-size: 127%;
162 margin-top: 0.8em;
163 /* Note that this color won't affect the link, as desired. */
164 color: #c00;
165 }
166 div.searchdidyoumean em {
167 font-weight: bold;
168 }
169 .searchmatch {
170 font-weight: bold;
171 }
172 /* Advanced PowerSearch box */
173 td#mw-search-togglebox {
174 text-align: right;
175 }
176 table#mw-search-powertable {
177 width: 100%;
178 }
179 form#powersearch {
180 clear: both;
181 }