Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
FO-nTTaX committed Sep 6, 2016
1 parent a0a4c7b commit 92828e9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions base.less
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,6 @@ h3 .mw-editsection {
}

/* enables additional gallery modes */

ul.mw-gallery-packed li.gallerybox div.thumb,
ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
ul.mw-gallery-packed-hover li.gallerybox div.thumb {
Expand All @@ -834,17 +833,14 @@ ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
margin:0 auto;
}

ul.mw-gallery-packed-hover li.gallerybox,
ul.mw-gallery-packed-overlay li.gallerybox {
position:relative;
}

ul.mw-gallery-packed-hover div.gallerytextwrapper {
overflow:hidden;
height:0;
}

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 {
Expand All @@ -861,19 +857,16 @@ ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapp
margin:2px; /* correspond to style on div.thumb */
width:100% !important;
}

ul.mw-gallery-packed-hover,
ul.mw-gallery-packed-overlay,
ul.mw-gallery-packed {
text-align:center;
}

ul.mw-gallery-packed-hover div.gallerytext,
ul.mw-gallery-packed-overlay div.gallerytext {
opacity:1;
position:relative; /* Resets opacity in old IE */
}

li.gallerybox {
max-width:100%;
}
Expand Down

0 comments on commit 92828e9

Please sign in to comment.