User:Ruxax/wikia.css

div.thumb { border: solid 1px blue; }

.wikia-gallery-border-small .thumb .gallery-image-wrapper { border-width: 0; }