calendar styling mod+expansion of minified code