Theming Site off-line page
Yes, there are 2 templates files that handle this in your theme:


maintenance-page.tpl.php: The theming template used for when your site is in maintenance mode.
maintenance-page--offline.tpl.php: The theming template used for when your site doesn't have database connectivity. 


Read Theming the Drupal maintenance page on d.o for more information.