ae3c01b877c889c0500d6edf719ec8b08df51bd4
[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 width: 100%;
93 }
94 fieldset#mw-searchoptions {
95 margin: 0;
96 padding: 0.5em 0.75em 0.75em 0.75em;
97 border: none;
98 background-color: #f9f9f9;
99 border: 1px solid #c0c0c0;
100 border-top-width: 0;
101 }
102 fieldset#mw-searchoptions legend {
103 display: none;
104 }
105 fieldset#mw-searchoptions h4 {
106 padding: 0;
107 margin: 0;
108 float: left;
109 }
110 fieldset#mw-searchoptions table {
111 float: left;
112 margin-right: 3em;
113 border-collapse: collapse;
114 }
115 fieldset#mw-searchoptions table td {
116 padding: 0 1em 0 0;
117 white-space: nowrap;
118 }
119 fieldset#mw-searchoptions div.divider {
120 clear: both;
121 border-bottom: 1px solid #ddd;
122 padding-top: 0.5em;
123 margin-bottom: 0.5em;
124 }
125 td#mw-search-menu {
126 padding-left: 6em;
127 font-size: 85%;
128 }
129 div#mw-search-interwiki {
130 float: right;
131 width: 18em;
132 border: 1px solid #aaa;
133 margin-top: 2ex;
134 }
135 div#mw-search-interwiki li {
136 font-size: 95%;
137 }
138 .mw-search-interwiki-more {
139 float: right;
140 font-size: 90%;
141 }
142 div#mw-search-interwiki-caption {
143 text-align: center;
144 font-weight: bold;
145 font-size: 95%;
146 }
147 .mw-search-interwiki-project {
148 font-size: 97%;
149 text-align: left;
150 padding: 0.15em 0.15em 0.2em 0.2em;
151 background-color: #ececec;
152 border-top: 1px solid #bbb;
153 }
154 span.searchalttitle {
155 font-size: 95%;
156 }
157 div.searchdidyoumean {
158 font-size: 127%;
159 margin-top: 0.8em;
160 /* Note that this color won't affect the link, as desired. */
161 color: #c00;
162 }
163 div.searchdidyoumean em {
164 font-weight: bold;
165 }
166 .searchmatch {
167 font-weight: bold;
168 }