What controls the melting point, etc. of an element?

What controls the physical properties such as density, color, melting point, conductivity, etc. of an element (beyond number of protons)?

Thanks,
Rob

It’s considered most related to the electron structure of the element. Elements with similiar outer shells of electrons will have similar properties.