rewrite of analyse.scss and monitor.scss, background optimised
rewrite of board.scss