first working draft of day/night styling
beautified code for day/night changes