Put interwiki search results after local results
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.search.styles.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-interwiki-header {
39 clear: both;
40 }
41 .mw-search-results li {
42 padding-bottom: 1.2em;
43 list-style: none;
44 list-style-image: none;
45 }
46 .mw-search-results li a {
47 font-size: 108%;
48 }
49 .mw-search-result-data {
50 color: #008000;
51 font-size: 97%;
52 }
53 .mw-search-profile-tabs {
54 background-color: #f3f3f3;
55 margin-top: 1em;
56 border: 1px solid #c0c0c0;
57 }
58 .mw-search-profile-tabs div.search-types {
59 float: left;
60 padding-left: 0.25em;
61 }
62 .mw-search-profile-tabs div.search-types ul {
63 margin: 0;
64 padding: 0;
65 list-style: none;
66 }
67 .mw-search-profile-tabs div.search-types ul li {
68 float: left;
69 margin: 0;
70 padding: 0;
71 }
72 .mw-search-profile-tabs div.search-types ul li a {
73 display: block;
74 padding: 0.5em;
75 }
76 .mw-search-profile-tabs div.search-types ul li.current a {
77 color: #333;
78 cursor: default;
79 }
80 .mw-search-profile-tabs div.search-types ul li.current a:hover {
81 text-decoration: none;
82 }
83 #mw-search-top-table div.results-info {
84 float: right;
85 padding: 0.5em;
86 padding-right: 0.75em;
87 color: #666;
88 font-size: 95%;
89 }
90 #mw-search-top-table div.oo-ui-actionFieldLayout {
91 float: left;
92 }
93 fieldset#mw-searchoptions {
94 margin: 0;
95 padding: 0.5em 0.75em 0.75em 0.75em;
96 border: none;
97 background-color: #f9f9f9;
98 border: 1px solid #c0c0c0;
99 border-top-width: 0;
100 }
101 fieldset#mw-searchoptions legend {
102 display: none;
103 }
104 fieldset#mw-searchoptions h4 {
105 padding: 0;
106 margin: 0;
107 float: left;
108 }
109 fieldset#mw-searchoptions table {
110 float: left;
111 margin-right: 3em;
112 border-collapse: collapse;
113 }
114 fieldset#mw-searchoptions table td {
115 padding: 0 1em 0 0;
116 white-space: nowrap;
117 }
118 fieldset#mw-searchoptions div.divider {
119 clear: both;
120 border-bottom: 1px solid #ddd;
121 padding-top: 0.5em;
122 margin-bottom: 0.5em;
123 }
124 td#mw-search-menu {
125 padding-left: 6em;
126 font-size: 85%;
127 }
128 div#mw-search-interwiki {
129 float: right;
130 width: 18em;
131 border: 1px solid #aaa;
132 margin-top: 2ex;
133 }
134 div#mw-search-interwiki li {
135 font-size: 95%;
136 }
137 .mw-search-interwiki-more {
138 float: right;
139 font-size: 90%;
140 }
141 div#mw-search-interwiki-caption {
142 text-align: center;
143 font-weight: bold;
144 font-size: 95%;
145 }
146 .mw-search-interwiki-project {
147 font-size: 97%;
148 text-align: left;
149 padding: 0.15em 0.15em 0.2em 0.2em;
150 background-color: #ececec;
151 border-top: 1px solid #bbb;
152 }
153 span.searchalttitle {
154 font-size: 95%;
155 }
156 div.searchdidyoumean {
157 font-size: 127%;
158 margin-top: 0.8em;
159 /* Note that this color won't affect the link, as desired. */
160 color: #c00;
161 }
162 div.searchdidyoumean em {
163 font-weight: bold;
164 }
165 .searchmatch {
166 font-weight: bold;
167 }