Custom CSS Recent Custom Post Widget – Centering Images

I would like to center the images using the custom css in the recent custom post widget, but I’m not sure how to write it. Right now, they align to the left, not very pretty. I’ve tried a few things, I’m not very good at writing custom css.

Thanks if you can help!