Removed white spaces in ruler and cleaned up CSS