MediaWiki:Category.css

.category-gallery { position: relative; width: 100%; margin: 6px auto; padding: 0 } .category-gallery br { position: relative; float: left; display: block; width: 100%; clear: both } .category-gallery hr { zoom: 1; display: block; position: relative; float: left; width: 100%; border-top: 1px solid a3a3a3; border-width: 1px 0 0 0; height: 1px } .category-gallery hr:after { clear: both; content: " "; display: block; height: 0; overflow: hidden; visibility: hidden } .category-gallery-item { list-style: none; position: relative; display: inline-block; width: 140px; margin: 10px; vertical-align: top } .category-gallery-item a, .category-gallery-item a:hover, .category-gallery-item a:visited { color: white; text-decoration: none; display: block } .category-gallery-item img { box-shadow: 0 0 25px 0 #999999; position: absolute; padding: 4px 6px 5px 5px; background-color: white } .category-gallery-item .snippet { box-shadow: 0 0 25px 0 #999999; position: absolute; padding: 4px 6px 5px 5px; width: 130px; height: 115px; overflow: hidden; background-color: white } .category-gallery-item .snippet .quote { font-style: normal; font-weight: bold; font-size: 40px; color: #3a3a3a; position: absolute; display: block; left: 7px; top: 17px; padding: 0 } .category-gallery-item .snippet .text { font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 13px; font-weight: bold; color: #3a3a3a; position: relative; display: block; margin: 0; padding: 0; padding-left: 24px; padding-top: 13px; line-height: 17px; height: 85px; overflow: hidden } .category-gallery-item span.details { background-color: #0a3073; border-bottom-right-radius: 9px; border-top-right-radius: 9px; color: white; display: inline-block; font-size: 13px; font-weight: normal; line-height: 16px; margin-top: 110px; max-height: 32px; max-width: 135px; overflow: hidden; padding: 3px 5px 3px; position: relative; } .category-gallery-item img, .category-gallery-item .snippet, x:-moz-any-link { border: 1px solid #999999 } .category-gallery-item img, .category-gallery-item .snippet, x:-moz-any-link, x:first-of-type { border: 0px solid } /* extensions/wikia/CategoryGalleries/css/CategoryGalleries.IE.scss */ .category-gallery-item img { border: 1px solid #999999 } .category-gallery-item .snippet { border: 1px solid #999999 }   display: inline; zoom: 1 }
 * first-child + html .category-gallery-item {