The yellow and green background colors, the white font color, the font size and border information all come from the Screen media block. All other style information comes from the code outside of the media blocks. No information from the Print media block is used.

[HTML Output Using Both a Style Sheet with  Screen Media Type]