stylesheet init implementation