Import: Handle uploads with sha1 starting with 0 properly
[mediawiki.git] / resources / src / mediawiki.special / mediawiki.special.search.css
blob1ce95693c23bbc954f5da820ecd17ab1804ed22f
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 {
18 margin: 1em 0 1em .4em;
20 /* needs extra specificity to override `.mw-body p` selector */
21 .mw-body p.mw-search-nonefound {
22 margin: 0;
24 .mw-search-interwiki-header {
25 font-weight: bold;
27 .mw-search-nonefound + .mw-search-interwiki-header {
28 margin-top: 0;
30 div.searchresult {
31 font-size: 95%;
32 width: 38em;
34 .mw-search-results {
35 margin-left: 0;
36 float: left;
38 .mw-search-results li {
39 padding-bottom: 1.2em;
40 list-style: none;
41 list-style-image: none;
43 .mw-search-results li a {
44 font-size: 108%;
46 .mw-search-result-data {
47 color: green;
48 font-size: 97%;
50 .mw-search-profile-tabs {
51 background-color: #f3f3f3;
52 margin-top: 1em;
53 border: 1px solid silver;
55 .mw-search-profile-tabs div.search-types {
56 float: left;
57 padding-left: 0.25em;
59 .mw-search-profile-tabs div.search-types ul {
60 margin: 0;
61 padding: 0;
62 list-style: none;
64 .mw-search-profile-tabs div.search-types ul li {
65 float: left;
66 margin: 0;
67 padding: 0;
69 .mw-search-profile-tabs div.search-types ul li a {
70 display: block;
71 padding: 0.5em;
73 .mw-search-profile-tabs div.search-types ul li.current a {
74 color: #333333;
75 cursor: default;
77 .mw-search-profile-tabs div.search-types ul li.current a:hover {
78 text-decoration: none;
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%;
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;
96 fieldset#mw-searchoptions legend {
97 display: none;
99 fieldset#mw-searchoptions h4 {
100 padding: 0;
101 margin: 0;
102 float: left;
104 fieldset#mw-searchoptions div#mw-search-togglebox {
105 float: right;
107 fieldset#mw-searchoptions div#mw-search-togglebox label {
108 margin-right: 0.25em;
110 fieldset#mw-searchoptions div#mw-search-togglebox input {
111 margin-left: 0.25em;
113 fieldset#mw-searchoptions table {
114 float: left;
115 margin-right: 3em;
116 border-collapse: collapse;
118 fieldset#mw-searchoptions table td {
119 padding: 0 1em 0 0;
120 white-space: nowrap;
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;
128 td#mw-search-menu {
129 padding-left:6em;
130 font-size:85%;
132 div#mw-search-interwiki {
133 float: right;
134 width: 18em;
135 border: 1px solid #AAAAAA;
136 margin-top: 2ex;
138 div#mw-search-interwiki li {
139 font-size: 95%;
141 .mw-search-interwiki-more {
142 float: right;
143 font-size: 90%;
145 div#mw-search-interwiki-caption {
146 text-align: center;
147 font-weight: bold;
148 font-size: 95%;
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;
157 span.searchalttitle {
158 font-size: 95%;
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;
166 div.searchdidyoumean em {
167 font-weight: bold;
169 .searchmatch {
170 font-weight: bold;
172 /* Advanced PowerSearch box */
173 td#mw-search-togglebox {
174 text-align: right;
176 table#mw-search-powertable {
177 width: 100%;
179 form#powersearch {
180 clear: both;