algorithm (standard presentation for baccalaureate PART)
theorem and definition in gray box (change space below and above to 0pt
change enumerate items to defaults in beamer
geometry to scale fancy head and foot