summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki/page/gallery.print.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/resources/src/mediawiki/page/gallery.print.css')
-rw-r--r--www/wiki/resources/src/mediawiki/page/gallery.print.css59
1 files changed, 59 insertions, 0 deletions
diff --git a/www/wiki/resources/src/mediawiki/page/gallery.print.css b/www/wiki/resources/src/mediawiki/page/gallery.print.css
new file mode 100644
index 00000000..047c9336
--- /dev/null
+++ b/www/wiki/resources/src/mediawiki/page/gallery.print.css
@@ -0,0 +1,59 @@
+li.gallerybox {
+ vertical-align: top;
+ display: inline-block;
+}
+
+ul.gallery,
+li.gallerybox {
+ zoom: 1;
+ *display: inline;
+}
+
+ul.gallery {
+ margin: 2px;
+ padding: 2px;
+ display: block;
+}
+
+li.gallerycaption {
+ font-weight: bold;
+ text-align: center;
+ display: block;
+ word-wrap: break-word;
+}
+
+li.gallerybox div.thumb {
+ background-color: #fff;
+ border: 1px solid #ccc;
+}
+
+div.gallerytext {
+ overflow: visible;
+}
+
+ul.mw-gallery-packed-hover div.gallerytextwrapper {
+ overflow: visible;
+ height: auto;
+}
+
+ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
+ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
+ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
+ position: static;
+ background: transparent;
+ padding: 0;
+ bottom: 0;
+ max-height: none;
+ overflow: visible;
+ font-weight: normal;
+ margin: 0; /* correspond to style on div.thumb */
+}
+
+ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper p,
+ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper p,
+ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper p {
+ text-overflow: clip;
+ white-space: normal;
+ overflow: visible;
+}
+