Fix css rules and links