No afaik this is not possible because every renderer instance (of which the OSM website is only one) can use different fonts and sizes. The font size of cities and level on which they appear is dependent on the place= and population= tag.