PrefixSearch: Avoid notice when no subpage exists
[mediawiki.git] / resources / src / mediawiki.special / mediawiki.special.search.css
blobef9550779b80ac7a6388e8f6815e180cfae4589e
1 /* Special:Search */
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.
12 * This will only affect IE 7 and lower
14 .searchresult {
15 display: inline !ie;
17 .searchresults {
19 .searchresults p {
20 margin-left: 0.4em;
21 margin-top: 1em;
22 margin-bottom: 1.2em;
24 div.searchresult {
25 font-size: 95%;
26 width: 38em;
28 .mw-search-results {
29 margin-left: 0.4em;
31 .mw-search-results li {
32 padding-bottom: 1.2em;
33 list-style: none;
34 list-style-image: none;
36 .mw-search-results li a {
37 font-size: 108%;
39 .mw-search-result-data {
40 color: green;
41 font-size: 97%;
43 .mw-search-formheader {
44 background-color: #f3f3f3;
45 margin-top: 1em;
46 border: 1px solid silver;
48 .mw-search-formheader div.search-types {
49 float: left;
50 padding-left: 0.25em;
52 .mw-search-formheader div.search-types ul {
53 margin: 0 !important;
54 padding: 0 !important;
55 list-style: none !important;
57 .mw-search-formheader div.search-types ul li {
58 float: left;
59 margin: 0;
60 padding: 0;
62 .mw-search-formheader div.search-types ul li a {
63 display: block;
64 padding: 0.5em;
66 .mw-search-formheader div.search-types ul li.current a {
67 color: #333333;
68 cursor: default;
70 .mw-search-formheader div.search-types ul li.current a:hover {
71 text-decoration: none;
73 #mw-search-top-table div.results-info {
74 float: right;
75 padding: 0.5em;
76 padding-right: 0.75em;
77 color: #666;
78 font-size: 95%;
81 fieldset#mw-searchoptions {
82 margin: 0;
83 padding: 0.5em 0.75em 0.75em 0.75em !important;
84 border: none;
85 background-color: #f9f9f9;
86 border: 1px solid silver !important;
87 border-top-width: 0 !important;
89 fieldset#mw-searchoptions legend {
90 display: none;
92 fieldset#mw-searchoptions h4 {
93 padding: 0;
94 margin: 0;
95 float: left;
97 fieldset#mw-searchoptions div#mw-search-togglebox {
98 float: right;
100 fieldset#mw-searchoptions div#mw-search-togglebox label {
101 margin-right: 0.25em;
103 fieldset#mw-searchoptions div#mw-search-togglebox input {
104 margin-left: 0.25em;
106 fieldset#mw-searchoptions table {
107 float: left;
108 margin-right: 3em;
110 fieldset#mw-searchoptions table td {
111 padding-right: 1em;
112 white-space: nowrap;
114 fieldset#mw-searchoptions div.divider {
115 clear: both;
116 border-bottom: 1px solid #DDDDDD;
117 padding-top: 0.5em;
118 margin-bottom: 0.5em;
120 td#mw-search-menu {
121 padding-left:6em;
122 font-size:85%;
124 div#mw-search-interwiki {
125 float: right;
126 width: 18em;
127 border: 1px solid #AAAAAA;
128 margin-top: 2ex;
130 div#mw-search-interwiki li {
131 font-size: 95%;
133 .mw-search-interwiki-more {
134 float: right;
135 font-size: 90%;
137 div#mw-search-interwiki-caption {
138 text-align: center;
139 font-weight: bold;
140 font-size: 95%;
142 .mw-search-interwiki-project {
143 font-size: 97%;
144 text-align: left;
145 padding: 0.15em 0.15em 0.2em 0.2em;
146 background-color: #ececec;
147 border-top: 1px solid #BBBBBB;
149 span.searchalttitle {
150 font-size: 95%;
152 div.searchdidyoumean {
153 font-size: 127%;
154 margin-top: 0.8em;
155 /* Note that this color won't affect the link, as desired. */
156 color: #c00;
158 div.searchdidyoumean em {
159 font-weight: bold;
161 .searchmatch {
162 font-weight: bold;
164 /* Advanced PowerSearch box */
165 td#mw-search-togglebox {
166 text-align: right;
168 table#mw-search-powertable {
169 width: 100%;
171 form#powersearch {
172 clear: both;