Would it be possible to move the CSS part in the CSS file? If need be, do not hesitate to give a more specific css attribute to the corresponding figures.