Changes

@androsland It's better to move this into a functions.php file.  A function like hasCustomCSS() is more readable and easier changeable than chunks of this code here.