Shoulders and knees must be covered. Even in summer. Even for men. The Sistine Chapel turns away tourists in shorts.
Carry a scarf or light shirt. Many vendors near the entrance sell cheap shawls if you're caught out.
The Vatican has a no-photos rule in the Sistine Chapel. Guards enforce strictly. Take in the ceiling with your eyes, not your phone.