Implement extension registration from an extension.json file
[mediawiki.git] / resources / src / mediawiki.special / mediawiki.special.search.css
blob8f845dfa626282edb110ec6c0291147654153a92
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-profile-tabs {
44 background-color: #f3f3f3;
45 margin-top: 1em;
46 border: 1px solid silver;
48 .mw-search-profile-tabs div.search-types {
49 float: left;
50 padding-left: 0.25em;
52 .mw-search-profile-tabs div.search-types ul {
53 margin: 0 !important;
54 padding: 0 !important;
55 list-style: none !important;
57 .mw-search-profile-tabs div.search-types ul li {
58 float: left;
59 margin: 0;
60 padding: 0;
62 .mw-search-profile-tabs div.search-types ul li a {
63 display: block;
64 padding: 0.5em;
66 .mw-search-profile-tabs div.search-types ul li.current a {
67 color: #333333;
68 cursor: default;
70 .mw-search-profile-tabs 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;
109 border-collapse: collapse;
111 fieldset#mw-searchoptions table td {
112 padding: 0 1em 0 0;
113 white-space: nowrap;
115 fieldset#mw-searchoptions div.divider {
116 clear: both;
117 border-bottom: 1px solid #DDDDDD;
118 padding-top: 0.5em;
119 margin-bottom: 0.5em;
121 td#mw-search-menu {
122 padding-left:6em;
123 font-size:85%;
125 div#mw-search-interwiki {
126 float: right;
127 width: 18em;
128 border: 1px solid #AAAAAA;
129 margin-top: 2ex;
131 div#mw-search-interwiki li {
132 font-size: 95%;
134 .mw-search-interwiki-more {
135 float: right;
136 font-size: 90%;
138 div#mw-search-interwiki-caption {
139 text-align: center;
140 font-weight: bold;
141 font-size: 95%;
143 .mw-search-interwiki-project {
144 font-size: 97%;
145 text-align: left;
146 padding: 0.15em 0.15em 0.2em 0.2em;
147 background-color: #ececec;
148 border-top: 1px solid #BBBBBB;
150 span.searchalttitle {
151 font-size: 95%;
153 div.searchdidyoumean {
154 font-size: 127%;
155 margin-top: 0.8em;
156 /* Note that this color won't affect the link, as desired. */
157 color: #c00;
159 div.searchdidyoumean em {
160 font-weight: bold;
162 .searchmatch {
163 font-weight: bold;
165 /* Advanced PowerSearch box */
166 td#mw-search-togglebox {
167 text-align: right;
169 table#mw-search-powertable {
170 width: 100%;
172 form#powersearch {
173 clear: both;