Refactored styling; initial block generation