Merge "Remove not used private member variable mParserWarnings from OutputPage"
[mediawiki.git] / resources / src / mediawiki / page / gallery.css
blob3c80bbbc6cd04d2a1302151195cfac624760de5d
1 /* Galleries */
2 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
3 /* Don't forget to update gallery-print.css */
4 li.gallerybox {
5 vertical-align: top;
6 display: -moz-inline-box;
7 display: inline-block;
10 ul.gallery,
11 li.gallerybox {
12 zoom: 1;
13 *display: inline;
16 ul.gallery {
17 margin: 2px;
18 padding: 2px;
19 display: block;
22 li.gallerycaption {
23 font-weight: bold;
24 text-align: center;
25 display: block;
26 word-wrap: break-word;
29 li.gallerybox div.thumb {
30 text-align: center;
31 border: 1px solid #ccc;
32 background-color: #f9f9f9;
33 margin: 2px;
36 li.gallerybox div.thumb img {
37 display: block;
38 margin: 0 auto;
41 div.gallerytext {
42 overflow: hidden;
43 font-size: 94%;
44 padding: 2px 4px;
45 word-wrap: break-word;
48 /* new gallery stuff */
49 ul.mw-gallery-nolines li.gallerybox div.thumb {
50 background-color: transparent;
51 border: none;
54 ul.mw-gallery-nolines li.gallerybox div.gallerytext {
55 text-align: center;
58 /* height constrained gallery */
60 ul.mw-gallery-packed li.gallerybox div.thumb,
61 ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
62 ul.mw-gallery-packed-hover li.gallerybox div.thumb {
63 background-color: transparent;
64 border: none;
67 ul.mw-gallery-packed li.gallerybox div.thumb img,
68 ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
69 ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
70 margin: 0 auto;
73 ul.mw-gallery-packed-hover li.gallerybox,
74 ul.mw-gallery-packed-overlay li.gallerybox {
75 position: relative;
78 ul.mw-gallery-packed-hover div.gallerytextwrapper {
79 overflow: hidden;
80 height: 0;
83 ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
84 ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
85 ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
86 position: absolute;
87 background: white;
88 background: rgba(255, 255, 255, 0.8);
89 padding: 5px 10px;
90 bottom: 0;
91 left: 0; /* Needed for IE */
92 height: auto;
93 font-weight: bold;
94 margin: 2px; /* correspond to style on div.thumb */
97 ul.mw-gallery-packed-hover,
98 ul.mw-gallery-packed-overlay,
99 ul.mw-gallery-packed {
100 text-align: center;