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
#c8ccd1;
32 background-color: #f8f9fa;
36 li
.gallerybox div
.thumb img
{
45 word-wrap: break-word
;
52 .galleryfilename-truncate {
55 text-overflow: ellipsis
;
58 /* new gallery stuff */
59 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
60 background-color: transparent
;
64 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
68 /* height constrained gallery */
70 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
71 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
72 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
73 background-color: transparent
;
77 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
78 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
79 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
83 ul
.mw-gallery-packed-hover li
.gallerybox
,
84 ul
.mw-gallery-packed-overlay li
.gallerybox
{
88 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
93 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
94 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
95 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
98 background: rgba
(255, 255, 255, 0.8);
101 left: 0; /* Needed for IE */
106 margin: 2px; /* correspond to style on div.thumb */
109 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper p
,
110 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper p
,
111 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper p
{
112 text-overflow: ellipsis
;
117 ul
.mw-gallery-packed-hover li
.gallerybox div
.gallerytextwrapper:hover
,
118 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper:hover
,
119 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper:hover
{
124 ul
.mw-gallery-packed-hover li
.gallerybox div
.gallerytextwrapper:hover p
,
125 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper:hover p
,
126 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper:hover p
{
132 ul
.mw-gallery-packed-hover
,
133 ul
.mw-gallery-packed-overlay
,
134 ul
.mw-gallery-packed
{
139 ul
.gallery
.mw-gallery-slideshow
{
144 ul
.gallery
.mw-gallery-slideshow
.gallerycaption
{
149 ul
.gallery
.mw-gallery-slideshow
.gallerycarousel
.mw-gallery-slideshow-thumbnails-toggled
{
150 margin-bottom: 1.3em;
153 ul
.gallery
.mw-gallery-slideshow
.mw-gallery-slideshow-buttons
{
158 ul
.gallery
.mw-gallery-slideshow
.mw-gallery-slideshow-buttons
.oo-ui-buttonElement
{
162 .mw-gallery-slideshow li.gallerybox.slideshow-current {
166 .mw-gallery-slideshow .gallerybox > div {
170 ul
.mw-gallery-slideshow li
.gallerybox div
.thumb
{
172 background: transparent
;
175 ul
.mw-gallery-slideshow li
.gallerycarousel
{
180 .mw-gallery-slideshow-img-container a {