Merge "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git] / resources / src / mediawiki / page / gallery.print.css
1 li.gallerybox {
2 vertical-align: top;
3 display: inline-block;
4 }
5
6 ul.gallery,
7 li.gallerybox {
8 zoom: 1;
9 *display: inline;
10 }
11
12 ul.gallery {
13 margin: 2px;
14 padding: 2px;
15 display: block;
16 }
17
18 li.gallerycaption {
19 font-weight: bold;
20 text-align: center;
21 display: block;
22 word-wrap: break-word;
23 }
24
25 li.gallerybox div.thumb {
26 background-color: #fff;
27 border: 1px solid #ccc;
28 }
29
30 div.gallerytext {
31 overflow: visible;
32 }
33
34 ul.mw-gallery-packed-hover div.gallerytextwrapper {
35 overflow: visible;
36 height: auto;
37 }
38
39 ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
40 ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
41 ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
42 position: static;
43 background: transparent;
44 padding: 0;
45 bottom: 0;
46 max-height: none;
47 overflow: visible;
48 font-weight: normal;
49 margin: 0; /* correspond to style on div.thumb */
50 }
51
52 ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper p,
53 ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper p,
54 ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper p {
55 text-overflow: clip;
56 white-space: normal;
57 overflow: visible;
58 }
59