move CSS to CSS file, adjust date formatting