Bug 898701 - [Gallery] image in thumbnails display not correctly

1. px to rem
2. modify thumbnail background-size 
3. modify outline-offset