2 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
3 /* Don't forget to update gallery-print.css */
6 display: -moz-inline-box
;
26 word-wrap: break-word
;
29 li
.gallerybox div
.thumb
{
31 border: 1px solid
#ccc;
32 background-color: #f9f9f9;
36 li
.gallerybox div
.thumb img
{
45 word-wrap: break-word
;
48 /* new gallery stuff */
49 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
50 background-color: transparent
;
54 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
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
;
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
{
73 ul
.mw-gallery-packed-hover li
.gallerybox
,
74 ul
.mw-gallery-packed-overlay li
.gallerybox
{
78 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
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
{
88 background: rgba
(255, 255, 255, 0.8);
91 left: 0; /* Needed for IE */
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
{