Yes, you can directly edit your current theme’s style, but we don’t recommend it since your code will disappear after an update. Instead, add custom CSS to a child theme’s style.css file, theme customizer’s Additional CSS field, or a plugin like WPCode.