Converting font styling to CSS