Theming mini panel using MYTHEME_preprocess_panels_pane
You can get at the content on a mini panel using hook_panels_pane_content_alter.

It needs to be called in a custom module (see https://www.drupal.org/developing/modules/7)